[INFO] fetching crate riffy 0.1.1... [INFO] testing riffy-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate riffy 0.1.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate riffy 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecd303a2b4edaa960882b07b1986a36ed62fc2f4fedb691644b19d2e0d97b262 [INFO] running `Command { std: "docker" "start" "-a" "ecd303a2b4edaa960882b07b1986a36ed62fc2f4fedb691644b19d2e0d97b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecd303a2b4edaa960882b07b1986a36ed62fc2f4fedb691644b19d2e0d97b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd303a2b4edaa960882b07b1986a36ed62fc2f4fedb691644b19d2e0d97b262", kill_on_drop: false }` [INFO] [stdout] ecd303a2b4edaa960882b07b1986a36ed62fc2f4fedb691644b19d2e0d97b262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 099d95944b929c18bfd20058730b00b283d0814a5281558b0f7483cb8cfe9221 [INFO] running `Command { std: "docker" "start" "-a" "099d95944b929c18bfd20058730b00b283d0814a5281558b0f7483cb8cfe9221", kill_on_drop: false }` [INFO] [stderr] Compiling riffy v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<*mut T>::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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "099d95944b929c18bfd20058730b00b283d0814a5281558b0f7483cb8cfe9221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099d95944b929c18bfd20058730b00b283d0814a5281558b0f7483cb8cfe9221", kill_on_drop: false }` [INFO] [stdout] 099d95944b929c18bfd20058730b00b283d0814a5281558b0f7483cb8cfe9221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7d019d919db1778fae6090aab3efcb861f8e9a082c74f1ce5db02c198f3e174 [INFO] running `Command { std: "docker" "start" "-a" "e7d019d919db1778fae6090aab3efcb861f8e9a082c74f1ce5db02c198f3e174", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<*mut T>::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] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling riffy v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<*mut T>::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" "e7d019d919db1778fae6090aab3efcb861f8e9a082c74f1ce5db02c198f3e174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d019d919db1778fae6090aab3efcb861f8e9a082c74f1ce5db02c198f3e174", kill_on_drop: false }` [INFO] [stdout] e7d019d919db1778fae6090aab3efcb861f8e9a082c74f1ce5db02c198f3e174