[INFO] fetching crate libsodium-ffivj 0.2.3... [INFO] checking libsodium-ffivj-0.2.3 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate libsodium-ffivj 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate libsodium-ffivj 0.2.3 [INFO] finished tweaking crates.io crate libsodium-ffivj 0.2.3 [INFO] tweaked toml for crates.io crate libsodium-ffivj 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libsodium-ffivj 0.2.3 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] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.68.1 (available: v0.72.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding zip v0.6.6 (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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9 [INFO] running `Command { std: "docker" "start" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9", 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" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9", 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" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling curl v0.4.50 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling filetime v0.2.29 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling time v0.3.49 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling tar v0.4.46 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling curl-sys v0.4.89+curl-8.20.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling libsodium-ffivj v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(unix)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(misleading_cfg_in_build_script)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(target_env = "msvc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(target_env = "msvc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(not(windows))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(windows)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:238:7 [INFO] [stdout] | [INFO] [stdout] 238 | #[cfg(unix)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg(all(windows, target_env = "msvc"))] [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:373:11 [INFO] [stdout] | [INFO] [stdout] 373 | #[cfg(all(windows, not(target_env = "msvc")))] [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | #[cfg(unix)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if cfg!(unix) { [INFO] [stdout] | ^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_UNIX").is_ok()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | } else if cfg!(windows) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_WINDOWS").is_ok()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if cfg!(windows) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_WINDOWS").is_ok()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | if cfg!(target_os = "freebsd") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "freebsd"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libsodium-ffivj` (build script) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9", kill_on_drop: false }` [INFO] [stdout] 15cd0f3d89a103d800ac4f404365d115c8318f37600147a4dd624ae91db278f9