[INFO] fetching crate jcargo 0.2.0... [INFO] checking jcargo-0.2.0 against master#69a5d2481e856a5a18885390b8cf6950b9ff8dd3 for pr-96376 [INFO] extracting crate jcargo 0.2.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate jcargo 0.2.0 on toolchain 69a5d2481e856a5a18885390b8cf6950b9ff8dd3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "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-17/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: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [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 lazy-regex-proc_macros v2.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00d83ec6d0a6f4740c0ec73edcdc67fda8131972001b539949f1934154ddcdc9 [INFO] running `Command { std: "docker" "start" "-a" "00d83ec6d0a6f4740c0ec73edcdc67fda8131972001b539949f1934154ddcdc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00d83ec6d0a6f4740c0ec73edcdc67fda8131972001b539949f1934154ddcdc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d83ec6d0a6f4740c0ec73edcdc67fda8131972001b539949f1934154ddcdc9", kill_on_drop: false }` [INFO] [stdout] 00d83ec6d0a6f4740c0ec73edcdc67fda8131972001b539949f1934154ddcdc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b006c61788f60d9f445bb3e3bfd289d12e23508704c07abd9337c27c7367e66 [INFO] running `Command { std: "docker" "start" "-a" "9b006c61788f60d9f445bb3e3bfd289d12e23508704c07abd9337c27c7367e66", 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 memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [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] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.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 lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Checking tokio v1.15.0 [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 imports: `MavenMetadata`, `Versioning`, `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 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 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: 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] = 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] [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: field is never read: `debug` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/dependencies/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JcargoGit` [INFO] [stdout] --> src/dependencies/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | JcargoGit(JcargoGitDependency), [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JcargoLocal` [INFO] [stdout] --> src/dependencies/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | JcargoLocal(JcargoLocalDependency), [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrebuiltLocal` [INFO] [stdout] --> src/dependencies/mod.rs:89:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sources_url` [INFO] [stdout] --> src/dependencies/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn sources_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `docs_url` [INFO] [stdout] --> src/dependencies/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn docs_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/dependencies/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | url: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `branch` [INFO] [stdout] --> src/dependencies/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | branch: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> src/dependencies/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | commit: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir` [INFO] [stdout] --> src/dependencies/mod.rs:205:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/dependencies/mod.rs:210:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/dependencies/mod.rs:215:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/dependencies/dependency_graph.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/dependencies/maven_metadata.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse(text: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pom_source_0` [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: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_memory_and_file` [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 is never used: `parse_javac_output` [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: associated function is never used: `validate` [INFO] [stdout] --> src/manifest.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/manifest.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompilationUnit` [INFO] [stdout] --> src/module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompilationUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resources_dir` [INFO] [stdout] --> src/module.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn resources_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_jar_manifest` [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/dependencies/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JcargoGit` [INFO] [stdout] --> src/dependencies/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | JcargoGit(JcargoGitDependency), [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JcargoLocal` [INFO] [stdout] --> src/dependencies/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | JcargoLocal(JcargoLocalDependency), [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrebuiltLocal` [INFO] [stdout] --> src/dependencies/mod.rs:89:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sources_url` [INFO] [stdout] --> src/dependencies/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn sources_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `docs_url` [INFO] [stdout] --> src/dependencies/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn docs_url(&self) -> Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/dependencies/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | url: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `branch` [INFO] [stdout] --> src/dependencies/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | branch: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> src/dependencies/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | commit: 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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir` [INFO] [stdout] --> src/dependencies/mod.rs:205:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/dependencies/mod.rs:210:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/dependencies/mod.rs:215:5 [INFO] [stdout] | [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] --> src/dependencies/mod.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/dependencies/dependency_graph.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dependency_notation` [INFO] [stdout] --> src/dependencies/mavenpom.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn dependency_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_memory_and_file` [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 is never used: `parse_javac_output` [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: associated function is never used: `validate` [INFO] [stdout] --> src/manifest.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/manifest.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompilationUnit` [INFO] [stdout] --> src/module.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompilationUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resources_dir` [INFO] [stdout] --> src/module.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn resources_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_jar_manifest` [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.33s [INFO] running `Command { std: "docker" "inspect" "9b006c61788f60d9f445bb3e3bfd289d12e23508704c07abd9337c27c7367e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b006c61788f60d9f445bb3e3bfd289d12e23508704c07abd9337c27c7367e66", kill_on_drop: false }` [INFO] [stdout] 9b006c61788f60d9f445bb3e3bfd289d12e23508704c07abd9337c27c7367e66