[INFO] fetching crate alloc-no-stdlib 2.0.4...
[INFO] checking alloc-no-stdlib-2.0.4 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate alloc-no-stdlib 2.0.4 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate alloc-no-stdlib 2.0.4 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] 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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f3258c03bdc4e8cd0b487884c04aca9aaa8168ce9701292c48fab111b73fbf1
[INFO] running `Command { std: "docker" "start" "-a" "6f3258c03bdc4e8cd0b487884c04aca9aaa8168ce9701292c48fab111b73fbf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f3258c03bdc4e8cd0b487884c04aca9aaa8168ce9701292c48fab111b73fbf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f3258c03bdc4e8cd0b487884c04aca9aaa8168ce9701292c48fab111b73fbf1", kill_on_drop: false }`
[INFO] [stdout] 6f3258c03bdc4e8cd0b487884c04aca9aaa8168ce9701292c48fab111b73fbf1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea551f9f9d310aa790a9b63c3b8eb0c5ad7228a17eea52b1475c59d7cacf9f74
[INFO] running `Command { std: "docker" "start" "-a" "ea551f9f9d310aa790a9b63c3b8eb0c5ad7228a17eea52b1475c59d7cacf9f74", kill_on_drop: false }`
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/allocated_memory/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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] 
[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: the item `Default` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/allocated_memory/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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] 
[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: the item `Default` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Default` is already defined here
[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: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(forgetting_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[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: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    = note: `#[warn(forgetting_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc_no_stdlib` is imported redundantly
[INFO] [stdout]  --> src/bin/heap_alloc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use alloc_no_stdlib;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/bin/example.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate alloc_no_stdlib;
[INFO] [stdout]   | ----------------------------- the item `alloc_no_stdlib` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/bin/heap_alloc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/bin/example.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate core;
[INFO] [stdout]   | ------------------ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc_no_stdlib` is imported redundantly
[INFO] [stdout]  --> src/bin/heap_alloc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use alloc_no_stdlib;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/bin/example.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate alloc_no_stdlib;
[INFO] [stdout]   | ----------------------------- the item `alloc_no_stdlib` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/bin/heap_alloc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/bin/example.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate core;
[INFO] [stdout]   | ------------------ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "ea551f9f9d310aa790a9b63c3b8eb0c5ad7228a17eea52b1475c59d7cacf9f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea551f9f9d310aa790a9b63c3b8eb0c5ad7228a17eea52b1475c59d7cacf9f74", kill_on_drop: false }`
[INFO] [stdout] ea551f9f9d310aa790a9b63c3b8eb0c5ad7228a17eea52b1475c59d7cacf9f74
