[INFO] fetching crate rs_lockfree 0.1.1... [INFO] checking rs_lockfree-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rs_lockfree 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rs_lockfree 0.1.1 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 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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding core_affinity v0.5.10 (available: v0.8.1) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [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] [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f7d95f42722d1dd587ba0bf08648f55a47b4ca2b9d2d1bfac2778e21136f708 [INFO] running `Command { std: "docker" "start" "-a" "2f7d95f42722d1dd587ba0bf08648f55a47b4ca2b9d2d1bfac2778e21136f708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f7d95f42722d1dd587ba0bf08648f55a47b4ca2b9d2d1bfac2778e21136f708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7d95f42722d1dd587ba0bf08648f55a47b4ca2b9d2d1bfac2778e21136f708", kill_on_drop: false }` [INFO] [stdout] 2f7d95f42722d1dd587ba0bf08648f55a47b4ca2b9d2d1bfac2778e21136f708 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b3e4b3010c45780d81cd1b1cb9886c51be66a768dfaaffe91bee4b09159ff80 [INFO] running `Command { std: "docker" "start" "-a" "3b3e4b3010c45780d81cd1b1cb9886c51be66a768dfaaffe91bee4b09159ff80", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking core_affinity v0.5.10 [INFO] [stderr] Checking rs_lockfree v0.1.1 (/opt/rustwide/workdir) [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 modules 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: 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; 8 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; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3b3e4b3010c45780d81cd1b1cb9886c51be66a768dfaaffe91bee4b09159ff80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b3e4b3010c45780d81cd1b1cb9886c51be66a768dfaaffe91bee4b09159ff80", kill_on_drop: false }` [INFO] [stdout] 3b3e4b3010c45780d81cd1b1cb9886c51be66a768dfaaffe91bee4b09159ff80