[INFO] fetching crate gain 0.5.0... [INFO] testing gain-0.5.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gain 0.5.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gain 0.5.0 [INFO] finished tweaking crates.io crate gain 0.5.0 [INFO] tweaked toml for crates.io crate gain 0.5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gain 0.5.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding async-task v1.3.1 (available: v4.7.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27fc22247f93181b3952e41da057af7a08c9aec91287a00abe8a21bad5623c54 [INFO] running `Command { std: "docker" "start" "-a" "27fc22247f93181b3952e41da057af7a08c9aec91287a00abe8a21bad5623c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27fc22247f93181b3952e41da057af7a08c9aec91287a00abe8a21bad5623c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27fc22247f93181b3952e41da057af7a08c9aec91287a00abe8a21bad5623c54", kill_on_drop: false }` [INFO] [stdout] 27fc22247f93181b3952e41da057af7a08c9aec91287a00abe8a21bad5623c54 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fd36cedafaf74577d954e5f36dba175a1c233c1d74a704d867cd1b7ac68a538 [INFO] running `Command { std: "docker" "start" "-a" "4fd36cedafaf74577d954e5f36dba175a1c233c1d74a704d867cd1b7ac68a538", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling gain v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let mut prev_share = prev.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll; [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read; [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:333:23 [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll { [INFO] [stdout] | ^^ ^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "4fd36cedafaf74577d954e5f36dba175a1c233c1d74a704d867cd1b7ac68a538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd36cedafaf74577d954e5f36dba175a1c233c1d74a704d867cd1b7ac68a538", kill_on_drop: false }` [INFO] [stdout] 4fd36cedafaf74577d954e5f36dba175a1c233c1d74a704d867cd1b7ac68a538 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 648372893cd3e144e866b35aae8c247fdb52b01c5e9b37e969670cb1aed8eaa7 [INFO] running `Command { std: "docker" "start" "-a" "648372893cd3e144e866b35aae8c247fdb52b01c5e9b37e969670cb1aed8eaa7", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let mut prev_share = prev.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll; [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read; [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gain v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:333:23 [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll { [INFO] [stdout] | ^^ ^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let mut prev_share = prev.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write; [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll; [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stdout] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/mod.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read; [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stdout] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write { [INFO] [stdout] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/stream/buf.rs:333:23 [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll { [INFO] [stdout] | ^^ ^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "648372893cd3e144e866b35aae8c247fdb52b01c5e9b37e969670cb1aed8eaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648372893cd3e144e866b35aae8c247fdb52b01c5e9b37e969670cb1aed8eaa7", kill_on_drop: false }` [INFO] [stdout] 648372893cd3e144e866b35aae8c247fdb52b01c5e9b37e969670cb1aed8eaa7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b78008b5f8bfc6a66844b80c30b97c2c96840cbbad3ded9eba595de7fed867c [INFO] running `Command { std: "docker" "start" "-a" "6b78008b5f8bfc6a66844b80c30b97c2c96840cbbad3ded9eba595de7fed867c", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core.rs:315:13 [INFO] [stderr] | [INFO] [stderr] 315 | let mut prev_share = prev.as_mut().unwrap(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write; [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 35 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write; [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 38 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:41:23 [INFO] [stderr] | [INFO] [stderr] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll; [INFO] [stderr] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 41 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:92:16 [INFO] [stderr] | [INFO] [stderr] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:101:19 [INFO] [stderr] | [INFO] [stderr] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 101 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 105 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stderr] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 109 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:167:16 [INFO] [stderr] | [INFO] [stderr] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:209:16 [INFO] [stderr] | [INFO] [stderr] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:257:19 [INFO] [stderr] | [INFO] [stderr] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 257 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:261:24 [INFO] [stderr] | [INFO] [stderr] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 261 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:265:23 [INFO] [stderr] | [INFO] [stderr] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stderr] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 265 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:304:19 [INFO] [stderr] | [INFO] [stderr] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 304 | fn write<'a>(&'a mut self, data: &'a [u8]) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:308:24 [INFO] [stderr] | [INFO] [stderr] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write { [INFO] [stderr] | ^^ ^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 308 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/mod.rs:312:23 [INFO] [stderr] | [INFO] [stderr] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll { [INFO] [stderr] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 312 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> future::WriteAll<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read; [INFO] [stderr] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 77 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:242:18 [INFO] [stderr] | [INFO] [stderr] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stderr] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 242 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:311:18 [INFO] [stderr] | [INFO] [stderr] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read { [INFO] [stderr] | ^^ ^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 311 | fn read<'a>(&'a mut self, dest: &'a mut [u8]) -> future::Read<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:325:19 [INFO] [stderr] | [INFO] [stderr] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write { [INFO] [stderr] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 325 | fn write<'a>(&'a mut self, data: &'a [u8]) -> super::future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:329:24 [INFO] [stderr] | [INFO] [stderr] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write { [INFO] [stderr] | ^^ ^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 329 | fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> super::future::Write<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/stream/buf.rs:333:23 [INFO] [stderr] | [INFO] [stderr] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll { [INFO] [stderr] | ^^ ^^ ----------------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 333 | fn write_all<'a>(&'a mut self, data: &'a [u8]) -> super::future::WriteAll<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/threadunsafe.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn borrow(&self) -> Ref { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/threadunsafe.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 44 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gain` (lib) generated 25 warnings (run `cargo fix --lib -p gain` to apply 25 suggestions) [INFO] [stderr] warning: `gain` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gain-8c163c558e9ffc0c) [INFO] [stdout] [INFO] [stderr] Doc-tests gain [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/task.rs - task::spawn_local (line 71) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `do_stuff` in this scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 14 | do_stuff().await; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 9 | do_something().await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6b78008b5f8bfc6a66844b80c30b97c2c96840cbbad3ded9eba595de7fed867c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b78008b5f8bfc6a66844b80c30b97c2c96840cbbad3ded9eba595de7fed867c", kill_on_drop: false }` [INFO] [stdout] 6b78008b5f8bfc6a66844b80c30b97c2c96840cbbad3ded9eba595de7fed867c