[INFO] fetching crate pstream 0.1.1... [INFO] testing pstream-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pstream 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pstream 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pstream 0.1.1 [INFO] tweaked toml for crates.io crate pstream 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pstream 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding crc32fast v1.3.2 (available: v1.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vlock v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a57830bf9f777a2579e67ded46bf35a746285a1a44f64f379eee2a70ff83817 [INFO] running `Command { std: "docker" "start" "-a" "3a57830bf9f777a2579e67ded46bf35a746285a1a44f64f379eee2a70ff83817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a57830bf9f777a2579e67ded46bf35a746285a1a44f64f379eee2a70ff83817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a57830bf9f777a2579e67ded46bf35a746285a1a44f64f379eee2a70ff83817", kill_on_drop: false }` [INFO] [stdout] 3a57830bf9f777a2579e67ded46bf35a746285a1a44f64f379eee2a70ff83817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 214adea540dce8246fc4da5cf96d0a47cdee92f69d9dd90be3d75bb527657ce6 [INFO] running `Command { std: "docker" "start" "-a" "214adea540dce8246fc4da5cf96d0a47cdee92f69d9dd90be3d75bb527657ce6", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling vlock v0.2.2 [INFO] [stderr] Compiling pstream v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/block.rs:1115:5 [INFO] [stdout] | [INFO] [stdout] 1115 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/block.rs:1693:5 [INFO] [stdout] | [INFO] [stdout] 1693 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/block.rs:1701:5 [INFO] [stdout] | [INFO] [stdout] 1701 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/block.rs:1718:5 [INFO] [stdout] | [INFO] [stdout] 1718 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:360:14 [INFO] [stdout] | [INFO] [stdout] 360 | &(*self.data_buffer.get())[data_offset!(self.block_shift(), block)..position] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:360:14 [INFO] [stdout] | [INFO] [stdout] 360 | &(*self.data_buffer.get())[data_offset!(self.block_shift(), block)..position] [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] 360 | &(&(*self.data_buffer.get()))[data_offset!(self.block_shift(), block)..position] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:595:23 [INFO] [stdout] | [INFO] [stdout] 595 | unsafe { &mut (*self.data_buffer.get())[current..ending_position] } [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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: `&mut Vec` [INFO] [stdout] --> src/block.rs:595:23 [INFO] [stdout] | [INFO] [stdout] 595 | unsafe { &mut (*self.data_buffer.get())[current..ending_position] } [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] 595 | unsafe { &mut (&mut (*self.data_buffer.get()))[current..ending_position] } [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:652:32 [INFO] [stdout] | [INFO] [stdout] 652 | crc32.update(unsafe { &(*self.data_buffer.get())[current..end] }); [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:652:32 [INFO] [stdout] | [INFO] [stdout] 652 | crc32.update(unsafe { &(*self.data_buffer.get())[current..end] }); [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] 652 | crc32.update(unsafe { &(&(*self.data_buffer.get()))[current..end] }); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:682:51 [INFO] [stdout] | [INFO] [stdout] 682 | let crc32 = crc32fast::hash(unsafe { &(*self.data_buffer.get())[start..end] }); [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:682:51 [INFO] [stdout] | [INFO] [stdout] 682 | let crc32 = crc32fast::hash(unsafe { &(*self.data_buffer.get())[start..end] }); [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] 682 | let crc32 = crc32fast::hash(unsafe { &(&(*self.data_buffer.get()))[start..end] }); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:878:27 [INFO] [stdout] | [INFO] [stdout] 878 | unsafe { &(*self.data_buffer.get())[data_offset!(self.block_shift(), block)..end] }; [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:878:27 [INFO] [stdout] | [INFO] [stdout] 878 | unsafe { &(*self.data_buffer.get())[data_offset!(self.block_shift(), block)..end] }; [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] 878 | unsafe { &(&(*self.data_buffer.get()))[data_offset!(self.block_shift(), block)..end] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:900:22 [INFO] [stdout] | [INFO] [stdout] 900 | &mut (*self.meta_buffer.get())[meta_section!(block)] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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: `&mut Vec` [INFO] [stdout] --> src/block.rs:900:22 [INFO] [stdout] | [INFO] [stdout] 900 | &mut (*self.meta_buffer.get())[meta_section!(block)] [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] 900 | &mut (&mut (*self.meta_buffer.get()))[meta_section!(block)] [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | &mut (*self.data_buffer.get())[data_section!(self.block_shift(), block)] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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: `&mut Vec` [INFO] [stdout] --> src/block.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | &mut (*self.data_buffer.get())[data_section!(self.block_shift(), block)] [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] 904 | &mut (&mut (*self.data_buffer.get()))[data_section!(self.block_shift(), block)] [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:955:18 [INFO] [stdout] | [INFO] [stdout] 955 | &(*self.meta_buffer.get())[meta_section!(block)] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:955:18 [INFO] [stdout] | [INFO] [stdout] 955 | &(*self.meta_buffer.get())[meta_section!(block)] [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] 955 | &(&(*self.meta_buffer.get()))[meta_section!(block)] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:964:18 [INFO] [stdout] | [INFO] [stdout] 964 | &(*self.data_buffer.get())[data_range] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:964:18 [INFO] [stdout] | [INFO] [stdout] 964 | &(*self.data_buffer.get())[data_range] [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] 964 | &(&(*self.data_buffer.get()))[data_range] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1048:19 [INFO] [stdout] | [INFO] [stdout] 1048 | unsafe { &(*self.data_buffer.get())[self.data_range()] } [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1048:19 [INFO] [stdout] | [INFO] [stdout] 1048 | unsafe { &(*self.data_buffer.get())[self.data_range()] } [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] 1048 | unsafe { &(&(*self.data_buffer.get()))[self.data_range()] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1065:19 [INFO] [stdout] | [INFO] [stdout] 1065 | unsafe { &(*self.data_buffer.get())[..cmp::min(self.spilled_size(), synced)] } [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1065:19 [INFO] [stdout] | [INFO] [stdout] 1065 | unsafe { &(*self.data_buffer.get())[..cmp::min(self.spilled_size(), synced)] } [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] 1065 | unsafe { &(&(*self.data_buffer.get()))[..cmp::min(self.spilled_size(), synced)] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1088:23 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { &(*self.data_buffer.get())[trail..] } [INFO] [stdout] | ^^----------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1088:23 [INFO] [stdout] | [INFO] [stdout] 1088 | unsafe { &(*self.data_buffer.get())[trail..] } [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] 1088 | unsafe { &(&(*self.data_buffer.get()))[trail..] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1251:31 [INFO] [stdout] | [INFO] [stdout] 1251 | AboutBlock::try_from(&(*self.meta_buffer.get())[meta_about_section!(block)]) [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1251:31 [INFO] [stdout] | [INFO] [stdout] 1251 | AboutBlock::try_from(&(*self.meta_buffer.get())[meta_about_section!(block)]) [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] 1251 | AboutBlock::try_from(&(&(*self.meta_buffer.get()))[meta_about_section!(block)]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | (*self.meta_buffer.get())[meta_parity_section!(block)] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1268:13 [INFO] [stdout] | [INFO] [stdout] 1268 | (*self.meta_buffer.get())[meta_parity_section!(block)] [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] 1268 | (&(*self.meta_buffer.get()))[meta_parity_section!(block)] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1287:13 [INFO] [stdout] | [INFO] [stdout] 1287 | (*self.meta_buffer.get())[meta_crc32_section!(block)] [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1287:13 [INFO] [stdout] | [INFO] [stdout] 1287 | (*self.meta_buffer.get())[meta_crc32_section!(block)] [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] 1287 | (&(*self.meta_buffer.get()))[meta_crc32_section!(block)] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block.rs:1298:19 [INFO] [stdout] | [INFO] [stdout] 1298 | unsafe { &(*self.data_buffer.get())[self.capacity()..] } [INFO] [stdout] | ^^----------------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/block.rs:1298:19 [INFO] [stdout] | [INFO] [stdout] 1298 | unsafe { &(*self.data_buffer.get())[self.capacity()..] } [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] 1298 | unsafe { &(&(*self.data_buffer.get()))[self.capacity()..] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pstream` (lib) due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "214adea540dce8246fc4da5cf96d0a47cdee92f69d9dd90be3d75bb527657ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214adea540dce8246fc4da5cf96d0a47cdee92f69d9dd90be3d75bb527657ce6", kill_on_drop: false }` [INFO] [stdout] 214adea540dce8246fc4da5cf96d0a47cdee92f69d9dd90be3d75bb527657ce6