[INFO] fetching crate volt 0.0.2... [INFO] testing volt-0.0.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate volt 0.0.2 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate volt 0.0.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate volt 0.0.2 [INFO] finished tweaking crates.io crate volt 0.0.2 [INFO] tweaked toml for crates.io crate volt 0.0.2 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate crates.io crate volt 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c0a3d818bc109275c2201aefdc11dc46f18da0a9efa5532e96d3e7872ffe98b [INFO] running `Command { std: "docker" "start" "-a" "4c0a3d818bc109275c2201aefdc11dc46f18da0a9efa5532e96d3e7872ffe98b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c0a3d818bc109275c2201aefdc11dc46f18da0a9efa5532e96d3e7872ffe98b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0a3d818bc109275c2201aefdc11dc46f18da0a9efa5532e96d3e7872ffe98b", kill_on_drop: false }` [INFO] [stdout] 4c0a3d818bc109275c2201aefdc11dc46f18da0a9efa5532e96d3e7872ffe98b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86ce73dcc893230a8625b084c5f115cc886811f63a576977a3accbc0d5bf83a2 [INFO] running `Command { std: "docker" "start" "-a" "86ce73dcc893230a8625b084c5f115cc886811f63a576977a3accbc0d5bf83a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling fsio v0.2.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling isahc v1.4.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling owo-colors v2.0.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling minimad v0.8.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling envmnt v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling ci_info v0.14.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling onig_sys v69.7.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tar v0.4.35 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling semver_rs v0.1.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling jwalk v0.6.0 [INFO] [stderr] Compiling git-config v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling miette-derive v1.1.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling onig v6.2.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling termimad v0.16.0 [INFO] [stderr] Compiling miette v1.1.0 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling plist v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ssri v6.0.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling volt v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/commands/watch.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_dir`, `read_to_string` [INFO] [stdout] --> src/commands/watch.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fs::{read_dir, read_to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/commands/watch.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/commands/watch.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressBar` [INFO] [stdout] --> src/commands/watch.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use indicatif::ProgressBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressStyle` [INFO] [stdout] --> src/commands/watch.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use indicatif::ProgressStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/watch.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::easy::HighlightLines` [INFO] [stdout] --> src/commands/watch.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use syntect::easy::HighlightLines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style`, `ThemeSet` [INFO] [stdout] --> src/commands/watch.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | use syntect::highlighting::{Style, ThemeSet}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxSet` [INFO] [stdout] --> src/commands/watch.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use syntect::parsing::SyntaxSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesWithEndings`, `as_24_bit_terminal_escaped` [INFO] [stdout] --> src/commands/watch.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::utils::errors` [INFO] [stdout] --> src/core/utils/scripts.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::core::utils::errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::utils::package::PackageJson` [INFO] [stdout] --> src/core/utils/scripts.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::core::utils::package::PackageJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core/utils/scripts.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::hard_link` [INFO] [stdout] --> src/core/utils/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tokio::fs::hard_link; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwalk::WalkDir` [INFO] [stdout] --> src/core/utils/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use jwalk::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/commands/add.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 107 | std::process::exit(0); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 110 | / if !app.current_dir.join("package.json").exists() { [INFO] [stdout] 111 | | crate::error!("no package.json found."); [INFO] [stdout] 112 | | print!("Do you want to initialize package.json (Y/N): "); [INFO] [stdout] 113 | | [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_file` [INFO] [stdout] --> src/commands/add.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut package_file = PackageJson::from("package.json"); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/commands/add.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/clone.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/deploy.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/info.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/init.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/list.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/migrate.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/remove.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/run.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/search.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/stat.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/core/utils/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_modules_dep_path` [INFO] [stdout] --> src/core/utils/mod.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let node_modules_dep_path = app.node_modules_dir.join(&package.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_modules_dep_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/core/utils/mod.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let bytes = std::fs::read(path_str.clone()).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/core/utils/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | let bytes = res.bytes().await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/core/utils/scripts.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/commands/audit.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `version` [INFO] [stdout] --> src/commands/audit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `install` [INFO] [stdout] --> src/commands/audit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | install: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `remove` [INFO] [stdout] --> src/commands/audit.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | remove: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `metadata` [INFO] [stdout] --> src/commands/audit.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | metadata: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `requires` [INFO] [stdout] --> src/commands/audit.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | requires: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `dependencies` [INFO] [stdout] --> src/commands/audit.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | dependencies: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `version` [INFO] [stdout] --> src/commands/audit.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `integrity` [INFO] [stdout] --> src/commands/audit.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | integrity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `requires` [INFO] [stdout] --> src/commands/audit.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | requires: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `dependencies` [INFO] [stdout] --> src/commands/audit.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dependencies: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `dev` [INFO] [stdout] --> src/commands/audit.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dev: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: function is never used: `truncate` [INFO] [stdout] --> src/commands/search.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn truncate(s: &str, max_chars: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROGRESS_CHARS` [INFO] [stdout] --> src/commands/watch.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PROGRESS_CHARS: &str = "=> "; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_tarball_create` [INFO] [stdout] --> src/core/utils/mod.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | pub async fn download_tarball_create( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_basename` [INFO] [stdout] --> src/core/utils/mod.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn get_basename(path: &'_ str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_git_config` [INFO] [stdout] --> src/core/utils/mod.rs:644:8 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn get_git_config(app: &App, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Encode` [INFO] [stdout] --> src/core/model/lock_file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Encode(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LockFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/model/lock_file.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, 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: `save_pretty` [INFO] [stdout] --> src/core/model/lock_file.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn save_pretty(&self) -> Result<(), LockFileError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/core/model/lock_file.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn save(&self) -> Result<(), LockFileError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Help` [INFO] [stdout] --> src/core/utils/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Version` [INFO] [stdout] --> src/core/utils/app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Yes` [INFO] [stdout] --> src/core/utils/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Depth` [INFO] [stdout] --> src/core/utils/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Depth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Verbose` [INFO] [stdout] --> src/core/utils/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `NoProgress` [INFO] [stdout] --> src/core/utils/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NoProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Dev` [INFO] [stdout] --> src/core/utils/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Dev, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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/core/utils/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(arg: &String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_flag` [INFO] [stdout] --> src/core/utils/app.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn has_flag(&self, flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnableAnsiSupport` [INFO] [stdout] --> src/core/utils/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | EnableAnsiSupport(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `DecoderError` [INFO] [stdout] --> src/core/utils/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | DecoderError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `DecodeError` [INFO] [stdout] --> src/core/utils/errors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DecodeError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `NetworkRecError` [INFO] [stdout] --> src/core/utils/errors.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NetworkRecError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `RequestBuilderError` [INFO] [stdout] --> src/core/utils/errors.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | RequestBuilderError(#[source] isahc::http::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `IoTextRecError` [INFO] [stdout] --> src/core/utils/errors.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | IoTextRecError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `HashLookupError` [INFO] [stdout] --> src/core/utils/errors.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | HashLookupError { version: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `VersionLookupError` [INFO] [stdout] --> src/core/utils/errors.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | VersionLookupError { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `UnknownError` [INFO] [stdout] --> src/core/utils/errors.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `save` [INFO] [stdout] --> src/core/utils/package.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_dependency` [INFO] [stdout] --> src/core/utils/package.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn add_dependency(&mut self, name: String, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_dev_dependency` [INFO] [stdout] --> src/core/utils/package.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn add_dev_dependency(&mut self, name: String, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_dev_dependency` [INFO] [stdout] --> src/core/utils/package.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn remove_dev_dependency(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_dependency` [INFO] [stdout] --> src/core/utils/package.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn remove_dependency(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_dependency_version` [INFO] [stdout] --> src/core/utils/package.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn update_dependency_version( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/core/utils/voltapi.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn save(self, path: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.29s [INFO] running `Command { std: "docker" "inspect" "86ce73dcc893230a8625b084c5f115cc886811f63a576977a3accbc0d5bf83a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ce73dcc893230a8625b084c5f115cc886811f63a576977a3accbc0d5bf83a2", kill_on_drop: false }` [INFO] [stdout] 86ce73dcc893230a8625b084c5f115cc886811f63a576977a3accbc0d5bf83a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c1faa7f5bcdcc062e68d3d47c667cfe316d28d4a74267cb9839b1335f2c46b0 [INFO] running `Command { std: "docker" "start" "-a" "9c1faa7f5bcdcc062e68d3d47c667cfe316d28d4a74267cb9839b1335f2c46b0", kill_on_drop: false }` [INFO] [stderr] Compiling volt v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/commands/watch.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_dir`, `read_to_string` [INFO] [stdout] --> src/commands/watch.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fs::{read_dir, read_to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/commands/watch.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/commands/watch.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressBar` [INFO] [stdout] --> src/commands/watch.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use indicatif::ProgressBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif::ProgressStyle` [INFO] [stdout] --> src/commands/watch.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use indicatif::ProgressStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/watch.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::easy::HighlightLines` [INFO] [stdout] --> src/commands/watch.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use syntect::easy::HighlightLines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style`, `ThemeSet` [INFO] [stdout] --> src/commands/watch.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | use syntect::highlighting::{Style, ThemeSet}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxSet` [INFO] [stdout] --> src/commands/watch.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use syntect::parsing::SyntaxSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesWithEndings`, `as_24_bit_terminal_escaped` [INFO] [stdout] --> src/commands/watch.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::utils::errors` [INFO] [stdout] --> src/core/utils/scripts.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::core::utils::errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::utils::package::PackageJson` [INFO] [stdout] --> src/core/utils/scripts.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::core::utils::package::PackageJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core/utils/scripts.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::hard_link` [INFO] [stdout] --> src/core/utils/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tokio::fs::hard_link; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwalk::WalkDir` [INFO] [stdout] --> src/core/utils/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use jwalk::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/commands/add.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 107 | std::process::exit(0); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 110 | / if !app.current_dir.join("package.json").exists() { [INFO] [stdout] 111 | | crate::error!("no package.json found."); [INFO] [stdout] 112 | | print!("Do you want to initialize package.json (Y/N): "); [INFO] [stdout] 113 | | [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package_file` [INFO] [stdout] --> src/commands/add.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut package_file = PackageJson::from("package.json"); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/commands/add.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/clone.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/deploy.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/info.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/init.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/list.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/migrate.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/remove.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/run.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/search.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/commands/stat.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/core/utils/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_modules_dep_path` [INFO] [stdout] --> src/core/utils/mod.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let node_modules_dep_path = app.node_modules_dir.join(&package.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_modules_dep_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/core/utils/mod.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let bytes = std::fs::read(path_str.clone()).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/core/utils/mod.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | let bytes = res.bytes().await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/core/utils/scripts.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/commands/audit.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `version` [INFO] [stdout] --> src/commands/audit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `install` [INFO] [stdout] --> src/commands/audit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | install: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `remove` [INFO] [stdout] --> src/commands/audit.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | remove: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `metadata` [INFO] [stdout] --> src/commands/audit.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | metadata: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `requires` [INFO] [stdout] --> src/commands/audit.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | requires: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `dependencies` [INFO] [stdout] --> src/commands/audit.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | dependencies: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(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: field is never read: `version` [INFO] [stdout] --> src/commands/audit.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `integrity` [INFO] [stdout] --> src/commands/audit.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | integrity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `requires` [INFO] [stdout] --> src/commands/audit.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | requires: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `dependencies` [INFO] [stdout] --> src/commands/audit.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dependencies: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: field is never read: `dev` [INFO] [stdout] --> src/commands/audit.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dev: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands/audit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(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: function is never used: `truncate` [INFO] [stdout] --> src/commands/search.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn truncate(s: &str, max_chars: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROGRESS_CHARS` [INFO] [stdout] --> src/commands/watch.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PROGRESS_CHARS: &str = "=> "; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_tarball_create` [INFO] [stdout] --> src/core/utils/mod.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | pub async fn download_tarball_create( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_basename` [INFO] [stdout] --> src/core/utils/mod.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn get_basename(path: &'_ str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_git_config` [INFO] [stdout] --> src/core/utils/mod.rs:644:8 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn get_git_config(app: &App, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Encode` [INFO] [stdout] --> src/core/model/lock_file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Encode(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LockFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/model/lock_file.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, 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: `save_pretty` [INFO] [stdout] --> src/core/model/lock_file.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn save_pretty(&self) -> Result<(), LockFileError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/core/model/lock_file.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn save(&self) -> Result<(), LockFileError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/core/prompt/prompts.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn run(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Help` [INFO] [stdout] --> src/core/utils/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Version` [INFO] [stdout] --> src/core/utils/app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Yes` [INFO] [stdout] --> src/core/utils/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Depth` [INFO] [stdout] --> src/core/utils/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Depth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Verbose` [INFO] [stdout] --> src/core/utils/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `NoProgress` [INFO] [stdout] --> src/core/utils/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NoProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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: `Dev` [INFO] [stdout] --> src/core/utils/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Dev, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/app.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq)] [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/core/utils/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(arg: &String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_flag` [INFO] [stdout] --> src/core/utils/app.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn has_flag(&self, flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnableAnsiSupport` [INFO] [stdout] --> src/core/utils/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | EnableAnsiSupport(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `DecoderError` [INFO] [stdout] --> src/core/utils/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | DecoderError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `DecodeError` [INFO] [stdout] --> src/core/utils/errors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DecodeError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `NetworkRecError` [INFO] [stdout] --> src/core/utils/errors.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NetworkRecError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `RequestBuilderError` [INFO] [stdout] --> src/core/utils/errors.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | RequestBuilderError(#[source] isahc::http::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `IoTextRecError` [INFO] [stdout] --> src/core/utils/errors.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | IoTextRecError(#[source] std::io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `HashLookupError` [INFO] [stdout] --> src/core/utils/errors.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | HashLookupError { version: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `VersionLookupError` [INFO] [stdout] --> src/core/utils/errors.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | VersionLookupError { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `UnknownError` [INFO] [stdout] --> src/core/utils/errors.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/utils/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error, Diagnostic)] [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: `save` [INFO] [stdout] --> src/core/utils/package.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_dependency` [INFO] [stdout] --> src/core/utils/package.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn add_dependency(&mut self, name: String, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_dev_dependency` [INFO] [stdout] --> src/core/utils/package.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn add_dev_dependency(&mut self, name: String, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_dev_dependency` [INFO] [stdout] --> src/core/utils/package.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn remove_dev_dependency(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_dependency` [INFO] [stdout] --> src/core/utils/package.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn remove_dependency(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_dependency_version` [INFO] [stdout] --> src/core/utils/package.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn update_dependency_version( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/core/utils/voltapi.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn save(self, path: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/volt-2d2f3798fbacde59) [INFO] running `Command { std: "docker" "inspect" "9c1faa7f5bcdcc062e68d3d47c667cfe316d28d4a74267cb9839b1335f2c46b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1faa7f5bcdcc062e68d3d47c667cfe316d28d4a74267cb9839b1335f2c46b0", kill_on_drop: false }` [INFO] [stdout] 9c1faa7f5bcdcc062e68d3d47c667cfe316d28d4a74267cb9839b1335f2c46b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dca31a5f279dd17bb3f537481e498f4c57097ec13ec54bf3460d9404cdc72f42 [INFO] running `Command { std: "docker" "start" "-a" "dca31a5f279dd17bb3f537481e498f4c57097ec13ec54bf3460d9404cdc72f42", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/commands/watch.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `read_dir`, `read_to_string` [INFO] [stderr] --> src/commands/watch.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use std::fs::{read_dir, read_to_string}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/commands/watch.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/commands/watch.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `indicatif::ProgressBar` [INFO] [stderr] --> src/commands/watch.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use indicatif::ProgressBar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `indicatif::ProgressStyle` [INFO] [stderr] --> src/commands/watch.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use indicatif::ProgressStyle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `walkdir::WalkDir` [INFO] [stderr] --> src/commands/watch.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use walkdir::WalkDir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntect::easy::HighlightLines` [INFO] [stderr] --> src/commands/watch.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use syntect::easy::HighlightLines; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Style`, `ThemeSet` [INFO] [stderr] --> src/commands/watch.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | use syntect::highlighting::{Style, ThemeSet}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntect::parsing::SyntaxSet` [INFO] [stderr] --> src/commands/watch.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use syntect::parsing::SyntaxSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LinesWithEndings`, `as_24_bit_terminal_escaped` [INFO] [stderr] --> src/commands/watch.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::utils::errors` [INFO] [stderr] --> src/core/utils/scripts.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::core::utils::errors; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::utils::package::PackageJson` [INFO] [stderr] --> src/core/utils/scripts.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::core::utils::package::PackageJson; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/core/utils/scripts.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::fs::hard_link` [INFO] [stderr] --> src/core/utils/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use tokio::fs::hard_link; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jwalk::WalkDir` [INFO] [stderr] --> src/core/utils/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use jwalk::WalkDir; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/commands/add.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 107 | std::process::exit(0); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 110 | / if !app.current_dir.join("package.json").exists() { [INFO] [stderr] 111 | | crate::error!("no package.json found."); [INFO] [stderr] 112 | | print!("Do you want to initialize package.json (Y/N): "); [INFO] [stderr] 113 | | [INFO] [stderr] ... | [INFO] [stderr] 124 | | } [INFO] [stderr] 125 | | } [INFO] [stderr] | |_________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `package_file` [INFO] [stderr] --> src/commands/add.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | let mut package_file = PackageJson::from("package.json"); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/commands/add.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | let start = Instant::now(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/clone.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/deploy.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/info.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/init.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/list.rs:61:19 [INFO] [stderr] | [INFO] [stderr] 61 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/migrate.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/remove.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/run.rs:69:19 [INFO] [stderr] | [INFO] [stderr] 69 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/search.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/commands/stat.rs:56:19 [INFO] [stderr] | [INFO] [stderr] 56 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/core/utils/mod.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | let start = Instant::now(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node_modules_dep_path` [INFO] [stderr] --> src/core/utils/mod.rs:414:17 [INFO] [stderr] | [INFO] [stderr] 414 | let node_modules_dep_path = app.node_modules_dir.join(&package.name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_modules_dep_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/core/utils/mod.rs:599:9 [INFO] [stderr] | [INFO] [stderr] 599 | let bytes = std::fs::read(path_str.clone()).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/core/utils/mod.rs:620:9 [INFO] [stderr] | [INFO] [stderr] 620 | let bytes = res.bytes().await.unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/core/utils/scripts.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | async fn exec(app: Arc) -> DiagnosticResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/commands/audit.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/commands/audit.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `install` [INFO] [stderr] --> src/commands/audit.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | install: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `remove` [INFO] [stderr] --> src/commands/audit.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | remove: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `metadata` [INFO] [stderr] --> src/commands/audit.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | metadata: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `requires` [INFO] [stderr] --> src/commands/audit.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | requires: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dependencies` [INFO] [stderr] --> src/commands/audit.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | dependencies: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/commands/audit.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `integrity` [INFO] [stderr] --> src/commands/audit.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | integrity: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `requires` [INFO] [stderr] --> src/commands/audit.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | requires: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dependencies` [INFO] [stderr] --> src/commands/audit.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | dependencies: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dev` [INFO] [stderr] --> src/commands/audit.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | dev: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AuditDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/commands/audit.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `truncate` [INFO] [stderr] --> src/commands/search.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn truncate(s: &str, max_chars: usize) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PROGRESS_CHARS` [INFO] [stderr] --> src/commands/watch.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | const PROGRESS_CHARS: &str = "=> "; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `download_tarball_create` [INFO] [stderr] --> src/core/utils/mod.rs:548:14 [INFO] [stderr] | [INFO] [stderr] 548 | pub async fn download_tarball_create( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_basename` [INFO] [stderr] --> src/core/utils/mod.rs:627:8 [INFO] [stderr] | [INFO] [stderr] 627 | pub fn get_basename(path: &'_ str) -> Cow<'_, str> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_git_config` [INFO] [stderr] --> src/core/utils/mod.rs:644:8 [INFO] [stderr] | [INFO] [stderr] 644 | pub fn get_git_config(app: &App, key: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Encode` [INFO] [stderr] --> src/core/model/lock_file.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | Encode(serde_json::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LockFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/model/lock_file.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save_pretty` [INFO] [stderr] --> src/core/model/lock_file.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn save_pretty(&self) -> Result<(), LockFileError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save` [INFO] [stderr] --> src/core/model/lock_file.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn save(&self) -> Result<(), LockFileError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `run` [INFO] [stderr] --> src/core/prompt/prompts.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn run(&self) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `run` [INFO] [stderr] --> src/core/prompt/prompts.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn run(&self) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `run` [INFO] [stderr] --> src/core/prompt/prompts.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn run(&self) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Help` [INFO] [stderr] --> src/core/utils/app.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Help, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Version` [INFO] [stderr] --> src/core/utils/app.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Version, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Yes` [INFO] [stderr] --> src/core/utils/app.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Yes, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Depth` [INFO] [stderr] --> src/core/utils/app.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Depth, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Verbose` [INFO] [stderr] --> src/core/utils/app.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Verbose, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoProgress` [INFO] [stderr] --> src/core/utils/app.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | NoProgress, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dev` [INFO] [stderr] --> src/core/utils/app.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Dev, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/app.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/core/utils/app.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get(arg: &String) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_flag` [INFO] [stderr] --> src/core/utils/app.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn has_flag(&self, flag: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EnableAnsiSupport` [INFO] [stderr] --> src/core/utils/errors.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | EnableAnsiSupport(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DecoderError` [INFO] [stderr] --> src/core/utils/errors.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | DecoderError(#[source] std::io::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DecodeError` [INFO] [stderr] --> src/core/utils/errors.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | DecodeError(#[source] std::io::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NetworkRecError` [INFO] [stderr] --> src/core/utils/errors.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | NetworkRecError(#[source] std::io::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RequestBuilderError` [INFO] [stderr] --> src/core/utils/errors.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | RequestBuilderError(#[source] isahc::http::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IoTextRecError` [INFO] [stderr] --> src/core/utils/errors.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | IoTextRecError(#[source] std::io::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HashLookupError` [INFO] [stderr] --> src/core/utils/errors.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | HashLookupError { version: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VersionLookupError` [INFO] [stderr] --> src/core/utils/errors.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | VersionLookupError { name: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnknownError` [INFO] [stderr] --> src/core/utils/errors.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | UnknownError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VoltError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/utils/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error, Diagnostic)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save` [INFO] [stderr] --> src/core/utils/package.rs:202:12 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn save(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_dependency` [INFO] [stderr] --> src/core/utils/package.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn add_dependency(&mut self, name: String, version: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_dev_dependency` [INFO] [stderr] --> src/core/utils/package.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn add_dev_dependency(&mut self, name: String, version: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_dev_dependency` [INFO] [stderr] --> src/core/utils/package.rs:216:12 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn remove_dev_dependency(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_dependency` [INFO] [stderr] --> src/core/utils/package.rs:220:12 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn remove_dependency(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_dependency_version` [INFO] [stderr] --> src/core/utils/package.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn update_dependency_version( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save` [INFO] [stderr] --> src/core/utils/voltapi.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn save(self, path: String) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `volt` (bin "volt" test) generated 82 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/volt-2d2f3798fbacde59) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dca31a5f279dd17bb3f537481e498f4c57097ec13ec54bf3460d9404cdc72f42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca31a5f279dd17bb3f537481e498f4c57097ec13ec54bf3460d9404cdc72f42", kill_on_drop: false }` [INFO] [stdout] dca31a5f279dd17bb3f537481e498f4c57097ec13ec54bf3460d9404cdc72f42