[INFO] fetching crate cosmian_kms_crypto 5.23.0... [INFO] checking cosmian_kms_crypto-5.23.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate cosmian_kms_crypto 5.23.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cosmian_kms_crypto 5.23.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cosmian_kms_crypto 5.23.0 [INFO] tweaked toml for crates.io crate cosmian_kms_crypto 5.23.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cosmian_kms_crypto 5.23.0 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] crate crates.io crate cosmian_kms_crypto 5.23.0 already has a lockfile, it will not be regenerated [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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975 [INFO] running `Command { std: "docker" "start" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975", 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" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975", 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" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975" "/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.178 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking inout v0.2.1 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking crypto-common v0.2.0-rc.5 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling cosmian_kms_crypto v5.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(target_os = "linux")] [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:416:22 [INFO] [stdout] | [INFO] [stdout] 416 | let mod_ext = if cfg!(target_os = "macos") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "macos"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmian_kms_crypto` (build script) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975", kill_on_drop: false }` [INFO] [stdout] 6e56f36d3b391c2bdde17cad88c8e57922d3d7fc09867e43a0c4c589a2f37975