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

can't find crate for zerofrom_derive` in some nightly, beta builds #6381

Open
theory opened this issue Mar 28, 2025 · 0 comments
Open

can't find crate for zerofrom_derive` in some nightly, beta builds #6381

theory opened this issue Mar 28, 2025 · 0 comments

Comments

@theory
Copy link

theory commented Mar 28, 2025

Not sure if this is a zerofrom issue or the toolchain on some platforms. Example on FreeBSD i686:

   Compiling zerofrom v0.1.5
error: failed to run custom build command for `serde v1.0.217`

Caused by:
  process didn't exit successfully: `/target/release/build/serde-df453a18952b4011/build-script-build` (exit status: 1)
  --- stderr
  /target/release/build/serde-df453a18952b4011/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /target/release/build/serde-df453a18952b4011/build-script-build)
  /target/release/build/serde-df453a18952b4011/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /target/release/build/serde-df453a18952b4011/build-script-build)
  /target/release/build/serde-df453a18952b4011/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /target/release/build/serde-df453a18952b4011/build-script-build)
  /target/release/build/serde-df453a18952b4011/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /target/release/build/serde-df453a18952b4011/build-script-build)
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `zerofrom_derive`
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerofrom-0.1.5/src/lib.rs:34:9
   |
34 | pub use zerofrom_derive::ZeroFrom;
   |         ^^^^^^^^^^^^^^^ can't find crate

error[E0432]: unresolved import `crate::ZeroFrom`
 --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerofrom-0.1.5/src/macro_impls.rs:9:5
  |
9 | use crate::ZeroFrom;
  |     ^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0432, E0463.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `zerofrom` (lib) due to 2 previous errors

Only happens on some targets, and only the beta toolchain, currently (though it was happening on nightly a couple days ago):

  • i686-unknown-freebsd
  • x86_64-unknown-freebsd
  • aarch64-unknown-linux-musl
  • arm-unknown-linux-musleabi
  • powerpc64-unknown-linux-gnu
  • powerpc64le-unknown-linux-gnu
  • riscv64gc-unknown-linux-gnu
  • s390x-unknown-linux-gnu
  • sparc64-unknown-linux-gnu
  • x86_64-unknown-netbsd
  • x86_64-unknown-illumos
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