[INFO] fetching crate rs_lockfree 0.1.1... [INFO] checking rs_lockfree-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate rs_lockfree 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rs_lockfree 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs_lockfree 0.1.1 [INFO] finished tweaking crates.io crate rs_lockfree 0.1.1 [INFO] tweaked toml for crates.io crate rs_lockfree 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding core_affinity v0.5.10 (latest: v0.8.1) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_affinity v0.5.10 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89a8a3c1922fc76a7e5aacea46b71a8ac6bf5bd3b3cd1ea543f196f36bb0153d [INFO] running `Command { std: "docker" "start" "-a" "89a8a3c1922fc76a7e5aacea46b71a8ac6bf5bd3b3cd1ea543f196f36bb0153d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89a8a3c1922fc76a7e5aacea46b71a8ac6bf5bd3b3cd1ea543f196f36bb0153d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a8a3c1922fc76a7e5aacea46b71a8ac6bf5bd3b3cd1ea543f196f36bb0153d", kill_on_drop: false }` [INFO] [stdout] 89a8a3c1922fc76a7e5aacea46b71a8ac6bf5bd3b3cd1ea543f196f36bb0153d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef833dc6bc216ae0919cbdaaf91e6d84711d857bc3945763e017b75efe01e603 [INFO] running `Command { std: "docker" "start" "-a" "ef833dc6bc216ae0919cbdaaf91e6d84711d857bc3945763e017b75efe01e603", kill_on_drop: false }` [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking core_affinity v0.5.10 [INFO] [stderr] Checking rs_lockfree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/hazard_pointer.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{mem, raw}; [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::os::linux::raw [INFO] [stdout] std::os::raw [INFO] [stdout] std::os::unix::raw [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_pointer.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { intrinsics::atomic_load(self.hazard_waiting_count.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_xadd` in module `intrinsics` [INFO] [stdout] --> src/util.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | intrinsics::atomic_xadd::(dst, src) + src [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_xadd` in module `intrinsics` [INFO] [stdout] --> src/util.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | intrinsics::atomic_xadd::(dst, src) [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/util.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | intrinsics::atomic_load(ptr as *const usize) as *mut T [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_cxchg` in module `intrinsics` [INFO] [stdout] --> src/util.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | mem::transmute(intrinsics::atomic_cxchg( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | intrinsics::atomic_load(&self.curr_min_version_info.curr_min_version) [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_store` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | intrinsics::atomic_store( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | intrinsics::atomic_load(&self.curr_min_version_info.curr_min_version_timestamp) [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_store` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | intrinsics::atomic_store( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 256 | unsafe { intrinsics::atomic_load(self.version.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 309 | unsafe { intrinsics::atomic_load(&self.thread_count) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | unsafe { intrinsics::atomic_load(self.hazard_waiting_count.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_store` in module `intrinsics` [INFO] [stdout] --> src/hazard_epoch.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | intrinsics::atomic_store( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_cxchg` in module `intrinsics` [INFO] [stdout] --> src/spin_lock.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | intrinsics::atomic_cxchg(&mut self.atomic, 1, 0).1 [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_cxchg` in module `intrinsics` [INFO] [stdout] --> src/spin_lock.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | intrinsics::atomic_cxchg(&mut self.atomic, 0, 1).1 [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_load` in module `intrinsics` [INFO] [stdout] --> src/spin_lock.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { 0 != intrinsics::atomic_load(&self.atomic) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `atomic_cxchg` in module `intrinsics` [INFO] [stdout] --> src/spin_rwlock.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { intrinsics::atomic_cxchg(self.atomic_info.v_mut(), old_v, new_v).1 } [INFO] [stdout] | ^^^^^^^^^^^^ not found in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/hazard_pointer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/util.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `raw` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(raw)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hazard_pointer.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | &mut *node as &mut HazardNodeT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 | &mut *node as &mut dyn HazardNodeT, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hazard_pointer.rs:373:59 [INFO] [stdout] | [INFO] [stdout] 373 | let obj = mem::transmute::(trait_obj); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 373 | let obj = mem::transmute::(trait_obj); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hazard_pointer.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 374 | Box::from_raw(obj as *mut HazardNodeT); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 374 | Box::from_raw(obj as *mut dyn HazardNodeT); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hazard_pointer.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hazard_pointer.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hazard_pointer.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_lockfree` (lib) due to 20 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ef833dc6bc216ae0919cbdaaf91e6d84711d857bc3945763e017b75efe01e603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef833dc6bc216ae0919cbdaaf91e6d84711d857bc3945763e017b75efe01e603", kill_on_drop: false }` [INFO] [stdout] ef833dc6bc216ae0919cbdaaf91e6d84711d857bc3945763e017b75efe01e603