[INFO] fetching crate jcargo 0.2.0... [INFO] checking jcargo-0.2.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate jcargo 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate jcargo 0.2.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jcargo 0.2.0 [INFO] finished tweaking crates.io crate jcargo 0.2.0 [INFO] tweaked toml for crates.io crate jcargo 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate jcargo 0.2.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded lazy-regex v2.2.2 [INFO] [stderr] Downloaded async-oncecell v0.2.0 [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] [stderr] Downloaded futures-task v0.3.19 [INFO] [stderr] Downloaded futures-executor v0.3.19 [INFO] [stderr] Downloaded futures-channel v0.3.19 [INFO] [stderr] Downloaded socket2 v0.4.2 [INFO] [stderr] Downloaded futures v0.3.19 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded structopt v0.3.25 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded h2 v0.3.10 [INFO] [stderr] Downloaded hyper v0.14.16 [INFO] [stderr] Downloaded futures-util v0.3.19 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded futures-io v0.3.19 [INFO] [stderr] Downloaded futures-macro v0.3.19 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Downloaded security-framework-sys v2.4.2 [INFO] [stderr] Downloaded tokio v1.15.0 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c48ab30531d0ce85a718173bf82e5460356deb2b38633284a118e77bd07e60 [INFO] running `Command { std: "docker" "start" "-a" "e5c48ab30531d0ce85a718173bf82e5460356deb2b38633284a118e77bd07e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c48ab30531d0ce85a718173bf82e5460356deb2b38633284a118e77bd07e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c48ab30531d0ce85a718173bf82e5460356deb2b38633284a118e77bd07e60", kill_on_drop: false }` [INFO] [stdout] e5c48ab30531d0ce85a718173bf82e5460356deb2b38633284a118e77bd07e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 521374d58bca0d18328f2122ec80c9e2f58d1dbe9c1ef5a7af6cb71775b72b0d [INFO] running `Command { std: "docker" "start" "-a" "521374d58bca0d18328f2122ec80c9e2f58d1dbe9c1ef5a7af6cb71775b72b0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Checking lazy-regex v2.2.2 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking async-oncecell v0.2.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking jcargo v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/dependencies/mavenpom.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MavenMetadata`, `Versioning`, and `Versions` [INFO] [stdout] --> src/dependencies/maven_metadata.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::dependencies::maven_metadata::{MavenMetadata, Versioning, Versions}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrypoint_name` [INFO] [stdout] --> src/tasks.rs:510:49 [INFO] [stdout] | [INFO] [stdout] 510 | async fn generate_jar_manifest(module: &Module, entrypoint_name: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrypoint_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrypoint_name` [INFO] [stdout] --> src/tasks.rs:510:49 [INFO] [stdout] | [INFO] [stdout] 510 | async fn generate_jar_manifest(module: &Module, entrypoint_name: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrypoint_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut cmd = process::Command::new(kotlinc_path()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut cmd = process::Command::new(kotlinc_path()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pom` [INFO] [stdout] --> src/dependencies/mavenpom.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let pom = MavenPom::parse(&text)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | #[structopt(short, long)] [INFO] [stdout] 24 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/dependencies/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Dependencies { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JcargoGit`, `JcargoLocal`, and `PrebuiltLocal` are never constructed [INFO] [stdout] --> src/dependencies/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Dependency { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | JcargoGit(JcargoGitDependency), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | /// Dependency on another local jcargo project [INFO] [stdout] 87 | JcargoLocal(JcargoLocalDependency), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | /// Dependency on a local compiled jar [INFO] [stdout] 89 | PrebuiltLocal(PrebuiltLocalDependency), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` 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: methods `sources_url` and `docs_url` are never used [INFO] [stdout] --> src/dependencies/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl MavenRepoDependency { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn sources_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn docs_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `branch`, `commit`, and `dir` are never read [INFO] [stdout] --> src/dependencies/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct JcargoGitDependency { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 196 | /// Repository url [INFO] [stdout] 197 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 204 | /// Subdirectory to include as a dependency [INFO] [stdout] 205 | dir: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JcargoGitDependency` 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: field `path` is never read [INFO] [stdout] --> src/dependencies/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct JcargoLocalDependency { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 210 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JcargoLocalDependency` 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: field `path` is never read [INFO] [stdout] --> src/dependencies/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct PrebuiltLocalDependency { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 215 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrebuiltLocalDependency` 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: method `get` is never used [INFO] [stdout] --> src/dependencies/dependency_graph.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl DependencyGraph { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/dependencies/maven_metadata.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl MavenMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 30 | pub fn parse(text: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pom_source_0` is never used [INFO] [stdout] --> src/dependencies/maven_metadata.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | async fn pom_source_0() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MavenPom { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl ParentPom { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 199 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl PomDependency { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 238 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_memory_and_file` is never used [INFO] [stdout] --> src/io.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn download_memory_and_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_javac_output` is never used [INFO] [stdout] --> src/javac_parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_javac_output() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_info` is never read [INFO] [stdout] --> src/manifest.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ModuleManifest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub extra_info: ExtraInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleManifest` 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 `validate` is never used [INFO] [stdout] --> src/manifest.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ModuleManifest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authors` and `license` are never read [INFO] [stdout] --> src/manifest.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ExtraInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 41 | #[serde(default)] [INFO] [stdout] 42 | pub authors: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | #[serde(default)] [INFO] [stdout] 44 | pub license: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInfo` 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 `validate` is never used [INFO] [stdout] --> src/manifest.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EntrypointDef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 57 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompilationUnit` is never constructed [INFO] [stdout] --> src/module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompilationUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> src/module.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `resources_dir` is never used [INFO] [stdout] --> src/module.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn resources_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_jar_manifest` is never used [INFO] [stdout] --> src/tasks.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | async fn generate_jar_manifest(module: &Module, entrypoint_name: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | #[structopt(short, long)] [INFO] [stdout] 24 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/dependencies/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Dependencies { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JcargoGit`, `JcargoLocal`, and `PrebuiltLocal` are never constructed [INFO] [stdout] --> src/dependencies/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Dependency { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | JcargoGit(JcargoGitDependency), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | /// Dependency on another local jcargo project [INFO] [stdout] 87 | JcargoLocal(JcargoLocalDependency), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | /// Dependency on a local compiled jar [INFO] [stdout] 89 | PrebuiltLocal(PrebuiltLocalDependency), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` 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: methods `sources_url` and `docs_url` are never used [INFO] [stdout] --> src/dependencies/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl MavenRepoDependency { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn sources_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn docs_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `branch`, `commit`, and `dir` are never read [INFO] [stdout] --> src/dependencies/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct JcargoGitDependency { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 196 | /// Repository url [INFO] [stdout] 197 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 204 | /// Subdirectory to include as a dependency [INFO] [stdout] 205 | dir: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JcargoGitDependency` 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: field `path` is never read [INFO] [stdout] --> src/dependencies/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct JcargoLocalDependency { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 210 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JcargoLocalDependency` 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: field `path` is never read [INFO] [stdout] --> src/dependencies/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct PrebuiltLocalDependency { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 215 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrebuiltLocalDependency` 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: method `get` is never used [INFO] [stdout] --> src/dependencies/dependency_graph.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl DependencyGraph { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MavenPom { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl ParentPom { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 199 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dependency_notation` is never used [INFO] [stdout] --> src/dependencies/mavenpom.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl PomDependency { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 238 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_memory_and_file` is never used [INFO] [stdout] --> src/io.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn download_memory_and_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_javac_output` is never used [INFO] [stdout] --> src/javac_parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse_javac_output() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_info` is never read [INFO] [stdout] --> src/manifest.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ModuleManifest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub extra_info: ExtraInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleManifest` 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 `validate` is never used [INFO] [stdout] --> src/manifest.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ModuleManifest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authors` and `license` are never read [INFO] [stdout] --> src/manifest.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ExtraInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 41 | #[serde(default)] [INFO] [stdout] 42 | pub authors: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | #[serde(default)] [INFO] [stdout] 44 | pub license: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtraInfo` 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 `validate` is never used [INFO] [stdout] --> src/manifest.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EntrypointDef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 57 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompilationUnit` is never constructed [INFO] [stdout] --> src/module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompilationUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> src/module.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `resources_dir` is never used [INFO] [stdout] --> src/module.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn resources_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_jar_manifest` is never used [INFO] [stdout] --> src/tasks.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | async fn generate_jar_manifest(module: &Module, entrypoint_name: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pomA` should have a snake case name [INFO] [stdout] --> src/dependencies/mavenpom.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let pomA = MavenPom::parse(&pom_source_0().await?)?; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pom_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pomB` should have a snake case name [INFO] [stdout] --> src/dependencies/mavenpom.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let pomB = MavenPom::parse(&pom_source_1().await?)?; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pom_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pomC` should have a snake case name [INFO] [stdout] --> src/dependencies/mavenpom.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let pomC = MavenPom::parse(&pom_source_2().await?)?; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pom_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pomD` should have a snake case name [INFO] [stdout] --> src/dependencies/mavenpom.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let pomD = MavenPom::parse(&pom_source_3().await?)?; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pom_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "521374d58bca0d18328f2122ec80c9e2f58d1dbe9c1ef5a7af6cb71775b72b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521374d58bca0d18328f2122ec80c9e2f58d1dbe9c1ef5a7af6cb71775b72b0d", kill_on_drop: false }` [INFO] [stdout] 521374d58bca0d18328f2122ec80c9e2f58d1dbe9c1ef5a7af6cb71775b72b0d