[INFO] fetching crate sharedlib 7.0.0...
[INFO] checking sharedlib-7.0.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] extracting crate sharedlib 7.0.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate sharedlib 7.0.0
[INFO] finished tweaking crates.io crate sharedlib 7.0.0
[INFO] tweaked toml for crates.io crate sharedlib 7.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sharedlib 7.0.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 5 packages to latest compatible versions
[INFO] [stderr]       Adding error-chain v0.9.0 (available: v0.12.4)
[INFO] [stderr]       Adding lazy_static v0.2.11 (available: v1.5.0)
[INFO] [stderr]       Adding winapi v0.2.8 (available: v0.3.9)
[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] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `sharedlib` (manifest) generated 1 warning
[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] a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b
[INFO] running `Command { std: "docker" "start" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b", 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" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b", 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" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `sharedlib` (manifest) generated 1 warning
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling sharedlib v7.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking error-chain v0.9.0
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]  --> build.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(any(target_os="linux",
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 |           target_os="android"))]
[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:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[cfg(any(target_os="freebsd",
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |           target_os="dragonfly"))]
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig`
[INFO] [stdout]   --> build.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |           target_os="bitrig",
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> build.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[cfg(any(target_os="openbsd",
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |           target_os="bitrig",
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |           target_os="netbsd",
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |           target_os="macos",
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |           target_os="ios"))]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> build.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[cfg(windows)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sharedlib` (build script) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b", kill_on_drop: false }`
[INFO] [stdout] a7196808966c0dea32cc743d1e959132f17ad8e1c2846f1bd9e830021b50639b
