[INFO] fetching crate alloc-no-stdlib 2.0.4... [INFO] testing alloc-no-stdlib-2.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate alloc-no-stdlib 2.0.4 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alloc-no-stdlib 2.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c03006e63b9927256a0b02ed31663d779c15d51b138e9435302cca4444932a47 [INFO] running `Command { std: "docker" "start" "-a" "c03006e63b9927256a0b02ed31663d779c15d51b138e9435302cca4444932a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c03006e63b9927256a0b02ed31663d779c15d51b138e9435302cca4444932a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c03006e63b9927256a0b02ed31663d779c15d51b138e9435302cca4444932a47", kill_on_drop: false }` [INFO] [stdout] c03006e63b9927256a0b02ed31663d779c15d51b138e9435302cca4444932a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 434e203af7323ed145efb19fc89b6e1c98769901c35e600f5cceef6c4cbfc6bc [INFO] running `Command { std: "docker" "start" "-a" "434e203af7323ed145efb19fc89b6e1c98769901c35e600f5cceef6c4cbfc6bc", 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)]` 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.65s [INFO] running `Command { std: "docker" "inspect" "434e203af7323ed145efb19fc89b6e1c98769901c35e600f5cceef6c4cbfc6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434e203af7323ed145efb19fc89b6e1c98769901c35e600f5cceef6c4cbfc6bc", kill_on_drop: false }` [INFO] [stdout] 434e203af7323ed145efb19fc89b6e1c98769901c35e600f5cceef6c4cbfc6bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 193168af520cdb9f4aaa8988127959e4bb2c7066942c110fd9b605e5a9a0b32f [INFO] running `Command { std: "docker" "start" "-a" "193168af520cdb9f4aaa8988127959e4bb2c7066942c110fd9b605e5a9a0b32f", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 (/opt/rustwide/workdir) [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] [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: `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: 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.01s [INFO] running `Command { std: "docker" "inspect" "193168af520cdb9f4aaa8988127959e4bb2c7066942c110fd9b605e5a9a0b32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193168af520cdb9f4aaa8988127959e4bb2c7066942c110fd9b605e5a9a0b32f", kill_on_drop: false }` [INFO] [stdout] 193168af520cdb9f4aaa8988127959e4bb2c7066942c110fd9b605e5a9a0b32f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7697f9ebd9934ef2119675dfb4a65df901bfad99d9d5cb3981de5aaeee781a02 [INFO] running `Command { std: "docker" "start" "-a" "7697f9ebd9934ef2119675dfb4a65df901bfad99d9d5cb3981de5aaeee781a02", 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)]` 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: `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: 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` (test "lib") generated 1 warning (run `cargo fix --test "lib"` to apply 1 suggestion) [INFO] [stderr] warning: `alloc-no-stdlib` (bin "example" test) generated 6 warnings (run `cargo fix --bin "example" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `alloc-no-stdlib` (bin "example") generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `alloc-no-stdlib` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/alloc_no_stdlib-5b81f8219613d1e6) [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] [stderr] Running unittests src/bin/example.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/example-81ff5a9222304d48) [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/x86_64-unknown-linux-musl/debug/deps/lib-99f54c407e1080d6) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test global_pool_test ... ok [INFO] [stdout] test stack_pool_free_null ... ok [INFO] [stdout] test calloc_pool_test ... ok [INFO] [stdout] test stack_pool_test ... ok [INFO] [stdout] test uninitialized_stack_pool_free_null ... ok [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7697f9ebd9934ef2119675dfb4a65df901bfad99d9d5cb3981de5aaeee781a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7697f9ebd9934ef2119675dfb4a65df901bfad99d9d5cb3981de5aaeee781a02", kill_on_drop: false }` [INFO] [stdout] 7697f9ebd9934ef2119675dfb4a65df901bfad99d9d5cb3981de5aaeee781a02