[INFO] cloning repository https://github.com/bitwalker/litcheck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitwalker/litcheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e6f3b3c1f78c79330c7b72f97a6ddc30e41880b [INFO] checking bitwalker/litcheck against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitwalker%2Flitcheck" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bitwalker/litcheck [INFO] finished tweaking git repo https://github.com/bitwalker/litcheck [INFO] tweaked toml for git repo https://github.com/bitwalker/litcheck written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bitwalker/litcheck on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bitwalker/litcheck 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49f5f7d64be18da503f6957a344a89e1d6ca2c43869c0ad0d5c9f83fd4d0e831 [INFO] running `Command { std: "docker" "start" "-a" "49f5f7d64be18da503f6957a344a89e1d6ca2c43869c0ad0d5c9f83fd4d0e831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49f5f7d64be18da503f6957a344a89e1d6ca2c43869c0ad0d5c9f83fd4d0e831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f5f7d64be18da503f6957a344a89e1d6ca2c43869c0ad0d5c9f83fd4d0e831", kill_on_drop: false }` [INFO] [stdout] 49f5f7d64be18da503f6957a344a89e1d6ca2c43869c0ad0d5c9f83fd4d0e831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e25376b954314932aba1c4009cac7acdfe8695d66bb76497efde90021d8d67c [INFO] running `Command { std: "docker" "start" "-a" "9e25376b954314932aba1c4009cac7acdfe8695d66bb76497efde90021d8d67c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking supports-unicode v2.0.0 [INFO] [stderr] Checking clap_builder v4.4.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling lalrpop-util v0.20.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking intrusive-collections v0.9.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking assert_cmd v2.0.13 [INFO] [stderr] Checking clap v4.4.16 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking litcheck-core v0.2.2 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking litcheck-lit v0.2.2 (/opt/rustwide/workdir/lit) [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> lit/src/formats/sh/script/directives.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait Directive: Any + fmt::Debug + Spanned { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 83 | fn kind(&self) -> DirectiveKind; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> lit/src/formats/sh/script/directives.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait Directive: Any + fmt::Debug + Spanned { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 83 | fn kind(&self) -> DirectiveKind; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling litcheck-filecheck v0.2.2 (/opt/rustwide/workdir/filecheck) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/pattern/matcher/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> MatcherMut for (dyn DynMatcher + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - impl<'a> MatcherMut for (dyn DynMatcher + 'a) { [INFO] [stdout] 96 + impl<'a> MatcherMut for dyn DynMatcher + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/pattern/matcher/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | impl<'a> MatcherMut for (dyn DynMatcherMut + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - impl<'a> MatcherMut for (dyn DynMatcherMut + 'a) { [INFO] [stdout] 143 + impl<'a> MatcherMut for dyn DynMatcherMut + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/rules/mod.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'context> Rule for (dyn DynRule + 'context) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - impl<'context> Rule for (dyn DynRule + 'context) { [INFO] [stdout] 63 + impl<'context> Rule for dyn DynRule + 'context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/pattern/matcher/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> MatcherMut for (dyn DynMatcher + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - impl<'a> MatcherMut for (dyn DynMatcher + 'a) { [INFO] [stdout] 96 + impl<'a> MatcherMut for dyn DynMatcher + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/pattern/matcher/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | impl<'a> MatcherMut for (dyn DynMatcherMut + 'a) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - impl<'a> MatcherMut for (dyn DynMatcherMut + 'a) { [INFO] [stdout] 143 + impl<'a> MatcherMut for dyn DynMatcherMut + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> filecheck/src/rules/mod.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'context> Rule for (dyn DynRule + 'context) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - impl<'context> Rule for (dyn DynRule + 'context) { [INFO] [stdout] 63 + impl<'context> Rule for dyn DynRule + 'context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> filecheck/src/parse/lexer/patterns.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub raw: String, [INFO] [stdout] 11 | pub prefix: Prefix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking litcheck v0.2.2 (/opt/rustwide/workdir/litcheck) [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> filecheck/src/parse/lexer/patterns.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub raw: String, [INFO] [stdout] 11 | pub prefix: Prefix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.91s [INFO] running `Command { std: "docker" "inspect" "9e25376b954314932aba1c4009cac7acdfe8695d66bb76497efde90021d8d67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e25376b954314932aba1c4009cac7acdfe8695d66bb76497efde90021d8d67c", kill_on_drop: false }` [INFO] [stdout] 9e25376b954314932aba1c4009cac7acdfe8695d66bb76497efde90021d8d67c