[INFO] cloning repository https://github.com/acsearle/barc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acsearle/barc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facsearle%2Fbarc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facsearle%2Fbarc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac9704cb2df0b1c432d243c0f277870e331b90db [INFO] checking acsearle/barc/ac9704cb2df0b1c432d243c0f277870e331b90db against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facsearle%2Fbarc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acsearle/barc on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/acsearle/barc [INFO] finished tweaking git repo https://github.com/acsearle/barc [INFO] tweaked toml for git repo https://github.com/acsearle/barc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/acsearle/barc 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93266d92a9a29ae3a61b5c4b04f0a05f7c83571c117ecca6b2805dac4e7c57f7 [INFO] running `Command { std: "docker" "start" "-a" "93266d92a9a29ae3a61b5c4b04f0a05f7c83571c117ecca6b2805dac4e7c57f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93266d92a9a29ae3a61b5c4b04f0a05f7c83571c117ecca6b2805dac4e7c57f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93266d92a9a29ae3a61b5c4b04f0a05f7c83571c117ecca6b2805dac4e7c57f7", kill_on_drop: false }` [INFO] [stdout] 93266d92a9a29ae3a61b5c4b04f0a05f7c83571c117ecca6b2805dac4e7c57f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ab12fdafbd78c4a2eca8091c47316652b0616475a35b3ba3e9219cf26cedcef [INFO] running `Command { std: "docker" "start" "-a" "4ab12fdafbd78c4a2eca8091c47316652b0616475a35b3ba3e9219cf26cedcef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking barc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | use std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | use std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:1115:50 [INFO] [stdout] | [INFO] [stdout] 1115 | ... data : std::mem::uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:1115:50 [INFO] [stdout] | [INFO] [stdout] 1115 | ... data : std::mem::uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `box_into_raw_non_null` [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #![feature(box_into_raw_non_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `box_into_raw_non_null` [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #![feature(box_into_raw_non_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | self.ptr.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | self.ptr.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | Box::into_raw_non_null( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | Box::into_raw_non_null( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/lib.rs:748:32 [INFO] [stdout] | [INFO] [stdout] 748 | std::alloc::Global.dealloc( [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 748 | std::alloc::Global.deallocate( [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/lib.rs:748:32 [INFO] [stdout] | [INFO] [stdout] 748 | std::alloc::Global.dealloc( [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 748 | std::alloc::Global.deallocate( [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:1110:26 [INFO] [stdout] | [INFO] [stdout] 1110 | Box::into_raw_non_null( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/lib.rs:1110:26 [INFO] [stdout] | [INFO] [stdout] 1110 | Box::into_raw_non_null( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 22 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/boxed.rs:254:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `barc` (lib) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `nest` [INFO] [stdout] --> src/lib.rs:2223:17 [INFO] [stdout] | [INFO] [stdout] 2223 | let nest = Nest::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:2281:17 [INFO] [stdout] | [INFO] [stdout] 2281 | let b = a.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:2283:17 [INFO] [stdout] | [INFO] [stdout] 2283 | let c = WeightedArc::downgrade(&a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:2303:21 [INFO] [stdout] | [INFO] [stdout] 2303 | let mut b = a.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:2303:17 [INFO] [stdout] | [INFO] [stdout] 2303 | let mut b = a.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/lib.rs:2319:17 [INFO] [stdout] | [INFO] [stdout] 2319 | let a = AtomicOptionWeightedArc::new(Some(WeightedArc::new(nest.hatch(99)))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `barc` (lib test) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ab12fdafbd78c4a2eca8091c47316652b0616475a35b3ba3e9219cf26cedcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab12fdafbd78c4a2eca8091c47316652b0616475a35b3ba3e9219cf26cedcef", kill_on_drop: false }` [INFO] [stdout] 4ab12fdafbd78c4a2eca8091c47316652b0616475a35b3ba3e9219cf26cedcef