[INFO] cloning repository https://github.com/ahhcash/gallade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahhcash/gallade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahhcash%2Fgallade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahhcash%2Fgallade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1300a92385526a9f3a8af40467ae942f4ddc6450 [INFO] building ahhcash/gallade against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahhcash%2Fgallade" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahhcash/gallade [INFO] finished tweaking git repo https://github.com/ahhcash/gallade [INFO] tweaked toml for git repo https://github.com/ahhcash/gallade written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahhcash/gallade on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ahhcash/gallade 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 215d0ce522554ff76c5e1d7b45fa30a9d85cbb7375cd73c6ee3a1ecdb44c8ebf [INFO] running `Command { std: "docker" "start" "-a" "215d0ce522554ff76c5e1d7b45fa30a9d85cbb7375cd73c6ee3a1ecdb44c8ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "215d0ce522554ff76c5e1d7b45fa30a9d85cbb7375cd73c6ee3a1ecdb44c8ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215d0ce522554ff76c5e1d7b45fa30a9d85cbb7375cd73c6ee3a1ecdb44c8ebf", kill_on_drop: false }` [INFO] [stdout] 215d0ce522554ff76c5e1d7b45fa30a9d85cbb7375cd73c6ee3a1ecdb44c8ebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae4d76fd0e3639ce5e97e994e67d051d5ab738f1cbde62c9bcfa5f185e1c15ee [INFO] running `Command { std: "docker" "start" "-a" "ae4d76fd0e3639ce5e97e994e67d051d5ab738f1cbde62c9bcfa5f185e1c15ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.3 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling const-oid v0.10.0-rc.3 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling sha2 v0.11.0-pre.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling gallade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/projects.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Formatter}; [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: `std::path::Path` [INFO] [stdout] --> src/resolver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::__private_api::loc` [INFO] [stdout] --> src/resolver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::__private_api::loc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/version.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/classpath.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | .collect::>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - .collect::>() [INFO] [stdout] 66 + .collect::>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JavaEnvironment` [INFO] [stdout] --> src/build.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::classpath::{ClasspathBuilder, JavaEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/init.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/init.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `java_home` is never read [INFO] [stdout] --> src/classpath.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut java_home = PathBuf::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `java_home` is never read [INFO] [stdout] --> src/classpath.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ... java_home = PathBuf::from(home.trim()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/projects.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_dependencies(&self, path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/projects.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_dependencies(&self, path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/main.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | Commands::Tree { detailed } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `detailed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildSystemType` is never used [INFO] [stdout] --> src/projects.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BuildSystemType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dependencies` and `system_type` are never used [INFO] [stdout] --> src/projects.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait BuildSystem: Debug { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn get_dependencies(&self, path: &Path) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn system_type(&self) -> BuildSystemType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GradleBuildSystem` is never constructed [INFO] [stdout] --> src/projects.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GradleBuildSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `build_system` is never read [INFO] [stdout] --> src/projects.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Project { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 102 | root: PathBuf, [INFO] [stdout] 103 | build_system: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope` is never read [INFO] [stdout] --> src/resolver.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DependencyRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyRequest` 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: struct `ReverseDependencyGraph` is never constructed [INFO] [stdout] --> src/resolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ReverseDependencyGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_lockfile`, `add_edge`, `has_dependents`, and `get_dependents` are never used [INFO] [stdout] --> src/resolver.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ReverseDependencyGraph { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn from_lockfile(lockfile: &Lockfile) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn add_edge(&mut self, target: Coordinate, dependent: Coordinate) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn has_dependents(&self, coord: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_dependents(&self, coord: &Coordinate) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Classpath` is never used [INFO] [stdout] --> src/classpath.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Classpath = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_repo` is never used [INFO] [stdout] --> src/classpath.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ClasspathBuilder { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_repo(&mut self, repo: Repository) -> &Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JavaEnvironment` is never constructed [INFO] [stdout] --> src/classpath.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct JavaEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/classpath.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl JavaEnvironment { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(classpath: String) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/init.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProjectInitializer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "ae4d76fd0e3639ce5e97e994e67d051d5ab738f1cbde62c9bcfa5f185e1c15ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4d76fd0e3639ce5e97e994e67d051d5ab738f1cbde62c9bcfa5f185e1c15ee", kill_on_drop: false }` [INFO] [stdout] ae4d76fd0e3639ce5e97e994e67d051d5ab738f1cbde62c9bcfa5f185e1c15ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb260480e757aa2861d225422af6d2e3ad21b12697c45833fa71ae4849124d95 [INFO] running `Command { std: "docker" "start" "-a" "cb260480e757aa2861d225422af6d2e3ad21b12697c45833fa71ae4849124d95", kill_on_drop: false }` [INFO] [stderr] Compiling gallade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/projects.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Formatter}; [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: `std::fs::File` [INFO] [stdout] --> src/repository.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/resolver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::__private_api::loc` [INFO] [stdout] --> src/resolver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::__private_api::loc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/classpath.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | .collect::>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - .collect::>() [INFO] [stdout] 66 + .collect::>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JavaEnvironment` [INFO] [stdout] --> src/build.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::classpath::{ClasspathBuilder, JavaEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/init.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/init.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/projects.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_dependencies(&self, path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `java_home` is never read [INFO] [stdout] --> src/classpath.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut java_home = PathBuf::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `java_home` is never read [INFO] [stdout] --> src/classpath.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ... java_home = PathBuf::from(home.trim()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/projects.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_dependencies(&self, path: &Path) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/main.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | Commands::Tree { detailed } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `detailed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildSystemType` is never used [INFO] [stdout] --> src/projects.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BuildSystemType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dependencies` and `system_type` are never used [INFO] [stdout] --> src/projects.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait BuildSystem: Debug { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn get_dependencies(&self, path: &Path) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn system_type(&self) -> BuildSystemType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GradleBuildSystem` is never constructed [INFO] [stdout] --> src/projects.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GradleBuildSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `build_system` is never read [INFO] [stdout] --> src/projects.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Project { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 102 | root: PathBuf, [INFO] [stdout] 103 | build_system: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope` is never read [INFO] [stdout] --> src/resolver.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DependencyRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyRequest` 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: struct `ReverseDependencyGraph` is never constructed [INFO] [stdout] --> src/resolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ReverseDependencyGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_lockfile`, `add_edge`, `has_dependents`, and `get_dependents` are never used [INFO] [stdout] --> src/resolver.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ReverseDependencyGraph { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn from_lockfile(lockfile: &Lockfile) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn add_edge(&mut self, target: Coordinate, dependent: Coordinate) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn has_dependents(&self, coord: &Coordinate) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_dependents(&self, coord: &Coordinate) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Classpath` is never used [INFO] [stdout] --> src/classpath.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Classpath = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_repo` is never used [INFO] [stdout] --> src/classpath.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ClasspathBuilder { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_repo(&mut self, repo: Repository) -> &Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JavaEnvironment` is never constructed [INFO] [stdout] --> src/classpath.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct JavaEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/classpath.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl JavaEnvironment { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(classpath: String) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/init.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProjectInitializer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "cb260480e757aa2861d225422af6d2e3ad21b12697c45833fa71ae4849124d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb260480e757aa2861d225422af6d2e3ad21b12697c45833fa71ae4849124d95", kill_on_drop: false }` [INFO] [stdout] cb260480e757aa2861d225422af6d2e3ad21b12697c45833fa71ae4849124d95