[INFO] fetching crate pstream 0.1.1... [INFO] testing pstream-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pstream 0.1.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pstream 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0dab9d1d091d56ccaa691019f40c31da43949eae4e0737c6e5ac1606763b905 [INFO] running `Command { std: "docker" "start" "-a" "c0dab9d1d091d56ccaa691019f40c31da43949eae4e0737c6e5ac1606763b905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0dab9d1d091d56ccaa691019f40c31da43949eae4e0737c6e5ac1606763b905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0dab9d1d091d56ccaa691019f40c31da43949eae4e0737c6e5ac1606763b905", kill_on_drop: false }` [INFO] [stdout] c0dab9d1d091d56ccaa691019f40c31da43949eae4e0737c6e5ac1606763b905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec71de124385cbff57755fb09405fcf72f4e07aed6904a77226735c1a510009c [INFO] running `Command { std: "docker" "start" "-a" "ec71de124385cbff57755fb09405fcf72f4e07aed6904a77226735c1a510009c", 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]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/block.rs:1115:5 [INFO] [stdout] | [INFO] [stdout] 1115 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/block.rs:1693:5 [INFO] [stdout] | [INFO] [stdout] 1693 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/block.rs:1701:5 [INFO] [stdout] | [INFO] [stdout] 1701 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/block.rs:1718:5 [INFO] [stdout] | [INFO] [stdout] 1718 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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" "ec71de124385cbff57755fb09405fcf72f4e07aed6904a77226735c1a510009c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec71de124385cbff57755fb09405fcf72f4e07aed6904a77226735c1a510009c", kill_on_drop: false }` [INFO] [stdout] ec71de124385cbff57755fb09405fcf72f4e07aed6904a77226735c1a510009c