[INFO] fetching crate ipopt-sys 0.6.0... [INFO] checking ipopt-sys-0.6.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate ipopt-sys 0.6.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ipopt-sys 0.6.0 [INFO] finished tweaking crates.io crate ipopt-sys 0.6.0 [INFO] tweaked toml for crates.io crate ipopt-sys 0.6.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ipopt-sys 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] 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 90 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.71.1 (available: v0.72.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528 [INFO] running `Command { std: "docker" "start" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528", 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" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528", 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" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528" "/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 regex-syntax v0.8.11 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Compiling curl-sys v0.4.89+curl-8.20.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling curl v0.4.50 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling jiff v0.2.28 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling filetime v0.2.29 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.46 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ipopt-sys v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[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:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[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:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(target_family = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[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:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[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:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(target_family = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(target_family = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | #[cfg(target_family = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | 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:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | 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:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | 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:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | 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:509:8 [INFO] [stdout] | [INFO] [stdout] 509 | 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:755:16 [INFO] [stdout] | [INFO] [stdout] 755 | 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:761:23 [INFO] [stdout] | [INFO] [stdout] 761 | } else if cfg!(target_os = "linux") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:801:8 [INFO] [stdout] | [INFO] [stdout] 801 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | 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:843:8 [INFO] [stdout] | [INFO] [stdout] 843 | if cfg!(target_os = "linux") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:1004:8 [INFO] [stdout] | [INFO] [stdout] 1004 | if cfg!(target_os = "linux") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:1034:15 [INFO] [stdout] | [INFO] [stdout] 1034 | } else 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 `ipopt-sys` (build script) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528", kill_on_drop: false }` [INFO] [stdout] 3d925deb31351b8a851a9d5eb1d374367537a78dde1abe8f87b6d420d0220528