[INFO] cloning repository https://github.com/fedor81/downloader-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fedor81/downloader-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedor81%2Fdownloader-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedor81%2Fdownloader-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e309333f530bd615f7e56d4a6c587d6f558871a1 [INFO] testing fedor81/downloader-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedor81%2Fdownloader-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fedor81/downloader-cli [INFO] finished tweaking git repo https://github.com/fedor81/downloader-cli [INFO] tweaked toml for git repo https://github.com/fedor81/downloader-cli written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fedor81/downloader-cli on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fedor81/downloader-cli 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-core v0.1.34 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] [stderr] Downloaded system-configuration v0.6.1 [INFO] [stderr] Downloaded anstream v0.6.19 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded signal-hook-registry v1.4.5 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded dirs-sys v0.5.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.9 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded anstyle-query v1.1.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.7 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded hyper-rustls v0.27.7 [INFO] [stderr] Downloaded openssl-sys v0.9.109 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded openssl-probe v0.1.6 [INFO] [stderr] Downloaded http v1.3.1 [INFO] [stderr] Downloaded system-configuration-sys v0.6.0 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded rustls-pki-types v1.12.0 [INFO] [stderr] Downloaded openssl v0.10.73 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded iri-string v0.7.8 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded colorchoice v1.0.4 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded tower-http v0.6.6 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded http-body-util v0.1.3 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded httparse v1.10.1 [INFO] [stderr] Downloaded mio v1.0.4 [INFO] [stderr] Downloaded openssl-macros v0.1.1 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded vcpkg v0.2.15 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded option-ext v0.2.0 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded httpdate v1.0.3 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded native-tls v0.2.14 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded slab v0.4.10 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded tokio-rustls v0.26.2 [INFO] [stderr] Downloaded hyper-tls v0.6.0 [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.1 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded rand_core v0.9.3 [INFO] [stderr] Downloaded linux-raw-sys v0.9.4 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ed7f9c3328dfa6ddca1351bf4a6b6d5bf99c50e60704ac8758e4b5e3b32660 [INFO] running `Command { std: "docker" "start" "-a" "91ed7f9c3328dfa6ddca1351bf4a6b6d5bf99c50e60704ac8758e4b5e3b32660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ed7f9c3328dfa6ddca1351bf4a6b6d5bf99c50e60704ac8758e4b5e3b32660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ed7f9c3328dfa6ddca1351bf4a6b6d5bf99c50e60704ac8758e4b5e3b32660", kill_on_drop: false }` [INFO] [stdout] 91ed7f9c3328dfa6ddca1351bf4a6b6d5bf99c50e60704ac8758e4b5e3b32660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f60acca387137acec848f8b4af501e54df1d9563e916357589ea6545cd9195b [INFO] running `Command { std: "docker" "start" "-a" "3f60acca387137acec848f8b4af501e54df1d9563e916357589ea6545cd9195b", 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.173 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling winnow v0.7.11 [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 http-body-util v0.1.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [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 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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 toml_edit v0.22.27 [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 toml v0.8.23 [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 reqwest v0.12.20 [INFO] [stderr] Compiling downloader-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `AppConfig` [INFO] [stdout] --> src/config/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::app::{AppConfig, LogLevel, TomlConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::app` [INFO] [stdout] --> src/config/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::app; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/reporter/console_reporter.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/console_reporter.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn on_response(&mut self, response: &Response) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/console_reporter.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(size) = size { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | fn on_file_create(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn on_start_download(&mut self, url: &str, file: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/reporter/program_flow.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_errors(&mut self, errors: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn on_request(&mut self, url: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/silent_reporter.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn on_response(&mut self, response: &reqwest::Response) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overwrite` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn on_file_create(&mut self, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/silent_reporter.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_file_size_known(&mut self, size: Option) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/reporter/silent_reporter.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_progress(&mut self, delta: u64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/reporter/silent_reporter.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_error(&mut self, error: &anyhow::Error) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate_urls` is never used [INFO] [stdout] --> src/lib.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Downloader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn validate_urls(urls: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_false` is never used [INFO] [stdout] --> src/config/app.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn default_false() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/reporter/program_flow.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProgramReporter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "3f60acca387137acec848f8b4af501e54df1d9563e916357589ea6545cd9195b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f60acca387137acec848f8b4af501e54df1d9563e916357589ea6545cd9195b", kill_on_drop: false }` [INFO] [stdout] 3f60acca387137acec848f8b4af501e54df1d9563e916357589ea6545cd9195b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19ced27120fd644b4760481ece6670834a12ce494cbfb99caacdd2835b65a857 [INFO] running `Command { std: "docker" "start" "-a" "19ced27120fd644b4760481ece6670834a12ce494cbfb99caacdd2835b65a857", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [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 getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [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 native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [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 warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling downloader-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `AppConfig` [INFO] [stdout] --> src/config/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::app::{AppConfig, LogLevel, TomlConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::app` [INFO] [stdout] --> src/config/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::app; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/reporter/console_reporter.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/console_reporter.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn on_response(&mut self, response: &Response) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/console_reporter.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(size) = size { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | fn on_file_create(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn on_start_download(&mut self, url: &str, file: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/reporter/program_flow.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_errors(&mut self, errors: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn on_request(&mut self, url: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/silent_reporter.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn on_response(&mut self, response: &reqwest::Response) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overwrite` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn on_file_create(&mut self, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/silent_reporter.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_file_size_known(&mut self, size: Option) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/reporter/silent_reporter.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_progress(&mut self, delta: u64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/reporter/silent_reporter.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_error(&mut self, error: &anyhow::Error) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate_urls` is never used [INFO] [stdout] --> src/lib.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Downloader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn validate_urls(urls: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_false` is never used [INFO] [stdout] --> src/config/app.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn default_false() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/reporter/program_flow.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProgramReporter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [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: `AppConfig` [INFO] [stdout] --> src/config/cli.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::app::{AppConfig, LogLevel, TomlConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::app` [INFO] [stdout] --> src/config/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::app; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/reporter/console_reporter.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | let (downloader, errors) = builder.build().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/console_reporter.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn on_response(&mut self, response: &Response) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/console_reporter.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(size) = size { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/console_reporter.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | fn on_file_create(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/console_reporter.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn on_start_download(&mut self, url: &str, file: &Path) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/reporter/program_flow.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_errors(&mut self, errors: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn on_request(&mut self, url: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/reporter/silent_reporter.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn on_response(&mut self, response: &reqwest::Response) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overwrite` [INFO] [stdout] --> src/reporter/silent_reporter.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn on_file_create(&mut self, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/reporter/silent_reporter.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_file_size_known(&mut self, size: Option) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/reporter/silent_reporter.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/reporter/silent_reporter.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_progress(&mut self, delta: u64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/reporter/silent_reporter.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/reporter/silent_reporter.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn on_error(&mut self, error: &anyhow::Error) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate_urls` is never used [INFO] [stdout] --> src/lib.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Downloader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn validate_urls(urls: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_false` is never used [INFO] [stdout] --> src/config/app.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn default_false() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/reporter/program_flow.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProgramReporter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "19ced27120fd644b4760481ece6670834a12ce494cbfb99caacdd2835b65a857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ced27120fd644b4760481ece6670834a12ce494cbfb99caacdd2835b65a857", kill_on_drop: false }` [INFO] [stdout] 19ced27120fd644b4760481ece6670834a12ce494cbfb99caacdd2835b65a857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbdc3ee1a92d897614d105bf4afaee9850735489d4e9a3a49c1c09ddb4e0e70e [INFO] running `Command { std: "docker" "start" "-a" "fbdc3ee1a92d897614d105bf4afaee9850735489d4e9a3a49c1c09ddb4e0e70e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/lib.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppConfig` [INFO] [stderr] --> src/config/cli.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::config::app::{AppConfig, LogLevel, TomlConfig}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::app` [INFO] [stderr] --> src/config/cli.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use super::app; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context` and `Result` [INFO] [stderr] --> src/reporter/console_reporter.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/reporter/console_reporter.rs:141:31 [INFO] [stderr] | [INFO] [stderr] 141 | fn on_response(&mut self, response: &Response) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/reporter/console_reporter.rs:154:31 [INFO] [stderr] | [INFO] [stderr] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/reporter/console_reporter.rs:154:42 [INFO] [stderr] | [INFO] [stderr] 154 | fn on_complete(&mut self, url: &str, path: &Path) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/reporter/console_reporter.rs:167:21 [INFO] [stderr] | [INFO] [stderr] 167 | if let Some(size) = size { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/reporter/console_reporter.rs:172:34 [INFO] [stderr] | [INFO] [stderr] 172 | fn on_file_create(&mut self, path: &Path) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/reporter/console_reporter.rs:184:37 [INFO] [stderr] | [INFO] [stderr] 184 | fn on_start_download(&mut self, url: &str, file: &Path) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errors` [INFO] [stderr] --> src/reporter/program_flow.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | fn on_errors(&mut self, errors: Vec) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/reporter/silent_reporter.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | fn on_request(&mut self, url: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/reporter/silent_reporter.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | fn on_response(&mut self, response: &reqwest::Response) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/reporter/silent_reporter.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `overwrite` [INFO] [stderr] --> src/reporter/silent_reporter.rs:19:58 [INFO] [stderr] | [INFO] [stderr] 19 | fn on_file_exists(&mut self, path: &std::path::Path, overwrite: bool) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overwrite` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/reporter/silent_reporter.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | fn on_file_create(&mut self, path: &std::path::Path) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/reporter/silent_reporter.rs:23:38 [INFO] [stderr] | [INFO] [stderr] 23 | fn on_file_size_known(&mut self, size: Option) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/reporter/silent_reporter.rs:25:37 [INFO] [stderr] | [INFO] [stderr] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/reporter/silent_reporter.rs:25:48 [INFO] [stderr] | [INFO] [stderr] 25 | fn on_start_download(&mut self, url: &str, file: &std::path::Path) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta` [INFO] [stderr] --> src/reporter/silent_reporter.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | fn on_progress(&mut self, delta: u64) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/reporter/silent_reporter.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/reporter/silent_reporter.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | fn on_complete(&mut self, url: &str, path: &std::path::Path) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/reporter/silent_reporter.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | fn on_error(&mut self, error: &anyhow::Error) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: associated function `validate_urls` is never used [INFO] [stderr] --> src/lib.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 47 | impl Downloader { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 118 | fn validate_urls(urls: Vec) -> (Vec, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `default_false` is never used [INFO] [stderr] --> src/config/app.rs:305:4 [INFO] [stderr] | [INFO] [stderr] 305 | fn default_false() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `log_level` is never read [INFO] [stderr] --> src/reporter/program_flow.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ProgramReporter { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 8 | log_level: LogLevel, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `downloader-cli` (lib) generated 26 warnings (run `cargo fix --lib -p downloader-cli` to apply 4 suggestions) [INFO] [stderr] warning: unused variable: `errors` [INFO] [stderr] --> src/lib.rs:429:26 [INFO] [stderr] | [INFO] [stderr] 429 | let (downloader, errors) = builder.build().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/reporter/console_reporter.rs:141:31 [INFO] [stderr] | [INFO] [stderr] 141 | fn on_response(&mut self, response: &Response) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: `downloader-cli` (lib test) generated 27 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/downloader_cli-143e2f094ff93ac5) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test config::app::tests::test_invalid_config ... ok [INFO] [stdout] test config::app::tests::test_custom_config_values ... ok [INFO] [stdout] test config::app::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_default_path ... ok [INFO] [stdout] test tests::test_get_filename ... ok [INFO] [stdout] test tests::test_download_no_content_length ... FAILED [INFO] [stdout] test tests::test_download_content_length ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_download_no_content_length stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_download_no_content_length' (30) panicked at src/lib.rs:436:9: [INFO] [stdout] assertion `left == right` failed: Download failed: DownloadResult { [INFO] [stdout] total: 8, [INFO] [stdout] errors: [ [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: file.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: test.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: crate.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: error.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: super.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: banana.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: cargo.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: hello.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] } [INFO] [stdout] left: 8 [INFO] [stdout] right: 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x637a72672542 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x637a72672542 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x637a72672542 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x637a72672542 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x637a7268602f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x637a7268602f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x637a7263c871 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x637a7263c871 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x637a72649682 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x637a7264f25f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x637a7264f0f1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x637a71da0fce - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x637a71da0fce - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x637a7264f9cf - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x637a7264f9cf - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x637a7264f77a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x637a726497c9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x637a7263011d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x637a72691070 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x637a72690eb3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:434:23 [INFO] [stdout] 20: 0x637a72690c37 - core::panicking::assert_failed::h424f0825846ef8b6 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x637a71bc0737 - downloader_cli::tests::test_download_helper::{{closure}}::h66c68d071e51f210 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:436:9 [INFO] [stdout] 22: 0x637a71bc188e - downloader_cli::tests::test_download_no_content_length::{{closure}}::hc932e7fe28fcc09f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:373:37 [INFO] [stdout] 23: 0x637a71bb7fb2 - as core::future::future::Future>::poll::hf9ec8c3ac96ce7e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x637a71bb7f6d - as core::future::future::Future>::poll::he37ab4a19cc4eda0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 25: 0x637a71be254d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha61130523d75976d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 26: 0x637a71be22eb - tokio::task::coop::with_budget::hfe59fb3aed69aad2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 27: 0x637a71be22eb - tokio::task::coop::budget::hdae81b78b5e6b8f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 28: 0x637a71be22eb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h24ec5374a19dd731 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 29: 0x637a71bdf320 - tokio::runtime::scheduler::current_thread::Context::enter::h0087082a9b9d124e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 30: 0x637a71be0f2d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::haca76823b36afbb1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 31: 0x637a71be0bd4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::ha9feb6a51f35a397 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 32: 0x637a71bd4ccb - tokio::runtime::context::scoped::Scoped::set::he5b55d21a7953b47 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 33: 0x637a71c414e9 - tokio::runtime::context::set_scheduler::{{closure}}::ha7943c3df4a74e9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:38 [INFO] [stdout] 34: 0x637a71bc4fb2 - std::thread::local::LocalKey::try_with::ha025808c81dffc57 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 35: 0x637a71bc324e - std::thread::local::LocalKey::with::hf5ac0179f073a787 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 36: 0x637a71c4149d - tokio::runtime::context::set_scheduler::h7630f27917a5f281 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:17 [INFO] [stdout] 37: 0x637a71be0560 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h5043a661b8c42c61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 38: 0x637a71be0c73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h5c40ca68b87d7b61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 39: 0x637a71bdda50 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::haeecfd94c688437c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 40: 0x637a71bb6b60 - tokio::runtime::context::runtime::enter_runtime::h6560b3e561f9cbf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 41: 0x637a71bdd411 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd54f7f7b72a33487 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 42: 0x637a71aeea94 - tokio::runtime::runtime::Runtime::block_on_inner::h345fbfc63d3c8a9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 43: 0x637a71aeed67 - tokio::runtime::runtime::Runtime::block_on::h4fecc5359c8e205a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 44: 0x637a71bc16a3 - downloader_cli::tests::test_download_no_content_length::h6cdb31fe4c55d1be [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:373:42 [INFO] [stdout] 45: 0x637a71bc1737 - downloader_cli::tests::test_download_no_content_length::{{closure}}::h2e4fb6640096969d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:372:47 [INFO] [stdout] 46: 0x637a71bc7616 - core::ops::function::FnOnce::call_once::hdc9008ce59f9952e [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x637a71da0d8b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 48: 0x637a71da0d8b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 49: 0x637a71db6875 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 50: 0x637a71db6875 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 51: 0x637a71db6875 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 52: 0x637a71db6875 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 53: 0x637a71db6875 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 54: 0x637a71db6875 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 55: 0x637a71db6875 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 56: 0x637a71d8d1e4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 57: 0x637a71d8d1e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 58: 0x637a71d90b8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 59: 0x637a71d90b8a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 60: 0x637a71d90b8a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 61: 0x637a71d90b8a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 62: 0x637a71d90b8a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 63: 0x637a71d90b8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 64: 0x637a71d90b8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 65: 0x637a7264362f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 66: 0x637a7264362f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 67: 0x75afedd74aa4 - [INFO] [stdout] 68: 0x75afede01a34 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_download_content_length stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_download_content_length' (29) panicked at src/lib.rs:436:9: [INFO] [stdout] assertion `left == right` failed: Download failed: DownloadResult { [INFO] [stdout] total: 8, [INFO] [stdout] errors: [ [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: file.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: test.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: crate.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: super.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: error.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: cargo.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: hello.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] Error { [INFO] [stdout] context: "Failed to create file: banana.txt", [INFO] [stdout] source: Os { [INFO] [stdout] code: 30, [INFO] [stdout] kind: ReadOnlyFilesystem, [INFO] [stdout] message: "Read-only file system", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] } [INFO] [stdout] left: 8 [INFO] [stdout] right: 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x637a72672542 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x637a72672542 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x637a72672542 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x637a72672542 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x637a7268602f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x637a7268602f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x637a7263c871 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x637a7263c871 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x637a72649682 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x637a7264f25f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x637a7264f0f1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x637a71da0fce - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x637a71da0fce - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x637a7264f9cf - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x637a7264f9cf - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x637a7264f77a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x637a726497c9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x637a7263011d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x637a72691070 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x637a72690eb3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:434:23 [INFO] [stdout] 20: 0x637a72690c37 - core::panicking::assert_failed::h424f0825846ef8b6 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x637a71bc0737 - downloader_cli::tests::test_download_helper::{{closure}}::h66c68d071e51f210 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:436:9 [INFO] [stdout] 22: 0x637a71bc14e1 - downloader_cli::tests::test_download_content_length::{{closure}}::hc4b6b2dcb4ae6b97 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:368:36 [INFO] [stdout] 23: 0x637a71bb7fb2 - as core::future::future::Future>::poll::hf9ec8c3ac96ce7e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x637a71bb7f6d - as core::future::future::Future>::poll::he37ab4a19cc4eda0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 25: 0x637a71be254d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha61130523d75976d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 26: 0x637a71be22eb - tokio::task::coop::with_budget::hfe59fb3aed69aad2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 27: 0x637a71be22eb - tokio::task::coop::budget::hdae81b78b5e6b8f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 28: 0x637a71be22eb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h24ec5374a19dd731 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 29: 0x637a71bdf320 - tokio::runtime::scheduler::current_thread::Context::enter::h0087082a9b9d124e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 30: 0x637a71be0f2d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::haca76823b36afbb1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 31: 0x637a71be0bd4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::ha9feb6a51f35a397 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 32: 0x637a71bd4ccb - tokio::runtime::context::scoped::Scoped::set::he5b55d21a7953b47 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 33: 0x637a71c414e9 - tokio::runtime::context::set_scheduler::{{closure}}::ha7943c3df4a74e9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:38 [INFO] [stdout] 34: 0x637a71bc4fb2 - std::thread::local::LocalKey::try_with::ha025808c81dffc57 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 35: 0x637a71bc324e - std::thread::local::LocalKey::with::hf5ac0179f073a787 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 36: 0x637a71c4149d - tokio::runtime::context::set_scheduler::h7630f27917a5f281 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:17 [INFO] [stdout] 37: 0x637a71be0560 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h5043a661b8c42c61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 38: 0x637a71be0c73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h5c40ca68b87d7b61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 39: 0x637a71bdda50 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::haeecfd94c688437c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 40: 0x637a71bb6b60 - tokio::runtime::context::runtime::enter_runtime::h6560b3e561f9cbf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 41: 0x637a71bdd411 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd54f7f7b72a33487 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 42: 0x637a71aeea94 - tokio::runtime::runtime::Runtime::block_on_inner::h345fbfc63d3c8a9f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 43: 0x637a71aeed67 - tokio::runtime::runtime::Runtime::block_on::h4fecc5359c8e205a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 44: 0x637a71bc12f3 - downloader_cli::tests::test_download_content_length::hce87fccf37024c4f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:368:41 [INFO] [stdout] 45: 0x637a71bc1387 - downloader_cli::tests::test_download_content_length::{{closure}}::h46ed69431c095ab0 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:367:44 [INFO] [stdout] 46: 0x637a71bc62f6 - core::ops::function::FnOnce::call_once::h4b551a734a463328 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x637a71da0d8b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 48: 0x637a71da0d8b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 49: 0x637a71db6875 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 50: 0x637a71db6875 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 51: 0x637a71db6875 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 52: 0x637a71db6875 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 53: 0x637a71db6875 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 54: 0x637a71db6875 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 55: 0x637a71db6875 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 56: 0x637a71d8d1e4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 57: 0x637a71d8d1e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 58: 0x637a71d90b8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 59: 0x637a71d90b8a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 60: 0x637a71d90b8a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 61: 0x637a71d90b8a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 62: 0x637a71d90b8a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 63: 0x637a71d90b8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 64: 0x637a71d90b8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 65: 0x637a7264362f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 66: 0x637a7264362f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 67: 0x75afedd74aa4 - [INFO] [stdout] 68: 0x75afede01a34 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_download_content_length [INFO] [stdout] tests::test_download_no_content_length [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "fbdc3ee1a92d897614d105bf4afaee9850735489d4e9a3a49c1c09ddb4e0e70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbdc3ee1a92d897614d105bf4afaee9850735489d4e9a3a49c1c09ddb4e0e70e", kill_on_drop: false }` [INFO] [stdout] fbdc3ee1a92d897614d105bf4afaee9850735489d4e9a3a49c1c09ddb4e0e70e