[INFO] fetching crate fluke-buffet 0.2.0... [INFO] checking fluke-buffet-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate fluke-buffet 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate fluke-buffet 0.2.0 [INFO] finished tweaking crates.io crate fluke-buffet 0.2.0 [INFO] tweaked toml for crates.io crate fluke-buffet 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fluke-buffet 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding io-uring v0.6.4 (available: v0.7.8) [INFO] [stderr] Adding nix v0.28.0 (available: v0.30.1) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-hex v0.4.1 [INFO] [stderr] Downloaded color-spantrace v0.3.0 [INFO] [stderr] Downloaded fluke-io-uring-async v0.1.0 [INFO] [stderr] Downloaded color-eyre v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e300d3a15b88da178d2450477d0d79e47feff92bd2361ea8a84428ef6dc670e4 [INFO] running `Command { std: "docker" "start" "-a" "e300d3a15b88da178d2450477d0d79e47feff92bd2361ea8a84428ef6dc670e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e300d3a15b88da178d2450477d0d79e47feff92bd2361ea8a84428ef6dc670e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e300d3a15b88da178d2450477d0d79e47feff92bd2361ea8a84428ef6dc670e4", kill_on_drop: false }` [INFO] [stdout] e300d3a15b88da178d2450477d0d79e47feff92bd2361ea8a84428ef6dc670e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4a58dc621b156deafac7cd110d4d374b342cf01d4bacc4153af64cad42c80a [INFO] running `Command { std: "docker" "start" "-a" "8b4a58dc621b156deafac7cd110d4d374b342cf01d4bacc4153af64cad42c80a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty-hex v0.4.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Checking fluke-io-uring-async v0.1.0 [INFO] [stderr] Checking fluke-buffet v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let len = unsafe { (*buf).len() }; [INFO] [stdout] | ^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let len = unsafe { (*buf).len() }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:116:5 [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] 88 | let len = unsafe { (&(*buf)).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [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] 101 | unsafe { &(&(*buf)[self.off as usize..])[..len as usize] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [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] 101 | unsafe { &(&(*buf))[self.off as usize..][..len as usize] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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 [u8]` [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [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] 108 | unsafe { &mut (&mut (*buf)[self.off as usize..])[..len as usize] } [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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 [u8]` [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [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] 108 | unsafe { &mut (&mut (*buf))[self.off as usize..][..len as usize] } [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (*buf).len() } [INFO] [stdout] | ^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (*buf).len() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (&(*buf)).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bufpool.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | fn borrow_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn borrow_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluke-buffet` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let len = unsafe { (*buf).len() }; [INFO] [stdout] | ^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let len = unsafe { (*buf).len() }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:116:5 [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] 88 | let len = unsafe { (&(*buf)).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [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] 101 | unsafe { &(&(*buf)[self.off as usize..])[..len as usize] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*buf)[self.off as usize..][..len as usize] } [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] 101 | unsafe { &(&(*buf))[self.off as usize..][..len as usize] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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 [u8]` [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [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] 108 | unsafe { &mut (&mut (*buf)[self.off as usize..])[..len as usize] } [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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 [u8]` [INFO] [stdout] --> src/roll.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { &mut (*buf)[self.off as usize..][..len as usize] } [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] 108 | unsafe { &mut (&mut (*buf))[self.off as usize..][..len as usize] } [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/roll.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (*buf).len() } [INFO] [stdout] | ^^---^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[u8]>` [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: `&[u8]` [INFO] [stdout] --> src/roll.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (*buf).len() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { (&(*buf)).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bufpool.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | fn borrow_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn borrow_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluke-buffet` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8b4a58dc621b156deafac7cd110d4d374b342cf01d4bacc4153af64cad42c80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4a58dc621b156deafac7cd110d4d374b342cf01d4bacc4153af64cad42c80a", kill_on_drop: false }` [INFO] [stdout] 8b4a58dc621b156deafac7cd110d4d374b342cf01d4bacc4153af64cad42c80a