[INFO] fetching crate libomt 0.1.5... [INFO] checking libomt-0.1.5 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate libomt 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate libomt 0.1.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libomt 0.1.5 [INFO] tweaked toml for crates.io crate libomt 0.1.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libomt 0.1.5 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 libomt 0.1.5 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-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] f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a [INFO] running `Command { std: "docker" "start" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a", 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" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a", 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" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling utf8-zero v0.8.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling ureq-proto v0.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling ureq v3.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling libomt v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(target_os = "macos")] [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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let vendor_dir = 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] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | } else if cfg!(target_os = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if cfg!(target_arch = "aarch64") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "aarch64"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let lib_name = 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] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | } else if cfg!(target_os = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if cfg!(target_os = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:102:55 [INFO] [stdout] | [INFO] [stdout] 102 | let (zip_prefix, lib_files): (&str, &[&str]) = 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] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | } else if cfg!(all(target_os = "windows", target_arch = "aarch64")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows" && std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "aarch64"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | } else if cfg!(target_os = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libomt` (build script) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a", kill_on_drop: false }` [INFO] [stdout] f83ea6861a624da7166797900c31914fc4c83a4dd782f003e686d3b21635de4a