[INFO] fetching crate exonum_libsodium-sys 0.0.24... [INFO] checking exonum_libsodium-sys-0.0.24 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate exonum_libsodium-sys 0.0.24 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate exonum_libsodium-sys 0.0.24 [INFO] finished tweaking crates.io crate exonum_libsodium-sys 0.0.24 [INFO] tweaked toml for crates.io crate exonum_libsodium-sys 0.0.24 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate exonum_libsodium-sys 0.0.24 on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding zip v0.5.13 (available: v8.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605 [INFO] running `Command { std: "docker" "start" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling filetime v0.2.29 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.46 [INFO] [stderr] Compiling exonum_libsodium-sys v0.0.24 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(windows))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(misleading_cfg_in_build_script)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | #[cfg(all(not(windows), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | #[cfg(all(not(windows), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | #[cfg(all(not(target_env = "msvc"), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | #[cfg(all(not(target_env = "msvc"), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:312:36 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg(all(target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:312:11 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg(all(target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:314:41 [INFO] [stdout] | [INFO] [stdout] 314 | #[cfg(all(not(target_env = "msvc"), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 314 | #[cfg(all(not(target_env = "msvc"), not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:316:36 [INFO] [stdout] | [INFO] [stdout] 316 | #[cfg(all(target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 316 | #[cfg(all(target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:319:11 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(not(feature = "use-installed-libsodium"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | #[cfg(all(windows, not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | #[cfg(all(windows, not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | #[cfg(all(windows, not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:344:11 [INFO] [stdout] | [INFO] [stdout] 344 | #[cfg(all(windows, not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:383:45 [INFO] [stdout] | [INFO] [stdout] 383 | #[cfg(all(windows, target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:383:11 [INFO] [stdout] | [INFO] [stdout] 383 | #[cfg(all(windows, target_env = "msvc", not(feature = "use-installed-libsodium")))] [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use-installed-libsodium` [INFO] [stdout] --> build.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | not(feature = "use-installed-libsodium") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `use-installed-libsodium` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 454 | not(target_env = "msvc"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exonum_libsodium-sys` (build script) due to 10 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605", kill_on_drop: false }` [INFO] [stdout] 8fb7c1688e25184fad1dadfa24874eb6ea07d80fdfd150df46650e02d4c39605