[INFO] fetching crate multistream-batch 1.2.0... [INFO] testing multistream-batch-1.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate multistream-batch 1.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate multistream-batch 1.2.0 [INFO] finished tweaking crates.io crate multistream-batch 1.2.0 [INFO] tweaked toml for crates.io crate multistream-batch 1.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate multistream-batch 1.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba8ea90316eca61fa6eb1f19bcc3e339a18b4e389bb9ea02c9bdf3bf6afb3e0d [INFO] running `Command { std: "docker" "start" "-a" "ba8ea90316eca61fa6eb1f19bcc3e339a18b4e389bb9ea02c9bdf3bf6afb3e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba8ea90316eca61fa6eb1f19bcc3e339a18b4e389bb9ea02c9bdf3bf6afb3e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8ea90316eca61fa6eb1f19bcc3e339a18b4e389bb9ea02c9bdf3bf6afb3e0d", kill_on_drop: false }` [INFO] [stdout] ba8ea90316eca61fa6eb1f19bcc3e339a18b4e389bb9ea02c9bdf3bf6afb3e0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c4eb6fc3b5ac3268af1cad1f448ad9f63ba2263070a8f26203e8691b1322b5 [INFO] running `Command { std: "docker" "start" "-a" "64c4eb6fc3b5ac3268af1cad1f448ad9f63ba2263070a8f26203e8691b1322b5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling multistream-batch v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buf_batch.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn drain(&mut self) -> Drain { [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] 203 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain), EndOfStreamError> { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [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 `'i` [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain<'i, I>), EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn drain(&mut self, key: &K) -> Option> { [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] 253 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn drain(&mut self) -> Drain { [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] 123 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn drain(&mut self) -> Drain { [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] 295 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multi_buf_batch.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn drain(&mut self, key: &K) -> Option> { [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] 181 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "64c4eb6fc3b5ac3268af1cad1f448ad9f63ba2263070a8f26203e8691b1322b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c4eb6fc3b5ac3268af1cad1f448ad9f63ba2263070a8f26203e8691b1322b5", kill_on_drop: false }` [INFO] [stdout] 64c4eb6fc3b5ac3268af1cad1f448ad9f63ba2263070a8f26203e8691b1322b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ed7c77d81ebf2d9cfeee5a333ea9c1d3958e3c05037b14b4bc0a3ff700045b0 [INFO] running `Command { std: "docker" "start" "-a" "0ed7c77d81ebf2d9cfeee5a333ea9c1d3958e3c05037b14b4bc0a3ff700045b0", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buf_batch.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn drain(&mut self) -> Drain { [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] 203 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain), EndOfStreamError> { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [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 `'i` [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain<'i, I>), EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn drain(&mut self, key: &K) -> Option> { [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] 253 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn drain(&mut self) -> Drain { [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] 123 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn drain(&mut self) -> Drain { [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] 295 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multi_buf_batch.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn drain(&mut self, key: &K) -> Option> { [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] 181 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling multistream-batch v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buf_batch.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/buf_batch.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn drain(&mut self) -> Drain { [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] 203 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain), EndOfStreamError> { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [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 `'i` [INFO] [stdout] | [INFO] [stdout] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain<'i, I>), EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/multi_buf_batch.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn drain(&mut self, key: &K) -> Option> { [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] 253 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn drain(&mut self) -> Drain { [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] 123 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/channel/tx_buf_batch.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn drain(&mut self) -> Drain { [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] 295 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multi_buf_batch.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn drain(&mut self, key: &K) -> Option> { [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] 181 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "0ed7c77d81ebf2d9cfeee5a333ea9c1d3958e3c05037b14b4bc0a3ff700045b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed7c77d81ebf2d9cfeee5a333ea9c1d3958e3c05037b14b4bc0a3ff700045b0", kill_on_drop: false }` [INFO] [stdout] 0ed7c77d81ebf2d9cfeee5a333ea9c1d3958e3c05037b14b4bc0a3ff700045b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a06936264e08a3975f908833bf8dc276dd0b0e5cb60a8e317d399658277d1e9 [INFO] running `Command { std: "docker" "start" "-a" "7a06936264e08a3975f908833bf8dc276dd0b0e5cb60a8e317d399658277d1e9", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buf_batch.rs:97:18 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn drain(&mut self) -> Drain { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/buf_batch.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 144 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/buf_batch.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | pub fn drain(&mut self) -> Drain { [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] 203 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/channel/multi_buf_batch.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain), EndOfStreamError> { [INFO] [stderr] | ^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [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 `'i` [INFO] [stderr] | [INFO] [stderr] 181 | pub fn next<'i>(&'i mut self) -> Result<(K, Drain<'i, I>), EndOfStreamError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/multi_buf_batch.rs:253:18 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn drain(&mut self, key: &K) -> Option> { [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] 253 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/tx_buf_batch.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn drain(&mut self) -> Drain { [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] 123 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/tx_buf_batch.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [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] 205 | pub fn next(&mut self) -> Result, EndOfStreamError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/channel/tx_buf_batch.rs:295:18 [INFO] [stderr] | [INFO] [stderr] 295 | pub fn drain(&mut self) -> Drain { [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] 295 | pub fn drain(&mut self) -> Drain<'_, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/multi_buf_batch.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn drain(&mut self, key: &K) -> Option> { [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] 181 | pub fn drain(&mut self, key: &K) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `multistream-batch` (lib) generated 9 warnings (run `cargo fix --lib -p multistream-batch` to apply 9 suggestions) [INFO] [stderr] warning: `multistream-batch` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/multistream_batch-b55e3bc4b02b806c) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test buf_batch::tests::test_batch_poll ... ok [INFO] [stdout] test buf_batch::tests::test_drain_stream ... ok [INFO] [stdout] test buf_batch::tests::test_batch_max_size ... ok [INFO] [stdout] test channel::buf_batch::tests::test_batch_max_size ... ok [INFO] [stdout] test channel::buf_batch::tests::test_batch_command_complete ... ok [INFO] [stdout] test channel::buf_batch::tests::test_drain_to_end ... ok [INFO] [stdout] test channel::buf_batch::tests::test_batch_disconnected ... ok [INFO] [stdout] test channel::buf_batch::tests::test_batch_with_producer_thread ... ok [INFO] [stdout] test channel::multi_buf_batch::tests::test_batch_disconnected ... ok [INFO] [stdout] test channel::multi_buf_batch::tests::test_batch_drain ... ok [INFO] [stdout] test channel::multi_buf_batch::tests::test_batch_max_size ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_pop ... ok [INFO] [stdout] test channel::multi_buf_batch::tests::test_batch_with_producer_thread ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_retry ... ok [INFO] [stdout] test multi_buf_batch::tests::test_batch_poll ... ok [INFO] [stdout] test multi_buf_batch::tests::test_drain_stream ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_with_producer_thread ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_command_complete ... ok [INFO] [stdout] test multi_buf_batch::tests::test_flush ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_drain_to_end ... ok [INFO] [stdout] test multi_buf_batch::tests::test_batch_max_size ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_disconnected ... ok [INFO] [stdout] test buf_batch::tests::test_batch_max_duration ... ok [INFO] [stdout] test channel::buf_batch::tests::test_batch_max_duration ... ok [INFO] [stdout] test multi_buf_batch::tests::test_batch_max_duration ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_max_duration ... ok [INFO] [stdout] test channel::multi_buf_batch::tests::test_batch_max_duration ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_empty ... ok [INFO] [stdout] test channel::tx_buf_batch::tests::test_batch_commit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.01s [INFO] [stdout] [INFO] [stderr] Doc-tests multistream_batch [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/channel/tx_buf_batch.rs - channel::tx_buf_batch (line 7) ... ok [INFO] [stdout] test src/channel/multi_buf_batch.rs - channel::multi_buf_batch (line 8) ... ok [INFO] [stdout] test src/channel/buf_batch.rs - channel::buf_batch (line 8) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a06936264e08a3975f908833bf8dc276dd0b0e5cb60a8e317d399658277d1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a06936264e08a3975f908833bf8dc276dd0b0e5cb60a8e317d399658277d1e9", kill_on_drop: false }` [INFO] [stdout] 7a06936264e08a3975f908833bf8dc276dd0b0e5cb60a8e317d399658277d1e9