[INFO] fetching crate ringbuffer 0.15.0... [INFO] checking ringbuffer-0.15.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ringbuffer 0.15.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ringbuffer 0.15.0 [INFO] finished tweaking crates.io crate ringbuffer 0.15.0 [INFO] tweaked toml for crates.io crate ringbuffer 0.15.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ringbuffer 0.15.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.10.2 (available: v0.11.2) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4f7ecbf87fef7a69cfce143744a8f44ae07ba06831370760a31f6a57e519c25 [INFO] running `Command { std: "docker" "start" "-a" "b4f7ecbf87fef7a69cfce143744a8f44ae07ba06831370760a31f6a57e519c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f7ecbf87fef7a69cfce143744a8f44ae07ba06831370760a31f6a57e519c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f7ecbf87fef7a69cfce143744a8f44ae07ba06831370760a31f6a57e519c25", kill_on_drop: false }` [INFO] [stdout] b4f7ecbf87fef7a69cfce143744a8f44ae07ba06831370760a31f6a57e519c25 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da08bdb889d7819d7767454ae3b8f05c8f223590d915465738d7fc1e4b7690b [INFO] running `Command { std: "docker" "start" "-a" "9da08bdb889d7819d7767454ae3b8f05c8f223590d915465738d7fc1e4b7690b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling compiletest_rs v0.10.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking ringbuffer v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ringbuffer_trait.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn drain(&mut self) -> RingBufferDrainingIterator { [INFO] [stdout] | ^^^^^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn drain(&mut self) -> RingBufferDrainingIterator<'_, T, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ringbuffer_trait.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | fn iter_mut(&mut self) -> RingBufferMutIterator { [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] 222 | fn iter_mut(&mut self) -> RingBufferMutIterator<'_, T, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ringbuffer_trait.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | fn iter(&self) -> RingBufferIterator { [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] 229 | fn iter(&self) -> RingBufferIterator<'_, T, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ringbuffer` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9da08bdb889d7819d7767454ae3b8f05c8f223590d915465738d7fc1e4b7690b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da08bdb889d7819d7767454ae3b8f05c8f223590d915465738d7fc1e4b7690b", kill_on_drop: false }` [INFO] [stdout] 9da08bdb889d7819d7767454ae3b8f05c8f223590d915465738d7fc1e4b7690b