[INFO] fetching crate riffy 0.1.1... [INFO] checking riffy-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate riffy 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate riffy 0.1.1 [INFO] finished tweaking crates.io crate riffy 0.1.1 [INFO] tweaked toml for crates.io crate riffy 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate riffy 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c7b82a55a1a6582024723de1506ca78b7ef13198e59d92ce784d68bfd152499 [INFO] running `Command { std: "docker" "start" "-a" "0c7b82a55a1a6582024723de1506ca78b7ef13198e59d92ce784d68bfd152499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c7b82a55a1a6582024723de1506ca78b7ef13198e59d92ce784d68bfd152499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7b82a55a1a6582024723de1506ca78b7ef13198e59d92ce784d68bfd152499", kill_on_drop: false }` [INFO] [stdout] 0c7b82a55a1a6582024723de1506ca78b7ef13198e59d92ce784d68bfd152499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274725308f70985f67349ed59dac08fc294c734ca013d3ced8ba2fac575e8258 [INFO] running `Command { std: "docker" "start" "-a" "274725308f70985f67349ed59dac08fc294c734ca013d3ced8ba2fac575e8258", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking riffy v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | self.tail_of_queue.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | self.tail_of_queue.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:590:38 [INFO] [stdout] | [INFO] [stdout] 590 | assert_eq!(State::Empty, (*q.head_of_queue.get()).nodes[0].state()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:590:38 [INFO] [stdout] | [INFO] [stdout] 590 | assert_eq!(State::Empty, (*q.head_of_queue.get()).nodes[0].state()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 590 | assert_eq!(State::Empty, (&(*q.head_of_queue.get()).nodes)[0].state()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:593:38 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(State::Empty, (*q.head_of_queue.get()).nodes[1].state()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:593:38 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(State::Empty, (*q.head_of_queue.get()).nodes[1].state()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(State::Empty, (&(*q.head_of_queue.get()).nodes)[1].state()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(42, (*q.head_of_queue.get()).nodes[0].data.assume_init()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(42, (*q.head_of_queue.get()).nodes[0].data.assume_init()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(42, (&(*q.head_of_queue.get()).nodes)[0].data.assume_init()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(State::Set, (*q.head_of_queue.get()).nodes[0].state()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(State::Set, (*q.head_of_queue.get()).nodes[0].state()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(State::Set, (&(*q.head_of_queue.get()).nodes)[0].state()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:606:28 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(43, (*q.head_of_queue.get()).nodes[1].data.assume_init()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:606:28 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(43, (*q.head_of_queue.get()).nodes[1].data.assume_init()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(43, (&(*q.head_of_queue.get()).nodes)[1].data.assume_init()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:609:36 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(State::Set, (*q.head_of_queue.get()).nodes[1].state()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:609:36 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(State::Set, (*q.head_of_queue.get()).nodes[1].state()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(State::Set, (&(*q.head_of_queue.get()).nodes)[1].state()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:627:35 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(i, (*q.head_of_queue.get()).nodes[index].data.assume_init()); [INFO] [stdout] | ^^---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:627:35 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(i, (*q.head_of_queue.get()).nodes[index].data.assume_init()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(i, (&(*q.head_of_queue.get()).nodes)[index].data.assume_init()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | (*q.tail_of_queue.load(Ordering::SeqCst)).nodes[index] [INFO] [stdout] | ^^--------------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut BufferList` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/lib.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | (*q.tail_of_queue.load(Ordering::SeqCst)).nodes[index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 633 | (&(*q.tail_of_queue.load(Ordering::SeqCst)).nodes)[index] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `riffy` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "274725308f70985f67349ed59dac08fc294c734ca013d3ced8ba2fac575e8258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274725308f70985f67349ed59dac08fc294c734ca013d3ced8ba2fac575e8258", kill_on_drop: false }` [INFO] [stdout] 274725308f70985f67349ed59dac08fc294c734ca013d3ced8ba2fac575e8258