Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not builds #11

Open
boshtannik opened this issue Aug 22, 2023 · 0 comments
Open

not builds #11

boshtannik opened this issue Aug 22, 2023 · 0 comments

Comments

@boshtannik
Copy link

jack@jack-debian:~/w/rust/hodl-ticker$ git clone [email protected]:kooparse/hodl-ticker.git^C
jack@jack-debian:~/w/rust/hodl-ticker$ cargo build --release
   Compiling libc v0.2.78
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.0
   Compiling cfg-if v0.1.10
   Compiling syn v1.0.42
   Compiling autocfg v0.1.7
   Compiling memchr v2.2.1
   Compiling lazy_static v1.4.0
   Compiling log v0.4.8
   Compiling itoa v0.4.4
   Compiling pkg-config v0.3.17
   Compiling quote v1.0.2
   Compiling cc v1.0.47
   Compiling fnv v1.0.6
   Compiling slab v0.4.2
   Compiling futures-core v0.3.5
   Compiling bytes v0.5.6
   Compiling version_check v0.1.5
   Compiling unicase v2.5.1
   Compiling net2 v0.2.33
   Compiling openssl-sys v0.9.52
   Compiling iovec v0.1.4
   Compiling serde v1.0.102
   Compiling bitflags v1.2.1
   Compiling pin-project-lite v0.1.10
   Compiling maybe-uninit v2.0.0
   Compiling pin-project-internal v0.4.25
   Compiling mio v0.6.22
   Compiling num_cpus v1.13.0
   Compiling byteorder v1.3.2
   Compiling tokio v0.2.22
   Compiling indexmap v1.3.0
   Compiling once_cell v1.4.1
   Compiling openssl v0.10.25
   Compiling foreign-types-shared v0.1.1
   Compiling foreign-types v0.3.2
   Compiling futures-task v0.3.5
   Compiling smallvec v0.6.13
   Compiling http v0.2.1
   Compiling tracing-core v0.1.17
   Compiling ryu v1.0.2
   Compiling native-tls v0.2.3
   Compiling futures-io v0.3.5
   Compiling httparse v1.3.4
   Compiling futures-sink v0.3.5
   Compiling serde_derive v1.0.102
   Compiling pin-utils v0.1.0
   Compiling matches v0.1.8
   Compiling unicode-bidi v0.3.4
   Compiling pin-project v0.4.25
   Compiling futures-util v0.3.5
   Compiling tokio-util v0.3.1
   Compiling tracing v0.1.21
   Compiling unicode-normalization v0.1.9
   Compiling try-lock v0.2.2
   Compiling openssl-probe v0.1.2
   Compiling want v0.3.0
   Compiling h2 v0.2.6
   Compiling idna v0.2.0
   Compiling mime_guess v2.0.1
   Compiling http-body v0.3.1
   Compiling regex-automata v0.1.8
   Compiling futures-channel v0.3.5
   Compiling socket2 v0.3.15
   Compiling httpdate v0.3.2
   Compiling tower-service v0.3.0
   Compiling unicode-width v0.1.6
   Compiling encoding_rs v0.8.20
   Compiling percent-encoding v2.1.0
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
   --> /home/jack/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.3.15/src/sockaddr.rs:176:9
    |
176 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: source type: `SocketAddrV4` (48 bits)
    = note: target type: `sockaddr_in` (128 bits)

For more information about this error, try `rustc --explain E0512`.
error: could not compile `socket2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

Have tried in stable and nighly rust, all the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant