[INFO] fetching crate shared-memory-allocator 0.1.0... [INFO] testing shared-memory-allocator-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate shared-memory-allocator 0.1.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shared-memory-allocator 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--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] 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e87ed266029d0a0df52a4061cca0e19a45fccac68f78e31078b8a8cc6230de2 [INFO] running `Command { std: "docker" "start" "-a" "6e87ed266029d0a0df52a4061cca0e19a45fccac68f78e31078b8a8cc6230de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e87ed266029d0a0df52a4061cca0e19a45fccac68f78e31078b8a8cc6230de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e87ed266029d0a0df52a4061cca0e19a45fccac68f78e31078b8a8cc6230de2", kill_on_drop: false }` [INFO] [stdout] 6e87ed266029d0a0df52a4061cca0e19a45fccac68f78e31078b8a8cc6230de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5766960e3578335ca86a6dab9dbee5c97eaa34d6412daee3b45279e203728e37 [INFO] running `Command { std: "docker" "start" "-a" "5766960e3578335ca86a6dab9dbee5c97eaa34d6412daee3b45279e203728e37", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling shared-memory-allocator v0.1.0 (/opt/rustwide/workdir) [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)]` 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 1.86s [INFO] running `Command { std: "docker" "inspect" "5766960e3578335ca86a6dab9dbee5c97eaa34d6412daee3b45279e203728e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5766960e3578335ca86a6dab9dbee5c97eaa34d6412daee3b45279e203728e37", kill_on_drop: false }` [INFO] [stdout] 5766960e3578335ca86a6dab9dbee5c97eaa34d6412daee3b45279e203728e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a852634ba9bb024507f61b215054c7664f05d2850fe026c7a9a6cd7d4f01a4a8 [INFO] running `Command { std: "docker" "start" "-a" "a852634ba9bb024507f61b215054c7664f05d2850fe026c7a9a6cd7d4f01a4a8", 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)]` 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] Compiling shared-memory-allocator v0.1.0 (/opt/rustwide/workdir) [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" "a852634ba9bb024507f61b215054c7664f05d2850fe026c7a9a6cd7d4f01a4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a852634ba9bb024507f61b215054c7664f05d2850fe026c7a9a6cd7d4f01a4a8", kill_on_drop: false }` [INFO] [stdout] a852634ba9bb024507f61b215054c7664f05d2850fe026c7a9a6cd7d4f01a4a8