[INFO] fetching crate alloc-no-stdlib 2.0.4... [INFO] checking alloc-no-stdlib-2.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate alloc-no-stdlib 2.0.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate alloc-no-stdlib 2.0.4 [INFO] finished tweaking crates.io crate alloc-no-stdlib 2.0.4 [INFO] tweaked toml for crates.io crate alloc-no-stdlib 2.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alloc-no-stdlib 2.0.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate alloc-no-stdlib 2.0.4 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6ed3b3e5dd708ddb0b7bfe11caaf44e6a660285c4f9f05ac7699a8653e34934 [INFO] running `Command { std: "docker" "start" "-a" "d6ed3b3e5dd708ddb0b7bfe11caaf44e6a660285c4f9f05ac7699a8653e34934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ed3b3e5dd708ddb0b7bfe11caaf44e6a660285c4f9f05ac7699a8653e34934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ed3b3e5dd708ddb0b7bfe11caaf44e6a660285c4f9f05ac7699a8653e34934", kill_on_drop: false }` [INFO] [stdout] d6ed3b3e5dd708ddb0b7bfe11caaf44e6a660285c4f9f05ac7699a8653e34934 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d27f8ed9276fe343a92da7785e0717636d959e89282ecc38249bd7747020929 [INFO] running `Command { std: "docker" "start" "-a" "9d27f8ed9276fe343a92da7785e0717636d959e89282ecc38249bd7747020929", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::ops::IndexMut` [INFO] [stdout] --> src/allocated_memory/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::ops::IndexMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Index` [INFO] [stdout] --> src/allocated_memory/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use core::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/allocated_memory/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::IndexMut` [INFO] [stdout] --> src/allocated_memory/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::ops::IndexMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Index` [INFO] [stdout] --> src/allocated_memory/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use core::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/allocated_memory/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [T]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 78 - core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stdout] 78 + let _ = core::mem::replace(&mut self.data, &mut[]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut [T]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 78 - core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stdout] 78 + let _ = core::mem::replace(&mut self.data, &mut[]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature="stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature="stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bin/example.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bin/example.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature="stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stdout] --> src/bin/tests.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature="stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe` [INFO] [stdout] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bin/example.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bin/example.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> tests/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "9d27f8ed9276fe343a92da7785e0717636d959e89282ecc38249bd7747020929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d27f8ed9276fe343a92da7785e0717636d959e89282ecc38249bd7747020929", kill_on_drop: false }` [INFO] [stdout] 9d27f8ed9276fe343a92da7785e0717636d959e89282ecc38249bd7747020929