[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] testing bengold/Nitro against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbengold%2FNitro" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bengold/Nitro on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31f19d444f224b2edecf322872eb79fd05fe50b407e3a261de6b21b87db83c2 [INFO] running `Command { std: "docker" "start" "-a" "d31f19d444f224b2edecf322872eb79fd05fe50b407e3a261de6b21b87db83c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31f19d444f224b2edecf322872eb79fd05fe50b407e3a261de6b21b87db83c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31f19d444f224b2edecf322872eb79fd05fe50b407e3a261de6b21b87db83c2", kill_on_drop: false }` [INFO] [stdout] d31f19d444f224b2edecf322872eb79fd05fe50b407e3a261de6b21b87db83c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17bc35faae1eeeaf3809990a29462121a27371ffbaeb06dc36aa81a27b793b65 [INFO] running `Command { std: "docker" "start" "-a" "17bc35faae1eeeaf3809990a29462121a27371ffbaeb06dc36aa81a27b793b65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ownedbytes v0.7.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tantivy-bitpacker v0.6.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling tantivy-query-grammar v0.22.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling measure_time v0.8.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [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 zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tantivy-common v0.7.0 [INFO] [stderr] Compiling tantivy-sstable v0.3.0 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tantivy v0.22.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 19s [INFO] running `Command { std: "docker" "inspect" "17bc35faae1eeeaf3809990a29462121a27371ffbaeb06dc36aa81a27b793b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bc35faae1eeeaf3809990a29462121a27371ffbaeb06dc36aa81a27b793b65", kill_on_drop: false }` [INFO] [stdout] 17bc35faae1eeeaf3809990a29462121a27371ffbaeb06dc36aa81a27b793b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7faf9db7ecf583ccb2f67c33335efa699bb9f7edd8038cd7a8bb45d528dfa902 [INFO] running `Command { std: "docker" "start" "-a" "7faf9db7ecf583ccb2f67c33335efa699bb9f7edd8038cd7a8bb45d528dfa902", 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 itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.9.1 [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 criterion-plot v0.5.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [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 tantivy v0.22.0 [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 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 59.17s [INFO] running `Command { std: "docker" "inspect" "7faf9db7ecf583ccb2f67c33335efa699bb9f7edd8038cd7a8bb45d528dfa902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7faf9db7ecf583ccb2f67c33335efa699bb9f7edd8038cd7a8bb45d528dfa902", kill_on_drop: false }` [INFO] [stdout] 7faf9db7ecf583ccb2f67c33335efa699bb9f7edd8038cd7a8bb45d528dfa902 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90f58429d655302cf22e6fc492897b34a7b07f75871fd0a46837d9f78adf3eee [INFO] running `Command { std: "docker" "start" "-a" "90f58429d655302cf22e6fc492897b34a7b07f75871fd0a46837d9f78adf3eee", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/cli/commands/info.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | Err(e) if package_name != args.package => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nitro` (lib) generated 1 warning (run `cargo fix --lib -p nitro` to apply 1 suggestion) [INFO] [stderr] warning: variants `InstallationFailed` and `CacheError` are never constructed [INFO] [stderr] --> src/core/errors.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum NitroError { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | InstallationFailed(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | CacheError(String), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NitroError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `download_with_resume` and `download_multiple` are never used [INFO] [stderr] --> src/download/mod.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 15 | impl Downloader { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 91 | pub async fn download_with_resume(&self, url: &str, dest: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub async fn download_multiple(&self, downloads: Vec<(&str, &Path)>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CacheEntry` is never constructed [INFO] [stderr] --> src/cache/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct CacheEntry { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CacheManager` is never constructed [INFO] [stderr] --> src/cache/mod.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct CacheManager { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/cache/mod.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl CacheManager { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 25 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub async fn get(&self, key: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub async fn put(&self, key: &str, source: &Path, ttl: Option) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub async fn remove(&self, key: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub async fn clear(&self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub async fn size(&self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | async fn evict_if_needed(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DownloadCache` is never constructed [INFO] [stderr] --> src/cache/mod.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | pub struct DownloadCache { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_or_download`, and `url_to_key` are never used [INFO] [stderr] --> src/cache/mod.rs:189:12 [INFO] [stderr] | [INFO] [stderr] 188 | impl DownloadCache { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 189 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 195 | pub async fn get_or_download( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 224 | fn url_to_key(&self, url: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `index_formula` and `rebuild_index` are never used [INFO] [stderr] --> src/search/mod.rs:153:18 [INFO] [stderr] | [INFO] [stderr] 32 | impl SearchEngine { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 153 | pub async fn index_formula(&self, name: &str, description: Option<&str>, version: &str, tap: &str, path: &PathBuf) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | pub async fn rebuild_index(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_package_progress` is never used [INFO] [stderr] --> src/ui/progress.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl ProgressReporter { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn update_package_progress(&self, package_name: &str, message: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DownloadProgress` is never constructed [INFO] [stderr] --> src/ui/progress.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct DownloadProgress { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `update`, `finish`, and `fail` are never used [INFO] [stderr] --> src/ui/progress.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 100 | impl DownloadProgress { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 101 | pub fn new(total_size: u64, url: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn update(&self, downloaded: u64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn finish(&self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub fn fail(&self, error: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DependencyProgress` is never constructed [INFO] [stderr] --> src/ui/progress.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub struct DependencyProgress { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `update`, and `finish` are never used [INFO] [stderr] --> src/ui/progress.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 131 | impl DependencyProgress { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 132 | pub fn new(total_deps: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn update(&self, resolved: usize, current_dep: &str) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn finish(&self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_package_info` is never used [INFO] [stderr] --> src/ui/display.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn show_package_info(package: &Package) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_installation_summary` is never used [INFO] [stderr] --> src/ui/display.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn show_installation_summary(installed: &[String], failed: &[String]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_uninstall_confirmation` is never used [INFO] [stderr] --> src/ui/display.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn show_uninstall_confirmation(packages: &[String]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `show_update_summary` is never used [INFO] [stderr] --> src/ui/display.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn show_update_summary(updated: &[String], skipped: &[String], failed: &[String]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nitro` (bin "nitro") generated 18 warnings (1 duplicate) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/core/resolver.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nitro` (bin "nitro" test) generated 19 warnings (18 duplicates) (run `cargo fix --bin "nitro" -p nitro --tests` to apply 1 suggestion) [INFO] [stderr] warning: `nitro` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nitro-349d5e1145964b9d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test core::resolver::tests::test_topological_sort ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nitro-b469b0832e527f33) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test core::resolver::tests::test_topological_sort ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-258f7928f2fe2f74) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_search_result_structure ... ok [INFO] [stdout] test test_error_types ... ok [INFO] [stdout] test test_dependency_resolver ... ok [INFO] [stdout] test test_tap_url_generation ... ok [INFO] [stdout] test test_formula_parser ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_formula_parser stdout ---- [INFO] [stdout] DEBUG: Parsing formula: wget [INFO] [stdout] DEBUG: Extracted URL: https://ftp.gnu.org/gnu/wget/wget-1.24.5.tar.gz [INFO] [stdout] DEBUG: Extracted URL: Some("https://ftp.gnu.org/gnu/wget/wget-1.24.5.tar.gz") [INFO] [stdout] DEBUG: Extracted SHA256: Some("abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890") [INFO] [stdout] DEBUG: Extracted 0 bottles for wget [INFO] [stdout] [INFO] [stdout] thread 'test_formula_parser' (23) panicked at tests/integration_test.rs:29:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1 [INFO] [stdout] right: 2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x646994d9f11a - std[ec4e911328de40a6]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x646994d9f11a - std[ec4e911328de40a6]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x646994d9f11a - std[ec4e911328de40a6]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x646994d9f11a - <::print::DisplayBacktrace as core[a96a4c5c53f902a3]::fmt::Display>::fmt [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x646994db55ea - ::fmt [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x646994db55ea - core[a96a4c5c53f902a3]::fmt::write [INFO] [stdout] 6: 0x646994da3f92 - std[ec4e911328de40a6]::io::default_write_fmt::> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x646994da3f92 - as std[ec4e911328de40a6]::io::Write>::write_fmt [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x646994d7df0f - ::print [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x646994d7df0f - std[ec4e911328de40a6]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x646994d975a9 - std[ec4e911328de40a6]::panicking::default_hook [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x646994a0450c - core[a96a4c5c53f902a3]::ops::function::Fn<(&'a std[ec4e911328de40a6]::panic::PanicHookInfo<'b>,), Output = ()> + core[a96a4c5c53f902a3]::marker::Sync + core[a96a4c5c53f902a3]::marker::Send> as core[a96a4c5c53f902a3]::ops::function::Fn<(&std[ec4e911328de40a6]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x646994a0450c - test[30c43f9fd66fea90]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x646994d97822 - core[a96a4c5c53f902a3]::ops::function::Fn<(&'a std[ec4e911328de40a6]::panic::PanicHookInfo<'b>,), Output = ()> + core[a96a4c5c53f902a3]::marker::Sync + core[a96a4c5c53f902a3]::marker::Send> as core[a96a4c5c53f902a3]::ops::function::Fn<(&std[ec4e911328de40a6]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x646994d97822 - std[ec4e911328de40a6]::panicking::panic_with_hook [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x646994d7dfc8 - std[ec4e911328de40a6]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x646994d75559 - std[ec4e911328de40a6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x646994d7edbd - __rustc[aa69f48705c57ca8]::rust_begin_unwind [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x646994db5e2c - core[a96a4c5c53f902a3]::panicking::panic_fmt [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x646994db5ce3 - core[a96a4c5c53f902a3]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x646994db16ed - core[a96a4c5c53f902a3]::panicking::assert_failed:: [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x6469949f4839 - integration_test[33d552c4098531e4]::test_formula_parser [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:29:5 [INFO] [stdout] 22: 0x6469949f3ea7 - integration_test[33d552c4098531e4]::test_formula_parser::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:4:25 [INFO] [stdout] 23: 0x6469949f84a6 - >::call_once [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6469949f85eb - core[a96a4c5c53f902a3]::result::Result<(), alloc[c960326de6de28e6]::string::String> as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6469949f85eb - test[30c43f9fd66fea90]::__rust_begin_short_backtrace::, fn() -> core[a96a4c5c53f902a3]::result::Result<(), alloc[c960326de6de28e6]::string::String>> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x646994a04fdb - test[30c43f9fd66fea90]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x646994a04fdb - as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x646994a04fdb - std[ec4e911328de40a6]::panicking::catch_unwind::do_call::, core[a96a4c5c53f902a3]::result::Result<(), alloc[c960326de6de28e6]::string::String>> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x646994a04fdb - std[ec4e911328de40a6]::panicking::catch_unwind::, core[a96a4c5c53f902a3]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x646994a04fdb - std[ec4e911328de40a6]::panic::catch_unwind::, core[a96a4c5c53f902a3]::result::Result<(), alloc[c960326de6de28e6]::string::String>> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x646994a04fdb - test[30c43f9fd66fea90]::run_test_in_process [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x646994a04fdb - test[30c43f9fd66fea90]::run_test::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x646994a006f4 - test[30c43f9fd66fea90]::run_test::{closure#1} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x646994a006f4 - std[ec4e911328de40a6]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x646994a07be2 - std[ec4e911328de40a6]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x646994a07be2 - ::{closure#1}::{closure#0}> as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x646994a07be2 - std[ec4e911328de40a6]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x646994a07be2 - std[ec4e911328de40a6]::panicking::catch_unwind::<(), core[a96a4c5c53f902a3]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x646994a07be2 - std[ec4e911328de40a6]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x646994a07be2 - std[ec4e911328de40a6]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x646994a07be2 - ::{closure#1} as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x646994d9ea1f - + core[a96a4c5c53f902a3]::marker::Send> as core[a96a4c5c53f902a3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x646994d9ea1f - ::new::thread_start [INFO] [stdout] at /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x76d5127feaa4 - [INFO] [stdout] 45: 0x76d51288ba64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_formula_parser [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] running `Command { std: "docker" "inspect" "90f58429d655302cf22e6fc492897b34a7b07f75871fd0a46837d9f78adf3eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f58429d655302cf22e6fc492897b34a7b07f75871fd0a46837d9f78adf3eee", kill_on_drop: false }` [INFO] [stdout] 90f58429d655302cf22e6fc492897b34a7b07f75871fd0a46837d9f78adf3eee