[INFO] fetching crate kotoba-linter 0.1.16... [INFO] testing kotoba-linter-0.1.16 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kotoba-linter 0.1.16 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate kotoba-linter 0.1.16 [INFO] finished tweaking crates.io crate kotoba-linter 0.1.16 [INFO] tweaked toml for crates.io crate kotoba-linter 0.1.16 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kotoba-linter 0.1.16 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] crate crates.io crate kotoba-linter 0.1.16 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6971000c11abfb88edc14a77915b3e42b1f960f28c46d9f6da6448557e466d34 [INFO] running `Command { std: "docker" "start" "-a" "6971000c11abfb88edc14a77915b3e42b1f960f28c46d9f6da6448557e466d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6971000c11abfb88edc14a77915b3e42b1f960f28c46d9f6da6448557e466d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6971000c11abfb88edc14a77915b3e42b1f960f28c46d9f6da6448557e466d34", kill_on_drop: false }` [INFO] [stdout] 6971000c11abfb88edc14a77915b3e42b1f960f28c46d9f6da6448557e466d34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1cfa2d521b289ede2c2bc96fbf4c98df8af67ab45aa9631fce7c0cc7097d8a93 [INFO] running `Command { std: "docker" "start" "-a" "1cfa2d521b289ede2c2bc96fbf4c98df8af67ab45aa9631fce7c0cc7097d8a93", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling kotoba-errors v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling kotoba-core v0.1.19 [INFO] [stderr] Compiling kotoba-linter v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/diagnostics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/rules.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for (line_num, line) in content.lines().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Linter { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 217 | config: LinterConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoUnusedVarsRule { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct NoShadowingRule { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 92 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct ConsistentIndentationRule { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 148 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct TrailingWhitespaceRule { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 233 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct MissingSemicolonsRule { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 278 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct NamingConventionRule { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 347 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct ComplexityRule { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 402 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "1cfa2d521b289ede2c2bc96fbf4c98df8af67ab45aa9631fce7c0cc7097d8a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfa2d521b289ede2c2bc96fbf4c98df8af67ab45aa9631fce7c0cc7097d8a93", kill_on_drop: false }` [INFO] [stdout] 1cfa2d521b289ede2c2bc96fbf4c98df8af67ab45aa9631fce7c0cc7097d8a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7bf400b687e6b4a5727166b38fd0492ec9c082e18ea5f9547ad90644b56730e8 [INFO] running `Command { std: "docker" "start" "-a" "7bf400b687e6b4a5727166b38fd0492ec9c082e18ea5f9547ad90644b56730e8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling kotoba-core v0.1.19 [INFO] [stderr] Compiling kotoba-linter v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/diagnostics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/rules.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for (line_num, line) in content.lines().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Linter { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 217 | config: LinterConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoUnusedVarsRule { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct NoShadowingRule { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 92 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct ConsistentIndentationRule { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 148 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct TrailingWhitespaceRule { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 233 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct MissingSemicolonsRule { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 278 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct NamingConventionRule { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 347 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct ComplexityRule { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 402 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/diagnostics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/rules.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for (line_num, line) in content.lines().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Linter { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 217 | config: LinterConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NoUnusedVarsRule { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct NoShadowingRule { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 92 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct ConsistentIndentationRule { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 148 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct TrailingWhitespaceRule { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 233 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct MissingSemicolonsRule { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 278 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct NamingConventionRule { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 347 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/rules.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct ComplexityRule { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 402 | config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.39s [INFO] running `Command { std: "docker" "inspect" "7bf400b687e6b4a5727166b38fd0492ec9c082e18ea5f9547ad90644b56730e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf400b687e6b4a5727166b38fd0492ec9c082e18ea5f9547ad90644b56730e8", kill_on_drop: false }` [INFO] [stdout] 7bf400b687e6b4a5727166b38fd0492ec9c082e18ea5f9547ad90644b56730e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6a08542386d5398c703606244fd1d10a9d599db8cdd751f1522dc6511d904cb1 [INFO] running `Command { std: "docker" "start" "-a" "6a08542386d5398c703606244fd1d10a9d599db8cdd751f1522dc6511d904cb1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> src/lib.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/diagnostics.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_num` [INFO] [stderr] --> src/rules.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | for (line_num, line) in content.lines().enumerate() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/lib.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 216 | pub struct Linter { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 217 | config: LinterConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct NoUnusedVarsRule { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 25 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct NoShadowingRule { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 92 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 147 | pub struct ConsistentIndentationRule { [INFO] [stderr] | ------------------------- field in this struct [INFO] [stderr] 148 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct TrailingWhitespaceRule { [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] 233 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 277 | pub struct MissingSemicolonsRule { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 278 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 346 | pub struct NamingConventionRule { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 347 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/rules.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 401 | pub struct ComplexityRule { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 402 | config: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kotoba-linter` (lib) generated 11 warnings (run `cargo fix --lib -p kotoba-linter` to apply 2 suggestions) [INFO] [stderr] warning: `kotoba-linter` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kotoba_linter-e3f9f7180ea3478d) [INFO] [stdout] [INFO] [stderr] Doc-tests kotoba_linter [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a08542386d5398c703606244fd1d10a9d599db8cdd751f1522dc6511d904cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a08542386d5398c703606244fd1d10a9d599db8cdd751f1522dc6511d904cb1", kill_on_drop: false }` [INFO] [stdout] 6a08542386d5398c703606244fd1d10a9d599db8cdd751f1522dc6511d904cb1