[INFO] fetching crate shared-memory-allocator 0.1.0... [INFO] building shared-memory-allocator-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate shared-memory-allocator 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate shared-memory-allocator 0.1.0 [INFO] finished tweaking crates.io crate shared-memory-allocator 0.1.0 [INFO] tweaked toml for crates.io crate shared-memory-allocator 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shared-memory-allocator 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4da10f7acd529d09c9febcd593e09732b4d560dc849200c34dff44aa0a77efaf [INFO] running `Command { std: "docker" "start" "-a" "4da10f7acd529d09c9febcd593e09732b4d560dc849200c34dff44aa0a77efaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4da10f7acd529d09c9febcd593e09732b4d560dc849200c34dff44aa0a77efaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da10f7acd529d09c9febcd593e09732b4d560dc849200c34dff44aa0a77efaf", kill_on_drop: false }` [INFO] [stdout] 4da10f7acd529d09c9febcd593e09732b4d560dc849200c34dff44aa0a77efaf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93da88f1a6935e441366ea1d47552610ff4789d5fb68a52b831b1b8103521140 [INFO] running `Command { std: "docker" "start" "-a" "93da88f1a6935e441366ea1d47552610ff4789d5fb68a52b831b1b8103521140", kill_on_drop: false }` [INFO] [stderr] Compiling shared-memory-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | SHARED_MEMORY_DESCRIPTORS.write(Arc::new(Mutex::new(HashMap::new()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let map_ref = unsafe { SHARED_MEMORY_DESCRIPTORS.assume_init_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "93da88f1a6935e441366ea1d47552610ff4789d5fb68a52b831b1b8103521140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93da88f1a6935e441366ea1d47552610ff4789d5fb68a52b831b1b8103521140", kill_on_drop: false }` [INFO] [stdout] 93da88f1a6935e441366ea1d47552610ff4789d5fb68a52b831b1b8103521140 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e3a746b67dd4f7e3a4ae428d0fc11dfde2011ae29a35026cee68d43315c25f4 [INFO] running `Command { std: "docker" "start" "-a" "7e3a746b67dd4f7e3a4ae428d0fc11dfde2011ae29a35026cee68d43315c25f4", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | SHARED_MEMORY_DESCRIPTORS.write(Arc::new(Mutex::new(HashMap::new()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shared-memory-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let map_ref = unsafe { SHARED_MEMORY_DESCRIPTORS.assume_init_mut() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_raw_parts` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | dbg!(x.into_raw_parts()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_raw_parts_with_alloc` with a similar name [INFO] [stdout] | [INFO] [stdout] 286 | dbg!(x.into_raw_parts_with_alloc()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_raw_parts` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | dbg!(y.into_raw_parts()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_raw_parts_with_alloc` with a similar name [INFO] [stdout] | [INFO] [stdout] 291 | dbg!(y.into_raw_parts_with_alloc()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_raw_parts` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | dbg!(z.into_raw_parts()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_raw_parts_with_alloc` with a similar name [INFO] [stdout] | [INFO] [stdout] 296 | dbg!(z.into_raw_parts_with_alloc()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared-memory-allocator` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7e3a746b67dd4f7e3a4ae428d0fc11dfde2011ae29a35026cee68d43315c25f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e3a746b67dd4f7e3a4ae428d0fc11dfde2011ae29a35026cee68d43315c25f4", kill_on_drop: false }` [INFO] [stdout] 7e3a746b67dd4f7e3a4ae428d0fc11dfde2011ae29a35026cee68d43315c25f4