[INFO] cloning repository https://github.com/ThiagoOpaula/Anvil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThiagoOpaula/Anvil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiagoOpaula%2FAnvil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiagoOpaula%2FAnvil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2669221370d103fa4ee832e3867dd824d45e0b7d [INFO] testing ThiagoOpaula/Anvil against 1.97.0-beta.6 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiagoOpaula%2FAnvil" "/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/ThiagoOpaula/Anvil [INFO] finished tweaking git repo https://github.com/ThiagoOpaula/Anvil [INFO] tweaked toml for git repo https://github.com/ThiagoOpaula/Anvil written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThiagoOpaula/Anvil on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThiagoOpaula/Anvil 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winres v0.1.12 [INFO] [stderr] Downloaded log v0.4.30 [INFO] [stderr] Downloaded rfd v0.15.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.122 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.72 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.122 [INFO] [stderr] Downloaded zvariant_derive v5.12.0 [INFO] [stderr] Downloaded zvariant_utils v3.4.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.122 [INFO] [stderr] Downloaded zbus_names v4.3.2 [INFO] [stderr] Downloaded zbus_macros v5.16.0 [INFO] [stderr] Downloaded async-signal v0.2.14 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.122 [INFO] [stderr] Downloaded zvariant v5.12.0 [INFO] [stderr] Downloaded js-sys v0.3.99 [INFO] [stderr] Downloaded async-fs v2.2.0 [INFO] [stderr] Downloaded ashpd v0.11.1 [INFO] [stderr] Downloaded async-net v2.0.0 [INFO] [stderr] Downloaded zbus v5.16.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.50 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded http v1.4.1 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded profiling v1.0.18 [INFO] [stderr] Downloaded quick-xml v0.39.4 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded mime_guess2 v2.3.1 [INFO] [stderr] Downloaded ecolor v0.31.1 [INFO] [stderr] Downloaded egui_extras v0.31.1 [INFO] [stderr] Downloaded enum-map-derive v0.17.0 [INFO] [stderr] Downloaded enum-map v2.7.3 [INFO] [stderr] Downloaded emath v0.31.1 [INFO] [stderr] Downloaded zerocopy v0.8.50 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.9 [INFO] [stderr] Downloaded epaint v0.31.1 [INFO] [stderr] Downloaded unicode-segmentation v1.13.3 [INFO] [stderr] Downloaded web-sys v0.3.99 [INFO] [stderr] Downloaded egui v0.31.1 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.1 [INFO] [stderr] Downloaded orbclient v0.3.55 [INFO] [stderr] Downloaded fax v0.2.7 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded webbrowser v1.2.1 [INFO] [stderr] Downloaded pxfm v0.1.29 [INFO] [stderr] Downloaded arboard v3.6.1 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded wgpu v24.0.5 [INFO] [stderr] Downloaded wgpu-hal v24.0.4 [INFO] [stderr] Downloaded gpu-descriptor v0.3.2 [INFO] [stderr] Downloaded type-map v0.5.1 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded wgpu-core v24.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f [INFO] running `Command { std: "docker" "start" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling http v1.4.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling log v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling anvil v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling dirs v6.0.0 [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 chrono v0.4.44 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.68s [INFO] running `Command { std: "docker" "inspect" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling anvil v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_project_versions` is never used [INFO] [stdout] --> tests/common/mocks.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [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 `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_temp_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unique_temp_dir(label: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_latest`, `set_project`, `set_project_versions`, `set_download_content`, and `set_download_should_fail` are never used [INFO] [stdout] --> tests/common/mocks.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_test_version(id: &str, name: &str, version_number: &str) -> ModVersion { [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 `make_version` is never used [INFO] [stdout] --> tests/common/helpers.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn make_version( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_test_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn make_test_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file` is never used [INFO] [stdout] --> tests/common/helpers.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn make_file(url: &str, filename: &str, sha1: &str) -> ModFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_project` is never used [INFO] [stdout] --> tests/common/helpers.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn make_project(id: &str, slug: &str, title: &str) -> Project { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn make_test_config(mods_dir: &PathBuf) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_config` is never used [INFO] [stdout] --> tests/common/helpers.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn make_config(mods_dir: &Path) -> ResolvedConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_identified_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn make_identified_mod(filename: &str, project_id: &str, name: &str, version: &str) -> IdentifiedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_locked_mod` is never used [INFO] [stdout] --> tests/common/helpers.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn make_locked_mod(slug: &str, version: &str) -> LockedMod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_lockfile` is never used [INFO] [stdout] --> tests/common/helpers.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn make_lockfile(mods: Vec) -> LockFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_mods_dir` is never used [INFO] [stdout] --> tests/common/helpers.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn setup_temp_mods_dir(jar_contents: &[(&str, &[u8])]) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha1_hex` is never used [INFO] [stdout] --> tests/common/helpers.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn sha1_hex(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockApi` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MockApi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mocks.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MockApi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 59 | /// Create a `MockApi` with empty maps and zeroed call tracking. [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_version(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_latest(&self, sha1: &str, version: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_project(&self, project_id: &str, project: Project) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_project_versions(&self, project_id: &str, versions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_download_content(&self, content: Vec, sha1_override: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_download_should_fail(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockProgress` is never constructed [INFO] [stdout] --> tests/common/mocks.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct MockProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push_confirm` are never used [INFO] [stdout] --> tests/common/mocks.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl MockProgress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 274 | /// Create a `MockProgress` with empty tracking state. [INFO] [stdout] 275 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn push_confirm(&self, answer: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tests_common` [INFO] [stdout] --> src/tests/test_interactive.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let tests_common = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/common"); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tests_common` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anvil` (lib test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.97.0-beta.6-x86_64-unknown-linux-gnu/bin/rustc --crate-name anvil --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("crossbeam", "default", "eframe", "egui", "egui_extras", "gui", "rfd"))' -C metadata=ae93b5819ad7022a -C extra-filename=-f1918adb23916878 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-9e4c44ac98d8e4ea.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-3453bb6e76f3ba47.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-2cea828c71e15b8e.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-f4ba878a4f26d60a.rlib --extern console=/opt/rustwide/target/debug/deps/libconsole-17bd267ad9ef293b.rlib --extern dialoguer=/opt/rustwide/target/debug/deps/libdialoguer-bdd20cbf63137388.rlib --extern dirs=/opt/rustwide/target/debug/deps/libdirs-e01888f456cea9df.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-d937f75c86d1096f.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-13e08b3b00984ab7.rlib --extern indicatif=/opt/rustwide/target/debug/deps/libindicatif-4db562315618a07b.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-2d1b89e4147c3bac.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-196dbb7af007b2a6.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-36785060c1ea6758.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-a98d717acb31facf.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-a837d2ebb66287e1.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-5e90adc18491a337.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-83e729990692a095.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-d0cb6e13fbe5412d.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-9244677a201ade0f.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-486e86b8c14f96dc.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-59c5b58eaea220a2.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/ring-54d93fe55b64ef13/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f", kill_on_drop: false }` [INFO] [stdout] 4de4a003304b74c28997bfe6f3f01e6e4ba1fc417fc883fc47820350d5d17a0f