[INFO] cloning repository https://github.com/lctr/ignore-me [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lctr/ignore-me" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2Fignore-me", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2Fignore-me'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d65d3b5d32f182ed506d5cac4cf4aacc8bb5e561 [INFO] checking lctr/ignore-me against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2Fignore-me" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lctr/ignore-me [INFO] finished tweaking git repo https://github.com/lctr/ignore-me [INFO] tweaked toml for git repo https://github.com/lctr/ignore-me written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lctr/ignore-me on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lctr/ignore-me already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.2.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e23103525a0e1b645395ea22fa0260f456aa1af063d0f78e863491882104cd [INFO] running `Command { std: "docker" "start" "-a" "b6e23103525a0e1b645395ea22fa0260f456aa1af063d0f78e863491882104cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e23103525a0e1b645395ea22fa0260f456aa1af063d0f78e863491882104cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e23103525a0e1b645395ea22fa0260f456aa1af063d0f78e863491882104cd", kill_on_drop: false }` [INFO] [stdout] b6e23103525a0e1b645395ea22fa0260f456aa1af063d0f78e863491882104cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03651b283c6f22327136bafc55a11bb5fc175dc80d779b28856732af644eda1b [INFO] running `Command { std: "docker" "start" "-a" "03651b283c6f22327136bafc55a11bb5fc175dc80d779b28856732af644eda1b", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking clap v3.2.19 [INFO] [stderr] Checking ignore_me v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/assets.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | for rd in fs::read_dir(p) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 158 - for rd in fs::read_dir(p) { [INFO] [stdout] 158 + while let Ok(rd) = fs::read_dir(p) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 158 - for rd in fs::read_dir(p) { [INFO] [stdout] 158 + if let Ok(rd) = fs::read_dir(p) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 240 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 241 | name: impl AsRef + 'a, [INFO] [stdout] 242 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 - ) -> impl Iterator + '_ { [INFO] [stdout] 242 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 252 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 253 | name: impl AsRef + 'a, [INFO] [stdout] 254 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 254 - ) -> impl Iterator + '_ { [INFO] [stdout] 254 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:268:44 [INFO] [stdout] | [INFO] [stdout] 266 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 267 | names: impl IntoIterator + 'a, [INFO] [stdout] 268 | ) -> impl Iterator + '_ [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 268 - ) -> impl Iterator + '_ [INFO] [stdout] 268 + ) -> impl Iterator + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 278 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 279 | terms: &'a [Term], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 280 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 - ) -> impl Iterator + '_ { [INFO] [stdout] 280 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 294 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 295 | terms: &'a [Term], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 296 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 296 - ) -> impl Iterator + '_ { [INFO] [stdout] 296 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/assets.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | for rd in fs::read_dir(p) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 158 - for rd in fs::read_dir(p) { [INFO] [stdout] 158 + while let Ok(rd) = fs::read_dir(p) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 158 - for rd in fs::read_dir(p) { [INFO] [stdout] 158 + if let Ok(rd) = fs::read_dir(p) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 240 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 241 | name: impl AsRef + 'a, [INFO] [stdout] 242 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 - ) -> impl Iterator + '_ { [INFO] [stdout] 242 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 252 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 253 | name: impl AsRef + 'a, [INFO] [stdout] 254 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 254 - ) -> impl Iterator + '_ { [INFO] [stdout] 254 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:268:44 [INFO] [stdout] | [INFO] [stdout] 266 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 267 | names: impl IntoIterator + 'a, [INFO] [stdout] 268 | ) -> impl Iterator + '_ [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 268 - ) -> impl Iterator + '_ [INFO] [stdout] 268 + ) -> impl Iterator + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 278 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 279 | terms: &'a [Term], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 280 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 - ) -> impl Iterator + '_ { [INFO] [stdout] 280 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/assets.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 294 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 295 | terms: &'a [Term], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 296 | ) -> impl Iterator + '_ { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 296 - ) -> impl Iterator + '_ { [INFO] [stdout] 296 + ) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.32s [INFO] running `Command { std: "docker" "inspect" "03651b283c6f22327136bafc55a11bb5fc175dc80d779b28856732af644eda1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03651b283c6f22327136bafc55a11bb5fc175dc80d779b28856732af644eda1b", kill_on_drop: false }` [INFO] [stdout] 03651b283c6f22327136bafc55a11bb5fc175dc80d779b28856732af644eda1b