[INFO] fetching crate gain 0.5.0... [INFO] testing gain-0.5.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gain 0.5.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gain 0.5.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-task v1.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13980d1e76262912f9ac7c63225f86f72fbf174166ed53d7c92a8f2d6b358f0d [INFO] running `Command { std: "docker" "start" "-a" "13980d1e76262912f9ac7c63225f86f72fbf174166ed53d7c92a8f2d6b358f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13980d1e76262912f9ac7c63225f86f72fbf174166ed53d7c92a8f2d6b358f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13980d1e76262912f9ac7c63225f86f72fbf174166ed53d7c92a8f2d6b358f0d", kill_on_drop: false }` [INFO] [stdout] 13980d1e76262912f9ac7c63225f86f72fbf174166ed53d7c92a8f2d6b358f0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3498af6d6155a5ec49568f2b6173881c1e85b47d92bd249916f7ad524356141e [INFO] running `Command { std: "docker" "start" "-a" "3498af6d6155a5ec49568f2b6173881c1e85b47d92bd249916f7ad524356141e", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.01s [INFO] running `Command { std: "docker" "inspect" "3498af6d6155a5ec49568f2b6173881c1e85b47d92bd249916f7ad524356141e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3498af6d6155a5ec49568f2b6173881c1e85b47d92bd249916f7ad524356141e", kill_on_drop: false }` [INFO] [stdout] 3498af6d6155a5ec49568f2b6173881c1e85b47d92bd249916f7ad524356141e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 39d3a02c21b1cdfec67b025ce151bd5fcf3bd9bbdd088b555d3945da8908f0aa [INFO] running `Command { std: "docker" "start" "-a" "39d3a02c21b1cdfec67b025ce151bd5fcf3bd9bbdd088b555d3945da8908f0aa", 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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] [stderr] Compiling gain v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/threadunsafe.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "39d3a02c21b1cdfec67b025ce151bd5fcf3bd9bbdd088b555d3945da8908f0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d3a02c21b1cdfec67b025ce151bd5fcf3bd9bbdd088b555d3945da8908f0aa", kill_on_drop: false }` [INFO] [stdout] 39d3a02c21b1cdfec67b025ce151bd5fcf3bd9bbdd088b555d3945da8908f0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f5a98b0fdc0aae0ae108ceb9273a697a89418732662f7acfde4a41b23468d12b [INFO] running `Command { std: "docker" "start" "-a" "f5a98b0fdc0aae0ae108ceb9273a697a89418732662f7acfde4a41b23468d12b", 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 167 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 209 | fn recv(&mut self, capacity: usize, receptor: R) -> future::Recv<'_, R> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/threadunsafe.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn borrow(&self) -> Ref { [INFO] [stderr] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 39 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/threadunsafe.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gain-e2c49f923735365b) [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] running `Command { std: "docker" "inspect" "f5a98b0fdc0aae0ae108ceb9273a697a89418732662f7acfde4a41b23468d12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a98b0fdc0aae0ae108ceb9273a697a89418732662f7acfde4a41b23468d12b", kill_on_drop: false }` [INFO] [stdout] f5a98b0fdc0aae0ae108ceb9273a697a89418732662f7acfde4a41b23468d12b