[INFO] cloning repository https://github.com/PersonBelowRocks/pluginstall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PersonBelowRocks/pluginstall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPersonBelowRocks%2Fpluginstall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPersonBelowRocks%2Fpluginstall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54bd0c517b8028182636e011d5febf4d8dbf554f [INFO] building PersonBelowRocks/pluginstall against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPersonBelowRocks%2Fpluginstall" "/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/PersonBelowRocks/pluginstall [INFO] finished tweaking git repo https://github.com/PersonBelowRocks/pluginstall [INFO] tweaked toml for git repo https://github.com/PersonBelowRocks/pluginstall written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PersonBelowRocks/pluginstall 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/PersonBelowRocks/pluginstall 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 miette-derive v7.5.0 [INFO] [stderr] Downloaded http-cache v0.20.1 [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] [stderr] Downloaded terminal_size v0.4.2 [INFO] [stderr] Downloaded reqwest-middleware v0.4.1 [INFO] [stderr] Downloaded http-serde v2.1.1 [INFO] [stderr] Downloaded http-cache-reqwest v0.15.1 [INFO] [stderr] Downloaded ssri v9.2.0 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded reflink-copy v0.1.26 [INFO] [stderr] Downloaded jiff-static v0.2.4 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded miette v5.10.0 [INFO] [stderr] Downloaded miette v7.5.0 [INFO] [stderr] Downloaded cacache v13.1.0 [INFO] [stderr] Downloaded windows-future v0.2.0 [INFO] [stderr] Downloaded http-cache-semantics v2.1.0 [INFO] [stderr] Downloaded jiff v0.2.4 [INFO] [stderr] Downloaded miette-derive v5.10.0 [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] 864609f548e92ddb4a2c177079e61fbf9d547cb948812b21e7490a128dc0b274 [INFO] running `Command { std: "docker" "start" "-a" "864609f548e92ddb4a2c177079e61fbf9d547cb948812b21e7490a128dc0b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864609f548e92ddb4a2c177079e61fbf9d547cb948812b21e7490a128dc0b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864609f548e92ddb4a2c177079e61fbf9d547cb948812b21e7490a128dc0b274", kill_on_drop: false }` [INFO] [stdout] 864609f548e92ddb4a2c177079e61fbf9d547cb948812b21e7490a128dc0b274 [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] c6fd1fbf50761634efb6a2fd44af6eb47772539f552a41cbf4a0db6171a05b79 [INFO] running `Command { std: "docker" "start" "-a" "c6fd1fbf50761634efb6a2fd44af6eb47772539f552a41cbf4a0db6171a05b79", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling http-serde v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hyperx v1.4.0 (/opt/rustwide/workdir/hyperx) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> hyperx/build.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::all))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compat`, `headers`, and `nightly` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ssri v9.2.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling reflink-copy v0.1.26 [INFO] [stderr] Compiling http-cache-semantics v2.1.0 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling jiff v0.2.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling miette v7.5.0 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stdout] warning: trait `AssertSendSync` is never used [INFO] [stdout] --> hyperx/src/error.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | trait AssertSendSync: Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/mod.rs:534:17 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn iter(&self) -> HeadersItems { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 534 | pub fn iter(&self) -> HeadersItems<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/common/cookie.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter(&self) -> CookieIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter(&self) -> CookieIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/internals/vec_map.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/internals/vec_map.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> ::std::slice::Iter<(K, V)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> ::std::slice::Iter<'_, (K, V)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling cacache v13.1.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling http-cache v0.20.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling reqwest-middleware v0.4.1 [INFO] [stderr] Compiling http-cache-reqwest v0.15.1 [INFO] [stderr] Compiling pluginstall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::ExitCode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::ExitCode; [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 imports: `Poll`, `cmp::min`, `collections::HashMap`, `pin::Pin`, and `self` [INFO] [stdout] --> src/adapter/spiget.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::min, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | num::ParseIntError, [INFO] [stdout] 8 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | task::{self, Poll}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_new::new` [INFO] [stdout] --> src/adapter/spiget.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use derive_new::new; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream`, `TryStream`, and `task::FutureObj` [INFO] [stdout] --> src/adapter/spiget.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/adapter/spiget.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use miette::{Context, Error, IntoDiagnostic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLockReadGuard` and `RwLock` [INFO] [stdout] --> src/adapter/spiget.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::sync::{RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/caching.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::fs::{self, File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/info.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use miette::{bail, Context, IntoDiagnostic}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NotFoundError` [INFO] [stdout] --> src/cli/info.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | error::{diagnostics, NotFoundError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_new::new` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_new::new; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adapter::VersionSpec` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::adapter::VersionSpec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `simple_error` [INFO] [stdout] --> src/error.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! simple_error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `SourceOffset` [INFO] [stdout] --> src/manifest.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use miette::{Context, SourceOffset}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `PathBuf` [INFO] [stdout] --> src/session.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, ErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACacheManager` [INFO] [stdout] --> src/session.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use http_cache_reqwest::{CACacheManager, Cache, CacheMode, HttpCache, HttpCacheOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `IntoDiagnostic` [INFO] [stdout] --> src/session.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use miette::{Context, IntoDiagnostic}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VersionSpec`, `invalid_cache_control`, `invalid_content_disposition`, and `missing_content_disposition` [INFO] [stdout] --> src/session.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | adapter::{spiget::SpigetApiClient, PluginApiType, PluginVersion, VersionSpec}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | invalid_cache_control, invalid_content_disposition, missing_content_disposition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/util.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/adapter/spiget.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/adapter/spiget.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginDetailsWrapper` is never constructed [INFO] [stdout] --> src/adapter/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PluginDetailsWrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/adapter/hangar.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ManifestHangarPlugin { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 5 | slug: HangarSlug, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestHangarPlugin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HangarResourceDetails` is never constructed [INFO] [stdout] --> src/adapter/hangar.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HangarResourceDetails {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `uuid` are never read [INFO] [stdout] --> src/adapter/spiget.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct TinyVersionJson { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 133 | pub id: VersionId, [INFO] [stdout] | ^^ [INFO] [stdout] 134 | pub uuid: Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TinyVersionJson` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `average` are never read [INFO] [stdout] --> src/adapter/spiget.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct SpigetRatingJson { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 174 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pub average: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpigetRatingJson` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> src/adapter/spiget.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct SpigetResourceVersion { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 189 | pub resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpigetResourceVersion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginNotFoundError` is never constructed [INFO] [stdout] --> src/cli/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PluginNotFoundError(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionNameOrVersionIdentError` is never constructed [INFO] [stdout] --> src/cli/download.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct VersionNameOrVersionIdentError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionNotFound` is never constructed [INFO] [stdout] --> src/cli/download.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct VersionNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `missing_content_disposition` is never used [INFO] [stdout] --> src/error.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn missing_content_disposition() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_content_disposition` is never used [INFO] [stdout] --> src/error.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn invalid_content_disposition() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_cache_control` is never used [INFO] [stdout] --> src/error.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn invalid_cache_control() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/manifest.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | Hangar(ManifestHangarPlugin), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginDownloadSpec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Hangar(ManifestHangarPlugin), [INFO] [stdout] 39 + Hangar(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stderr` is never read [INFO] [stdout] --> src/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CliOutput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | stderr: Stderr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/output.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CliOutput { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn error(&self, error: E) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IoSessionError` is never used [INFO] [stdout] --> src/session.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IoSessionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IoSessionResult` is never used [INFO] [stdout] --> src/session.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub type IoSessionResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/util.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl CliTableRow { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn empty(columns: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/util.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl CliTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn remove(&mut self, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "c6fd1fbf50761634efb6a2fd44af6eb47772539f552a41cbf4a0db6171a05b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6fd1fbf50761634efb6a2fd44af6eb47772539f552a41cbf4a0db6171a05b79", kill_on_drop: false }` [INFO] [stdout] c6fd1fbf50761634efb6a2fd44af6eb47772539f552a41cbf4a0db6171a05b79 [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] 2cde0bbf18e12f71def46abb92627dc86d3f2a4709ab3c7bf15b185aec6adc52 [INFO] running `Command { std: "docker" "start" "-a" "2cde0bbf18e12f71def46abb92627dc86d3f2a4709ab3c7bf15b185aec6adc52", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> hyperx/build.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::all))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compat`, `headers`, and `nightly` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSendSync` is never used [INFO] [stdout] --> hyperx/src/error.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | trait AssertSendSync: Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/mod.rs:534:17 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn iter(&self) -> HeadersItems { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 534 | pub fn iter(&self) -> HeadersItems<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/common/cookie.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter(&self) -> CookieIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter(&self) -> CookieIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/internals/vec_map.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hyperx/src/header/internals/vec_map.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> ::std::slice::Iter<(K, V)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn iter(&self) -> ::std::slice::Iter<'_, (K, V)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pluginstall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::ExitCode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::ExitCode; [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 imports: `Poll`, `cmp::min`, `collections::HashMap`, `pin::Pin`, and `self` [INFO] [stdout] --> src/adapter/spiget.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::min, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | num::ParseIntError, [INFO] [stdout] 8 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | task::{self, Poll}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_new::new` [INFO] [stdout] --> src/adapter/spiget.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use derive_new::new; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream`, `TryStream`, and `task::FutureObj` [INFO] [stdout] --> src/adapter/spiget.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/adapter/spiget.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use miette::{Context, Error, IntoDiagnostic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLockReadGuard` and `RwLock` [INFO] [stdout] --> src/adapter/spiget.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::sync::{RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/caching.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::fs::{self, File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/cli/info.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use miette::{bail, Context, IntoDiagnostic}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NotFoundError` [INFO] [stdout] --> src/cli/info.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | error::{diagnostics, NotFoundError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_new::new` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_new::new; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adapter::VersionSpec` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::adapter::VersionSpec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `simple_error` [INFO] [stdout] --> src/error.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! simple_error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `SourceOffset` [INFO] [stdout] --> src/manifest.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use miette::{Context, SourceOffset}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `PathBuf` [INFO] [stdout] --> src/session.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, ErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACacheManager` [INFO] [stdout] --> src/session.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use http_cache_reqwest::{CACacheManager, Cache, CacheMode, HttpCache, HttpCacheOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `IntoDiagnostic` [INFO] [stdout] --> src/session.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use miette::{Context, IntoDiagnostic}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VersionSpec`, `invalid_cache_control`, `invalid_content_disposition`, and `missing_content_disposition` [INFO] [stdout] --> src/session.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | adapter::{spiget::SpigetApiClient, PluginApiType, PluginVersion, VersionSpec}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | invalid_cache_control, invalid_content_disposition, missing_content_disposition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/util.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/adapter/spiget.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/adapter/spiget.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{task::FutureObj, FutureExt, Stream, StreamExt, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginDetailsWrapper` is never constructed [INFO] [stdout] --> src/adapter/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PluginDetailsWrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/adapter/hangar.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ManifestHangarPlugin { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 5 | slug: HangarSlug, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestHangarPlugin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HangarResourceDetails` is never constructed [INFO] [stdout] --> src/adapter/hangar.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HangarResourceDetails {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `uuid` are never read [INFO] [stdout] --> src/adapter/spiget.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct TinyVersionJson { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 133 | pub id: VersionId, [INFO] [stdout] | ^^ [INFO] [stdout] 134 | pub uuid: Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TinyVersionJson` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `average` are never read [INFO] [stdout] --> src/adapter/spiget.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct SpigetRatingJson { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 174 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pub average: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpigetRatingJson` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> src/adapter/spiget.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct SpigetResourceVersion { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 189 | pub resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpigetResourceVersion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginNotFoundError` is never constructed [INFO] [stdout] --> src/cli/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PluginNotFoundError(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionNameOrVersionIdentError` is never constructed [INFO] [stdout] --> src/cli/download.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct VersionNameOrVersionIdentError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionNotFound` is never constructed [INFO] [stdout] --> src/cli/download.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct VersionNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `missing_content_disposition` is never used [INFO] [stdout] --> src/error.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn missing_content_disposition() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_content_disposition` is never used [INFO] [stdout] --> src/error.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn invalid_content_disposition() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_cache_control` is never used [INFO] [stdout] --> src/error.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn invalid_cache_control() -> MietteDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/manifest.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | Hangar(ManifestHangarPlugin), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginDownloadSpec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Hangar(ManifestHangarPlugin), [INFO] [stdout] 39 + Hangar(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stderr` is never read [INFO] [stdout] --> src/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CliOutput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | stderr: Stderr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/output.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CliOutput { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn error(&self, error: E) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IoSessionError` is never used [INFO] [stdout] --> src/session.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IoSessionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IoSessionResult` is never used [INFO] [stdout] --> src/session.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub type IoSessionResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/util.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl CliTableRow { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn empty(columns: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/util.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl CliTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn remove(&mut self, row_index: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "2cde0bbf18e12f71def46abb92627dc86d3f2a4709ab3c7bf15b185aec6adc52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cde0bbf18e12f71def46abb92627dc86d3f2a4709ab3c7bf15b185aec6adc52", kill_on_drop: false }` [INFO] [stdout] 2cde0bbf18e12f71def46abb92627dc86d3f2a4709ab3c7bf15b185aec6adc52