[INFO] fetching crate cheats 0.4.0... [INFO] checking cheats-0.4.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate cheats 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cheats 0.4.0 [INFO] finished tweaking crates.io crate cheats 0.4.0 [INFO] tweaked toml for crates.io crate cheats 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cheats 0.4.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding logos v0.11.4 (available: v0.15.0) [INFO] [stderr] Adding rstest v0.6.4 (available: v0.25.0) [INFO] [stderr] Adding snafu v0.6.10 (available: v0.8.6) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fdd1a5a44c36322b8a3556056c18492476b4ec8d7f94972d6e068e5c47df04d6 [INFO] running `Command { std: "docker" "start" "-a" "fdd1a5a44c36322b8a3556056c18492476b4ec8d7f94972d6e068e5c47df04d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdd1a5a44c36322b8a3556056c18492476b4ec8d7f94972d6e068e5c47df04d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd1a5a44c36322b8a3556056c18492476b4ec8d7f94972d6e068e5c47df04d6", kill_on_drop: false }` [INFO] [stdout] fdd1a5a44c36322b8a3556056c18492476b4ec8d7f94972d6e068e5c47df04d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 95ccf4c05fbb3bdccb0e1fc834c780df8a0b10616aea003d5b1f0ff65ef06883 [INFO] running `Command { std: "docker" "start" "-a" "95ccf4c05fbb3bdccb0e1fc834c780df8a0b10616aea003d5b1f0ff65ef06883", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rstest v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking cheats v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn register(&mut self, name: &'a str, invokable: Box) -> ShellResult<()> { [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] 277 | pub fn register(&mut self, name: &'a str, invokable: Box) -> ShellResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> { [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] 302 | pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/code.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new(name: &'a str, invokable: Box) -> CodeResult { [INFO] [stdout] | ^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new(name: &'a str, invokable: Box) -> CodeResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn register(&mut self, name: &'a str, invokable: Box) -> ShellResult<()> { [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] 277 | pub fn register(&mut self, name: &'a str, invokable: Box) -> ShellResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn unregister(&mut self, name: &'a str) -> ShellResult<()> { [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] 302 | pub fn unregister(&mut self, name: &'a str) -> ShellResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/code.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new(name: &'a str, invokable: Box) -> CodeResult { [INFO] [stdout] | ^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new(name: &'a str, invokable: Box) -> CodeResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.40s [INFO] running `Command { std: "docker" "inspect" "95ccf4c05fbb3bdccb0e1fc834c780df8a0b10616aea003d5b1f0ff65ef06883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ccf4c05fbb3bdccb0e1fc834c780df8a0b10616aea003d5b1f0ff65ef06883", kill_on_drop: false }` [INFO] [stdout] 95ccf4c05fbb3bdccb0e1fc834c780df8a0b10616aea003d5b1f0ff65ef06883