[INFO] cloning repository https://github.com/MaderNoob/galloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaderNoob/galloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fgalloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fgalloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e0358e399d102f9482996f2e13b3e702d9f72a6 [INFO] checking MaderNoob/galloc against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fgalloc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaderNoob/galloc on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaderNoob/galloc [INFO] finished tweaking git repo https://github.com/MaderNoob/galloc [INFO] tweaked toml for git repo https://github.com/MaderNoob/galloc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MaderNoob/galloc 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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MaderNoob/galloc against try#9b9e20bc79549d80ab413f49d990713851172cc1 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaderNoob%2Fgalloc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaderNoob/galloc on toolchain 9b9e20bc79549d80ab413f49d990713851172cc1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaderNoob/galloc [INFO] finished tweaking git repo https://github.com/MaderNoob/galloc [INFO] tweaked toml for git repo https://github.com/MaderNoob/galloc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MaderNoob/galloc 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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded average v0.13.1 [INFO] [stderr] Downloaded linked_list_allocator v0.10.3 [INFO] [stderr] Downloaded simple-chunk-allocator v0.1.5 [INFO] [stderr] Downloaded easy-cast v0.4.4 [INFO] [stderr] Downloaded raw-cpuid v10.6.0 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded libm v0.2.5 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded libc v0.2.133 [INFO] [stderr] Downloaded x86 v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efa91522cfd688f5309424e0d62e784c817ba8358b7c89c957614ba7eb951dd2 [INFO] running `Command { std: "docker" "start" "-a" "efa91522cfd688f5309424e0d62e784c817ba8358b7c89c957614ba7eb951dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efa91522cfd688f5309424e0d62e784c817ba8358b7c89c957614ba7eb951dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa91522cfd688f5309424e0d62e784c817ba8358b7c89c957614ba7eb951dd2", kill_on_drop: false }` [INFO] [stdout] efa91522cfd688f5309424e0d62e784c817ba8358b7c89c957614ba7eb951dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 857a6e6a5a0c6cef23badd2a24577fb4c8fcc96f47e5bb97cc6c67ac706e4905 [INFO] running `Command { std: "docker" "start" "-a" "857a6e6a5a0c6cef23badd2a24577fb4c8fcc96f47e5bb97cc6c67ac706e4905", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling x86 v0.51.0 [INFO] [stderr] Checking raw-cpuid v10.6.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking linked_list_allocator v0.10.3 [INFO] [stderr] Checking good_memory_allocator v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | feature(allocator_api, nonnull_slice_from_raw_parts, slice_ptr_get) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking easy-cast v0.4.4 [INFO] [stderr] Checking simple-chunk-allocator v0.1.5 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking average v0.13.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/simple_chunk_allocator_benchmark.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(nonnull_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> examples/allocator_benchmarks.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { &GALLOC_ALLOCATOR } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { addr_of!(GALLOC_ALLOCATOR) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | feature(allocator_api, nonnull_slice_from_raw_parts, slice_ptr_get) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: it is undefined behavior to use this value [INFO] [stdout] --> examples/allocator_benchmarks.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | static CHUNK_ALLOCATOR: GlobalChunkAllocator<'static, CHUNK_SIZE> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .0.inner.data.value.heap: encountered mutable reference in a `const` or `static` [INFO] [stdout] | [INFO] [stdout] = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior. [INFO] [stdout] = note: the raw bytes of the constant (size: 80, align: 8) { [INFO] [stdout] 0x00 │ 00 __ __ __ __ __ __ __ ╾───────alloc15───────╼ │ .░░░░░░░╾──────╼ [INFO] [stdout] 0x10 │ 00 00 00 10 00 00 00 00 ╾───────alloc16───────╼ │ ........╾──────╼ [INFO] [stdout] 0x20 │ 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................ [INFO] [stdout] 0x30 │ 01 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 │ ................ [INFO] [stdout] 0x40 │ 00 00 00 00 00 00 00 00 01 __ __ __ __ __ __ __ │ .........░░░░░░░ [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `good_memory_allocator` (example "allocator_benchmarks") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "857a6e6a5a0c6cef23badd2a24577fb4c8fcc96f47e5bb97cc6c67ac706e4905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857a6e6a5a0c6cef23badd2a24577fb4c8fcc96f47e5bb97cc6c67ac706e4905", kill_on_drop: false }` [INFO] [stdout] 857a6e6a5a0c6cef23badd2a24577fb4c8fcc96f47e5bb97cc6c67ac706e4905