[INFO] cloning repository https://github.com/takeshiD/luascan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takeshiD/luascan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fluascan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fluascan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b0f76c1595244b53d2d3b1d999be354ac5469d7 [INFO] linting takeshiD/luascan/9b0f76c1595244b53d2d3b1d999be354ac5469d7 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fluascan" "/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/takeshiD/luascan [INFO] finished tweaking git repo https://github.com/takeshiD/luascan [INFO] tweaked toml for git repo https://github.com/takeshiD/luascan written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/takeshiD/luascan on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/takeshiD/luascan 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.9.7 [INFO] [stderr] Downloaded serde_spanned v1.0.2 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded full_moon_derive v0.11.0 [INFO] [stderr] Downloaded auto_impl v1.3.0 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded toml_writer v1.0.3 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded full_moon v2.0.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfbe4ae9ab1399905aa08edd578bb6a7a57cf3c674f0ba91355ea755a7874ff7 [INFO] running `Command { std: "docker" "start" "-a" "dfbe4ae9ab1399905aa08edd578bb6a7a57cf3c674f0ba91355ea755a7874ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfbe4ae9ab1399905aa08edd578bb6a7a57cf3c674f0ba91355ea755a7874ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbe4ae9ab1399905aa08edd578bb6a7a57cf3c674f0ba91355ea755a7874ff7", kill_on_drop: false }` [INFO] [stdout] dfbe4ae9ab1399905aa08edd578bb6a7a57cf3c674f0ba91355ea755a7874ff7 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b8ab57b6b1545612796625a9b7c81eeab419cbc21a085c31f0185553962080 [INFO] running `Command { std: "docker" "start" "-a" "87b8ab57b6b1545612796625a9b7c81eeab419cbc21a085c31f0185553962080", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking xdg v3.0.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Compiling full_moon_derive v0.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking full_moon v2.0.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking luascan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/lsp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/lsp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let mut path = PathBuf::from(url.path()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn handle_check(options: CheckOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `config` are never read [INFO] [stdout] --> src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CheckOptions { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | pub target: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/cli.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LspOptions { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LspOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `config_path` is never used [INFO] [stdout] --> src/config.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn config_path(dir: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LuascanError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuascanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_doc` is never used [INFO] [stdout] --> src/lsp.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl Backend { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | async fn get_doc(&self, path: PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let mut path = PathBuf::from(url.path()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn handle_check(options: CheckOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `config` are never read [INFO] [stdout] --> src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CheckOptions { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | pub target: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/cli.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LspOptions { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LspOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `config_path` is never used [INFO] [stdout] --> src/config.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn config_path(dir: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LuascanError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuascanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_doc` is never used [INFO] [stdout] --> src/lsp.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl Backend { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | async fn get_doc(&self, path: PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.66s [INFO] running `Command { std: "docker" "inspect" "87b8ab57b6b1545612796625a9b7c81eeab419cbc21a085c31f0185553962080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b8ab57b6b1545612796625a9b7c81eeab419cbc21a085c31f0185553962080", kill_on_drop: false }` [INFO] [stdout] 87b8ab57b6b1545612796625a9b7c81eeab419cbc21a085c31f0185553962080