[INFO] fetching crate gain 0.5.0... [INFO] testing gain-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gain 0.5.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gain 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 252f5ca2b50534232502997cd32b46474f4cc399a5397689e6101bb81450d205 [INFO] running `Command { std: "docker" "start" "-a" "252f5ca2b50534232502997cd32b46474f4cc399a5397689e6101bb81450d205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "252f5ca2b50534232502997cd32b46474f4cc399a5397689e6101bb81450d205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252f5ca2b50534232502997cd32b46474f4cc399a5397689e6101bb81450d205", kill_on_drop: false }` [INFO] [stdout] 252f5ca2b50534232502997cd32b46474f4cc399a5397689e6101bb81450d205 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af68e45fa2f8f4d191d0cbc525c0c8a967c72da788d197554fbca097ba6b3484 [INFO] running `Command { std: "docker" "start" "-a" "af68e45fa2f8f4d191d0cbc525c0c8a967c72da788d197554fbca097ba6b3484", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [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)]` (part of `#[warn(unused)]`) 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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:54 [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:54 [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:54 [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:51 [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:67 [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:55 [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.49s [INFO] running `Command { std: "docker" "inspect" "af68e45fa2f8f4d191d0cbc525c0c8a967c72da788d197554fbca097ba6b3484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af68e45fa2f8f4d191d0cbc525c0c8a967c72da788d197554fbca097ba6b3484", kill_on_drop: false }` [INFO] [stdout] af68e45fa2f8f4d191d0cbc525c0c8a967c72da788d197554fbca097ba6b3484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48f125cf77ab54050e81ffa14e42d21ea612cad307cbb79360573261c02682f1 [INFO] running `Command { std: "docker" "start" "-a" "48f125cf77ab54050e81ffa14e42d21ea612cad307cbb79360573261c02682f1", 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)]` (part of `#[warn(unused)]`) 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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:54 [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:54 [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:54 [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] [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:325:51 [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:67 [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:55 [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)]` (part of `#[warn(unused)]`) 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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:54 [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:54 [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:54 [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:51 [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:67 [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:55 [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.59s [INFO] running `Command { std: "docker" "inspect" "48f125cf77ab54050e81ffa14e42d21ea612cad307cbb79360573261c02682f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f125cf77ab54050e81ffa14e42d21ea612cad307cbb79360573261c02682f1", kill_on_drop: false }` [INFO] [stdout] 48f125cf77ab54050e81ffa14e42d21ea612cad307cbb79360573261c02682f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9586cfd1bce7f9c491f572a671dec593beba0d6969b54b2080907f7e0a20a7e [INFO] running `Command { std: "docker" "start" "-a" "f9586cfd1bce7f9c491f572a671dec593beba0d6969b54b2080907f7e0a20a7e", 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)]` (part of `#[warn(unused)]`) 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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:51 [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:67 [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:55 [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:54 [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:54 [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:54 [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:51 [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:67 [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:55 [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gain-f0ca65dac7e065f6) [INFO] [stdout] [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] [stderr] Doc-tests gain [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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f9586cfd1bce7f9c491f572a671dec593beba0d6969b54b2080907f7e0a20a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9586cfd1bce7f9c491f572a671dec593beba0d6969b54b2080907f7e0a20a7e", kill_on_drop: false }` [INFO] [stdout] f9586cfd1bce7f9c491f572a671dec593beba0d6969b54b2080907f7e0a20a7e