You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, that's weird. I am not familiar with nix, and I am wondering is there anything else from the cargo build log perhaps which would indicate whether network was used or something was tried to download.
The docs.rs build is a sandbox as well without outside access and there I am using the vendored feature flag. It would not pass the build there if it did try to download something somewhere. 🤔
i'm using
nix build
to build a crate and i get the below error:my Cargo.toml has this:
warning: Git tree '/home/snick/Current-Rice/5wall/fw-mono' is dirty
error: builder for '/nix/store/n2ky8201x5ydnr9w6lszp9hdi60m28ir-rust-workspace-deps-unknown.drv' failed with exit code 101;
last 25 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/bzirxdiiryc68lkvnf093zj4rjijry4d-dummy-src
> source root is dummy-src
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> [naersk] cargo_version (read): 1.82.0 (8f40fc59f 2024-08-21)
> [naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
> [naersk] cargo_release: --release
> [naersk] cargo_options:
> [naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
> [naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
> [naersk] RUST_TEST_THREADS: 32
> [naersk] cargo_bins_jq_filter: .
> [naersk] cargo_build_output_json (created): /build/tmp.sg9NsDNq8G
> [naersk] RUSTFLAGS:
> [naersk] CARGO_BUILD_RUSTFLAGS:
> [naersk] CARGO_BUILD_RUSTFLAGS (updated): --remap-path-prefix /nix/store/w6qdi5h51sjygf1fxs4mlp7f0gp6nvd2-crates-io-dependencies=/sources --remap-path-prefix /nix/store/wpqibkpp4pfkpgkw4phajmazal6yf1hi-git-dependencies=/sources
> Running phase: buildPhase
> cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
> error: no matching package named
utoipa-swagger-ui-vendored
found> location searched: registry
crates-io
> required by package
utoipa-swagger-ui v8.0.2
> ... which satisfies dependency
utoipa-swagger-ui = "^8.0.2"
(locked to 8.0.2) of packageapi v0.1.0 (/build/dummy-src/api)
> [naersk] cargo returned with exit code 101, exiting
For full logs, run 'nix log /nix/store/n2ky8201x5ydnr9w6lszp9hdi60m28ir-rust-workspace-deps-unknown.drv'.
error: 1 dependencies of derivation '/nix/store/vkcf07lm1zmiafk7lrmzhgw7pffn20g4-rust-workspace-unknown.drv' failed to build
The text was updated successfully, but these errors were encountered: