[INFO] cloning repository https://github.com/bengold/Nitro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bengold/Nitro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbengold%2FNitro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbengold%2FNitro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48750d704d7a30b9c2e5a8d43d0919b9fc7c8f1c [INFO] building bengold/Nitro against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbengold%2FNitro" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bengold/Nitro [INFO] finished tweaking git repo https://github.com/bengold/Nitro [INFO] tweaked toml for git repo https://github.com/bengold/Nitro written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bengold/Nitro on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bengold/Nitro already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xattr v1.5.1 [INFO] [stderr] Downloaded murmurhash32 v0.3.1 [INFO] [stderr] Downloaded tar v0.4.44 [INFO] [stderr] Downloaded tantivy-stacker v0.3.0 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded tantivy-query-grammar v0.22.0 [INFO] [stderr] Downloaded tantivy-common v0.7.0 [INFO] [stderr] Downloaded measure_time v0.8.3 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded tantivy-bitpacker v0.6.0 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded quinn-proto v0.11.12 [INFO] [stderr] Downloaded sysinfo v0.32.1 [INFO] [stderr] Downloaded tantivy v0.22.0 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded zip v2.4.2 [INFO] [stderr] Downloaded lz4_flex v0.11.5 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded bitpacking v0.9.2 [INFO] [stderr] Downloaded ownedbytes v0.7.0 [INFO] [stderr] Downloaded tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded tantivy-fst v0.5.0 [INFO] [stderr] Downloaded quinn v0.11.8 [INFO] [stderr] Downloaded tantivy-columnar v0.3.0 [INFO] [stderr] Downloaded tantivy-sstable v0.3.0 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded rustls v0.23.28 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 839521d67b1d3f50614252556116100bcfacf71ecfe18270aca7bba2f9df6143 [INFO] running `Command { std: "docker" "start" "-a" "839521d67b1d3f50614252556116100bcfacf71ecfe18270aca7bba2f9df6143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839521d67b1d3f50614252556116100bcfacf71ecfe18270aca7bba2f9df6143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839521d67b1d3f50614252556116100bcfacf71ecfe18270aca7bba2f9df6143", kill_on_drop: false }` [INFO] [stdout] 839521d67b1d3f50614252556116100bcfacf71ecfe18270aca7bba2f9df6143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f44a014cd091985dd0098108f906f293ced1c681a08ec5999cd6b86ed3273b1a [INFO] running `Command { std: "docker" "start" "-a" "f44a014cd091985dd0098108f906f293ced1c681a08ec5999cd6b86ed3273b1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ownedbytes v0.7.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling tantivy-bitpacker v0.6.0 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling tantivy-query-grammar v0.22.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling measure_time v0.8.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tantivy-common v0.7.0 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling tantivy-sstable v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling tantivy v0.22.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling nitro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InstallationFailed` and `CacheError` are never constructed [INFO] [stdout] --> src/core/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NitroError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InstallationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | CacheError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NitroError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `download_with_resume` and `download_multiple` are never used [INFO] [stdout] --> src/download/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl Downloader { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn download_with_resume(&self, url: &str, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn download_multiple(&self, downloads: Vec<(&str, &Path)>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/cache/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheManager` is never constructed [INFO] [stdout] --> src/cache/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CacheManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cache/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CacheManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn put(&self, key: &str, source: &Path, ttl: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn remove(&self, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn size(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn evict_if_needed(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadCache` is never constructed [INFO] [stdout] --> src/cache/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct DownloadCache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_or_download`, and `url_to_key` are never used [INFO] [stdout] --> src/cache/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl DownloadCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 189 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn get_or_download( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn url_to_key(&self, url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_formula` and `rebuild_index` are never used [INFO] [stdout] --> src/search/mod.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl SearchEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn index_formula(&self, name: &str, description: Option<&str>, version: &str, tap: &str, path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn rebuild_index(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_package_progress` is never used [INFO] [stdout] --> src/ui/progress.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProgressReporter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update_package_progress(&self, package_name: &str, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct DownloadProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `finish`, and `fail` are never used [INFO] [stdout] --> src/ui/progress.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl DownloadProgress { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 101 | pub fn new(total_size: u64, url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn update(&self, downloaded: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn fail(&self, error: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DependencyProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct DependencyProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `finish` are never used [INFO] [stdout] --> src/ui/progress.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl DependencyProgress { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 132 | pub fn new(total_deps: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn update(&self, resolved: usize, current_dep: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_package_info` is never used [INFO] [stdout] --> src/ui/display.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn show_package_info(package: &Package) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_installation_summary` is never used [INFO] [stdout] --> src/ui/display.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn show_installation_summary(installed: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_uninstall_confirmation` is never used [INFO] [stdout] --> src/ui/display.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn show_uninstall_confirmation(packages: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_update_summary` is never used [INFO] [stdout] --> src/ui/display.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_update_summary(updated: &[String], skipped: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "f44a014cd091985dd0098108f906f293ced1c681a08ec5999cd6b86ed3273b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44a014cd091985dd0098108f906f293ced1c681a08ec5999cd6b86ed3273b1a", kill_on_drop: false }` [INFO] [stdout] f44a014cd091985dd0098108f906f293ced1c681a08ec5999cd6b86ed3273b1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2da0012dbfd6cb07edad248a05a30878c3d4448e295473b63feb9184ae3657e3 [INFO] running `Command { std: "docker" "start" "-a" "2da0012dbfd6cb07edad248a05a30878c3d4448e295473b63feb9184ae3657e3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling tantivy v0.22.0 [INFO] [stderr] Compiling nitro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/core/resolver.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/core/resolver.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli/commands/info.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) if package_name != args.package => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InstallationFailed` and `CacheError` are never constructed [INFO] [stdout] --> src/core/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NitroError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InstallationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | CacheError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NitroError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `download_with_resume` and `download_multiple` are never used [INFO] [stdout] --> src/download/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl Downloader { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn download_with_resume(&self, url: &str, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn download_multiple(&self, downloads: Vec<(&str, &Path)>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/cache/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheManager` is never constructed [INFO] [stdout] --> src/cache/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CacheManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cache/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CacheManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn put(&self, key: &str, source: &Path, ttl: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn remove(&self, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn size(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn evict_if_needed(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadCache` is never constructed [INFO] [stdout] --> src/cache/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct DownloadCache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_or_download`, and `url_to_key` are never used [INFO] [stdout] --> src/cache/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl DownloadCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 189 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn get_or_download( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn url_to_key(&self, url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_formula` and `rebuild_index` are never used [INFO] [stdout] --> src/search/mod.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl SearchEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn index_formula(&self, name: &str, description: Option<&str>, version: &str, tap: &str, path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn rebuild_index(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_package_progress` is never used [INFO] [stdout] --> src/ui/progress.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProgressReporter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update_package_progress(&self, package_name: &str, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct DownloadProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `finish`, and `fail` are never used [INFO] [stdout] --> src/ui/progress.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl DownloadProgress { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 101 | pub fn new(total_size: u64, url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn update(&self, downloaded: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn fail(&self, error: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DependencyProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct DependencyProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `finish` are never used [INFO] [stdout] --> src/ui/progress.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl DependencyProgress { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 132 | pub fn new(total_deps: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn update(&self, resolved: usize, current_dep: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_package_info` is never used [INFO] [stdout] --> src/ui/display.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn show_package_info(package: &Package) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_installation_summary` is never used [INFO] [stdout] --> src/ui/display.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn show_installation_summary(installed: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_uninstall_confirmation` is never used [INFO] [stdout] --> src/ui/display.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn show_uninstall_confirmation(packages: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_update_summary` is never used [INFO] [stdout] --> src/ui/display.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_update_summary(updated: &[String], skipped: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InstallationFailed` and `CacheError` are never constructed [INFO] [stdout] --> src/core/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NitroError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InstallationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | CacheError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NitroError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `download_with_resume` and `download_multiple` are never used [INFO] [stdout] --> src/download/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl Downloader { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn download_with_resume(&self, url: &str, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn download_multiple(&self, downloads: Vec<(&str, &Path)>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/cache/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheManager` is never constructed [INFO] [stdout] --> src/cache/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CacheManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cache/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CacheManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn put(&self, key: &str, source: &Path, ttl: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn remove(&self, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn size(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn evict_if_needed(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadCache` is never constructed [INFO] [stdout] --> src/cache/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct DownloadCache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_or_download`, and `url_to_key` are never used [INFO] [stdout] --> src/cache/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl DownloadCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 189 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn get_or_download( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn url_to_key(&self, url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_formula` and `rebuild_index` are never used [INFO] [stdout] --> src/search/mod.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl SearchEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn index_formula(&self, name: &str, description: Option<&str>, version: &str, tap: &str, path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn rebuild_index(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_package_progress` is never used [INFO] [stdout] --> src/ui/progress.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProgressReporter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update_package_progress(&self, package_name: &str, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct DownloadProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `finish`, and `fail` are never used [INFO] [stdout] --> src/ui/progress.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl DownloadProgress { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 101 | pub fn new(total_size: u64, url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn update(&self, downloaded: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn fail(&self, error: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DependencyProgress` is never constructed [INFO] [stdout] --> src/ui/progress.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct DependencyProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `finish` are never used [INFO] [stdout] --> src/ui/progress.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl DependencyProgress { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 132 | pub fn new(total_deps: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn update(&self, resolved: usize, current_dep: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_package_info` is never used [INFO] [stdout] --> src/ui/display.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn show_package_info(package: &Package) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_installation_summary` is never used [INFO] [stdout] --> src/ui/display.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn show_installation_summary(installed: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_uninstall_confirmation` is never used [INFO] [stdout] --> src/ui/display.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn show_uninstall_confirmation(packages: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_update_summary` is never used [INFO] [stdout] --> src/ui/display.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_update_summary(updated: &[String], skipped: &[String], failed: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "2da0012dbfd6cb07edad248a05a30878c3d4448e295473b63feb9184ae3657e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da0012dbfd6cb07edad248a05a30878c3d4448e295473b63feb9184ae3657e3", kill_on_drop: false }` [INFO] [stdout] 2da0012dbfd6cb07edad248a05a30878c3d4448e295473b63feb9184ae3657e3