[INFO] fetching crate infinikey 0.6.0... [INFO] checking infinikey-0.6.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate infinikey 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate infinikey 0.6.0 [INFO] finished tweaking crates.io crate infinikey 0.6.0 [INFO] tweaked toml for crates.io crate infinikey 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate infinikey 0.6.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 infinikey 0.6.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] 8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db [INFO] running `Command { std: "docker" "start" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db", 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" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db", 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" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking os_pipe v1.2.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking caps v0.5.6 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking udev v0.9.3 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Checking convert-base v1.1.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling infinikey v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [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:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(target_os = "linux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infinikey` (build script) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db", kill_on_drop: false }` [INFO] [stdout] 8f6a2f5abbda65bc2720d5e2a2cae3c347274d8e41c67bb82c542ee8ed0005db