[INFO] cloning repository https://github.com/KanishkSakarwar/memory-allocator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KanishkSakarwar/memory-allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanishkSakarwar%2Fmemory-allocator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanishkSakarwar%2Fmemory-allocator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 384d527e20fc3788c079fcd801c2142b1146d320 [INFO] checking KanishkSakarwar/memory-allocator against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanishkSakarwar%2Fmemory-allocator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KanishkSakarwar/memory-allocator [INFO] finished tweaking git repo https://github.com/KanishkSakarwar/memory-allocator [INFO] tweaked toml for git repo https://github.com/KanishkSakarwar/memory-allocator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KanishkSakarwar/memory-allocator on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KanishkSakarwar/memory-allocator 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afc51bd5a8b85b4e9f6f2f417c2bbbef9bacc4d2f7a8ffcc2c88a61860f4b42d [INFO] running `Command { std: "docker" "start" "-a" "afc51bd5a8b85b4e9f6f2f417c2bbbef9bacc4d2f7a8ffcc2c88a61860f4b42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc51bd5a8b85b4e9f6f2f417c2bbbef9bacc4d2f7a8ffcc2c88a61860f4b42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc51bd5a8b85b4e9f6f2f417c2bbbef9bacc4d2f7a8ffcc2c88a61860f4b42d", kill_on_drop: false }` [INFO] [stdout] afc51bd5a8b85b4e9f6f2f417c2bbbef9bacc4d2f7a8ffcc2c88a61860f4b42d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50037ba81f33fc92b7a0af68b8ea025ae1d1c2bcf45d36876c85c293a29e6810 [INFO] running `Command { std: "docker" "start" "-a" "50037ba81f33fc92b7a0af68b8ea025ae1d1c2bcf45d36876c85c293a29e6810", kill_on_drop: false }` [INFO] [stderr] Checking memory_allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/bump.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bump.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let aligned_next = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | alloc.init(HEAP.as_mut_ptr(), HEAP_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Offset A: {:?}", a.map(|ptr| ptr as usize - HEAP.as_ptr() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/bump.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bump.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let aligned_next = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | alloc.init(HEAP.as_mut_ptr(), HEAP_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Offset A: {:?}", a.map(|ptr| ptr as usize - HEAP.as_ptr() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "50037ba81f33fc92b7a0af68b8ea025ae1d1c2bcf45d36876c85c293a29e6810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50037ba81f33fc92b7a0af68b8ea025ae1d1c2bcf45d36876c85c293a29e6810", kill_on_drop: false }` [INFO] [stdout] 50037ba81f33fc92b7a0af68b8ea025ae1d1c2bcf45d36876c85c293a29e6810