[INFO] fetching crate alloc-no-stdlib 2.0.4... [INFO] testing alloc-no-stdlib-2.0.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate alloc-no-stdlib 2.0.4 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alloc-no-stdlib 2.0.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7975f4cf3287a9060c0d74481cddd1cdbf3657b70077e0da709a2c6fa6d8fd73 [INFO] running `Command { std: "docker" "start" "-a" "7975f4cf3287a9060c0d74481cddd1cdbf3657b70077e0da709a2c6fa6d8fd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7975f4cf3287a9060c0d74481cddd1cdbf3657b70077e0da709a2c6fa6d8fd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7975f4cf3287a9060c0d74481cddd1cdbf3657b70077e0da709a2c6fa6d8fd73", kill_on_drop: false }` [INFO] [stdout] 7975f4cf3287a9060c0d74481cddd1cdbf3657b70077e0da709a2c6fa6d8fd73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748964a0dbc378854933b63ef36a3c754aee3e5442ee5b6044c2d3fc13db32d8 [INFO] running `Command { std: "docker" "start" "-a" "748964a0dbc378854933b63ef36a3c754aee3e5442ee5b6044c2d3fc13db32d8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "748964a0dbc378854933b63ef36a3c754aee3e5442ee5b6044c2d3fc13db32d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748964a0dbc378854933b63ef36a3c754aee3e5442ee5b6044c2d3fc13db32d8", kill_on_drop: false }` [INFO] [stdout] 748964a0dbc378854933b63ef36a3c754aee3e5442ee5b6044c2d3fc13db32d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8752f5bf633f7e9bf7c420d8651bd1ead3802274f70ee705da63471d53104675 [INFO] running `Command { std: "docker" "start" "-a" "8752f5bf633f7e9bf7c420d8651bd1ead3802274f70ee705da63471d53104675", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling alloc-no-stdlib v2.0.4 (/opt/rustwide/workdir) [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] [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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] running `Command { std: "docker" "inspect" "8752f5bf633f7e9bf7c420d8651bd1ead3802274f70ee705da63471d53104675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8752f5bf633f7e9bf7c420d8651bd1ead3802274f70ee705da63471d53104675", kill_on_drop: false }` [INFO] [stdout] 8752f5bf633f7e9bf7c420d8651bd1ead3802274f70ee705da63471d53104675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37518eb60ce9362de821b0827c9aae57fb854d96b972b3f535d0bf5b51e443e2 [INFO] running `Command { std: "docker" "start" "-a" "37518eb60ce9362de821b0827c9aae57fb854d96b972b3f535d0bf5b51e443e2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `core::ops::IndexMut` [INFO] [stderr] --> src/allocated_memory/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use core::ops::IndexMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::ops::Index` [INFO] [stderr] --> src/allocated_memory/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use core::ops::Index; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::ops::Range` [INFO] [stderr] --> src/allocated_memory/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use core::ops::Range; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut [T]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forgetting_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 78 - core::mem::forget(core::mem::replace(&mut self.data, &mut[])); [INFO] [stderr] 78 + let _ = core::mem::replace(&mut self.data, &mut[]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `alloc-no-stdlib` (lib) generated 4 warnings (run `cargo fix --lib -p alloc-no-stdlib` to apply 3 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stderr] --> src/bin/tests.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(feature="stdlib")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `unsafe` [INFO] [stderr] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stderr] --> src/bin/tests.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `unsafe` [INFO] [stderr] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stderr] --> src/bin/tests.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(all(feature="unsafe", feature="stdlib"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `unsafe` [INFO] [stderr] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `stdlib` [INFO] [stderr] --> src/bin/tests.rs:50:7 [INFO] [stderr] | [INFO] [stderr] 50 | #[cfg(feature="stdlib")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `unsafe` [INFO] [stderr] = help: consider adding `stdlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/bin/example.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/bin/example.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: `alloc-no-stdlib` (bin "example" test) generated 6 warnings (run `cargo fix --bin "example" -p alloc-no-stdlib --tests` to apply 2 suggestions) [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> tests/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `alloc-no-stdlib` (bin "example") generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `alloc-no-stdlib` (test "lib") generated 1 warning (run `cargo fix --test "lib" -p alloc-no-stdlib` to apply 1 suggestion) [INFO] [stderr] warning: `alloc-no-stdlib` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/alloc_no_stdlib-22b8a38cd42c7859) [INFO] [stderr] Running unittests src/bin/example.rs (/opt/rustwide/target/debug/deps/example-1b889c18e8906055) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::heap_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-2b03c1d8611d7141) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test stack_pool_free_null ... ok [INFO] [stdout] test calloc_pool_test ... ok [INFO] [stdout] test global_pool_test ... ok [INFO] [stdout] test uninitialized_stack_pool_free_null ... ok [INFO] [stdout] test stack_pool_test ... ok [INFO] [stderr] Doc-tests alloc_no_stdlib [INFO] [stdout] test uninitialized_calloc_pool_test ... ok [INFO] [stdout] test uninitialized_global_pool_test ... ok [INFO] [stdout] test uninitialized_stack_pool_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37518eb60ce9362de821b0827c9aae57fb854d96b972b3f535d0bf5b51e443e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37518eb60ce9362de821b0827c9aae57fb854d96b972b3f535d0bf5b51e443e2", kill_on_drop: false }` [INFO] [stdout] 37518eb60ce9362de821b0827c9aae57fb854d96b972b3f535d0bf5b51e443e2