[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahhcash%2Fgallade" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahhcash/gallade on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate64 v0.1.9 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded rust-embed-utils v8.5.0 [INFO] [stderr] Downloaded cc v1.2.9 [INFO] [stderr] Downloaded lzma-rs v0.3.0 [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded rust-embed-impl v8.5.0 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.3 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded system-configuration v0.6.1 [INFO] [stderr] Downloaded digest v0.11.0-pre.9 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded async-trait v0.1.85 [INFO] [stderr] Downloaded semver v1.0.24 [INFO] [stderr] Downloaded const-oid v0.10.0-rc.3 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded zip v2.2.2 [INFO] [stderr] Downloaded hybrid-array v0.2.3 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded system-configuration-sys v0.6.0 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded quick-xml v0.37.2 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Downloaded rust-embed v8.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d9cc6b1faad7a655dad63763fc9134afbd68e0fcbd09bd1dde14bf1a2bcf2fd [INFO] running `Command { std: "docker" "start" "-a" "2d9cc6b1faad7a655dad63763fc9134afbd68e0fcbd09bd1dde14bf1a2bcf2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d9cc6b1faad7a655dad63763fc9134afbd68e0fcbd09bd1dde14bf1a2bcf2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9cc6b1faad7a655dad63763fc9134afbd68e0fcbd09bd1dde14bf1a2bcf2fd", kill_on_drop: false }` [INFO] [stdout] 2d9cc6b1faad7a655dad63763fc9134afbd68e0fcbd09bd1dde14bf1a2bcf2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2df307b9be6d65015912f35fea0809c8ec0227fda724f5cd0249f7634593898f [INFO] running `Command { std: "docker" "start" "-a" "2df307b9be6d65015912f35fea0809c8ec0227fda724f5cd0249f7634593898f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.3 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling const-oid v0.10.0-rc.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling sha2 v0.11.0-pre.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling hyper v1.5.2 [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: 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: 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: `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 1m 34s [INFO] running `Command { std: "docker" "inspect" "2df307b9be6d65015912f35fea0809c8ec0227fda724f5cd0249f7634593898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df307b9be6d65015912f35fea0809c8ec0227fda724f5cd0249f7634593898f", kill_on_drop: false }` [INFO] [stdout] 2df307b9be6d65015912f35fea0809c8ec0227fda724f5cd0249f7634593898f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 004eae4875d0aba6af941b5391bc8263dbf509cce21e012639433617f568c6dd [INFO] running `Command { std: "docker" "start" "-a" "004eae4875d0aba6af941b5391bc8263dbf509cce21e012639433617f568c6dd", 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: 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: 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: `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.51s [INFO] running `Command { std: "docker" "inspect" "004eae4875d0aba6af941b5391bc8263dbf509cce21e012639433617f568c6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "004eae4875d0aba6af941b5391bc8263dbf509cce21e012639433617f568c6dd", kill_on_drop: false }` [INFO] [stdout] 004eae4875d0aba6af941b5391bc8263dbf509cce21e012639433617f568c6dd