[INFO] fetching crate reposite 0.1.1... [INFO] testing reposite-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate reposite 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate reposite 0.1.1 [INFO] finished tweaking crates.io crate reposite 0.1.1 [INFO] tweaked toml for crates.io crate reposite 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reposite 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reposite 0.1.1 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] [stderr] Downloaded tokio-macros v1.5.0 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded multer v2.0.1 [INFO] [stderr] Downloaded ref-cast-impl v1.0.6 [INFO] [stderr] Downloaded generator v0.7.0 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded pkg-config v0.3.22 [INFO] [stderr] Downloaded h2 v0.3.6 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded openssl v0.10.37 [INFO] [stderr] Downloaded hyper v0.14.13 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded yansi v0.5.0 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded openssl-sys v0.9.68 [INFO] [stderr] Downloaded encoding_rs v0.8.29 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded atomic v0.5.0 [INFO] [stderr] Downloaded cc v1.0.71 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded ref-cast v1.0.6 [INFO] [stderr] Downloaded state v0.5.2 [INFO] [stderr] Downloaded base-x v0.2.8 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded simple_logger v1.13.0 [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.2 [INFO] [stderr] Downloaded async-stream v0.3.2 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded pear_codegen v0.2.3 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded inlinable_string v0.1.14 [INFO] [stderr] Downloaded uncased v0.9.6 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.14 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded libc v0.2.104 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.18 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded tracing-serde v0.1.2 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded socket2 v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded sha1 v0.6.0 [INFO] [stderr] Downloaded quote v1.0.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24f4e2a8f412544ea7e501e502449a02c8fd5dc7a51c619876df0cc7d49c6a11 [INFO] running `Command { std: "docker" "start" "-a" "24f4e2a8f412544ea7e501e502449a02c8fd5dc7a51c619876df0cc7d49c6a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24f4e2a8f412544ea7e501e502449a02c8fd5dc7a51c619876df0cc7d49c6a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f4e2a8f412544ea7e501e502449a02c8fd5dc7a51c619876df0cc7d49c6a11", kill_on_drop: false }` [INFO] [stdout] 24f4e2a8f412544ea7e501e502449a02c8fd5dc7a51c619876df0cc7d49c6a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99fffacdf9b414da4808aac51613dfc33e46f73e6aee714de5f5df6eaf8d67dd [INFO] running `Command { std: "docker" "start" "-a" "99fffacdf9b414da4808aac51613dfc33e46f73e6aee714de5f5df6eaf8d67dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.68 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.37 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling reposite v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `account_info::AccountInfo` [INFO] [stdout] --> src/config/rconfig.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{account_info::AccountInfo, pool::PoolInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::account_info` [INFO] [stdout] --> src/config/account_info_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::account_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod account_info_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::rconfig` [INFO] [stdout] --> src/config/config_manager_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::rconfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod config_manager_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config_manager` and `pool` [INFO] [stdout] --> src/config/config_manager_test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{config_manager, pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod config_manager_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/config/pool_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod pool_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::pool` [INFO] [stdout] --> src/config/pool_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::pool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod pool_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/config/rconfig_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod rconfig_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PoolInfo`, `PoolType`, `account_info::AccountInfo`, `rconfig`, and `self` [INFO] [stdout] --> src/config/rconfig_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | account_info::AccountInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pool::{PoolInfo, PoolType}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | rconfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/config/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod rconfig_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mvn_download_from_source`, `self`, `self`, and `url_util` [INFO] [stdout] --> src/pool_cache/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | download_mvn_util::{self, mvn_download_from_all_sources, mvn_download_from_source}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | path_util, url_util, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileType`, `File`, `Path`, `io::Error`, and `self` [INFO] [stdout] --> src/services/api_pool.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File, FileType}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 3 | io::Error, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool` [INFO] [stdout] --> src/services/api_pool.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | config::{config_manager, pool}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fairing::Result` and `form::validate::Len` [INFO] [stdout] --> src/services/api_pool.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::{fairing::Result, form::validate::Len, http::ContentType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/services/api_pool.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool_list` [INFO] [stdout] --> src/services/api_pool.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn pool_list() -> (ContentType, String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_info` [INFO] [stdout] --> src/services/api_pool.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn path_info( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/services/api_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/services/api_state.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | response::content::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::config_manager` [INFO] [stdout] --> src/services/api_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::config_manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state` [INFO] [stdout] --> src/services/api_state.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn state() -> (ContentType, String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/services/pool_service.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file` [INFO] [stdout] --> src/services/pool_service.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_file(pool_name: String, path: PathBuf) -> (ContentType, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::task::SpawnExt` [INFO] [stdout] --> src/services/_host_state_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod _host_state_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime` [INFO] [stdout] --> src/services/_host_state_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod _host_state_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::services::_host_state` [INFO] [stdout] --> src/services/_host_state_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::services::_host_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod _host_state_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/services/api_pool_test.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod api_pool_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Status` and `local::blocking::Client` [INFO] [stdout] --> src/services/api_pool_test.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::{http::Status, local::blocking::Client}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod api_pool_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `services::api_pool` and `util::path_util` [INFO] [stdout] --> src/services/api_pool_test.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{services::api_pool, util::path_util}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod api_pool_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Status` and `local::blocking::Client` [INFO] [stdout] --> src/services/api_state_test.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{http::Status, local::blocking::Client}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod api_state_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_host_state` and `api_state` [INFO] [stdout] --> src/services/api_state_test.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::services::{_host_state, api_state}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/services/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod api_state_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `Write` [INFO] [stdout] --> src/util/config_util.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, ErrorKind, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::Uri` [INFO] [stdout] --> src/util/config_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::http::hyper::Uri; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Maven` [INFO] [stdout] --> src/util/config_util.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pool_cache::mvn_pool::{self, Maven}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Status` and `yansi::Paint` [INFO] [stdout] --> src/util/download_mvn_util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::{http::Status, yansi::Paint}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config::pool::PoolType` and `download_mvn_util` [INFO] [stdout] --> src/util/download_mvn_util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | config::pool::PoolType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pool_cache::mvn_pool::Maven, [INFO] [stdout] 9 | util::{download_mvn_util, url_util}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `fs::FileType` [INFO] [stdout] --> src/util/path_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::FileType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util/config_util_test.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod config_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::config_util` [INFO] [stdout] --> src/util/config_util_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::config_util; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod config_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/util/download_mvn_util_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod download_mvn_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/util/download_mvn_util_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod download_mvn_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::path_util` [INFO] [stdout] --> src/util/download_mvn_util_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::path_util; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod download_mvn_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/util/path_util_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod path_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::path_util::path_warden` [INFO] [stdout] --> src/util/path_util_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::util::path_util::path_warden; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod path_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/util/url_util_test.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod url_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/util/url_util_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod url_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::url_util` [INFO] [stdout] --> src/util/url_util_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::url_util; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/util/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod url_util_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/config/account_info.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn new() -> AccountInfoBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInfo` is never constructed [INFO] [stdout] --> src/config/account_info.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountInfoBuilder` is never constructed [INFO] [stdout] --> src/config/account_info.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | AccountInfoBuilder [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user_name`, `user_token`, `user_access`, and `build` are never used [INFO] [stdout] --> src/config/account_info.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 13 | / default_builder!( [INFO] [stdout] 14 | | #[derive(PartialEq, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 15 | | pub struct AccountInfo { [INFO] [stdout] 16 | | pub user_name: String, [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 17 | | pub user_token: String, [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 18 | | pub user_access: Vec, [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 19 | | }, [INFO] [stdout] 20 | | AccountInfoBuilder [INFO] [stdout] 21 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/macros/builder_macro.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | impl $builder_struct_name { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn build(self)-> $target_struct_name{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `default_builder_fn` which comes from the expansion of the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/config/config_manager.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn save_config() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_pool_exist_uuid` is never used [INFO] [stdout] --> src/config/config_manager.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_pool_exist_uuid(uuid: Uuid) -> (Option, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_pool` is never used [INFO] [stdout] --> src/config/config_manager.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn add_pool(pool: pool::PoolInfo) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_pool_by_poolinfo` is never used [INFO] [stdout] --> src/config/config_manager.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_poolinfo` is never used [INFO] [stdout] --> src/config/config_manager.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn remove_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_uuid` is never used [INFO] [stdout] --> src/config/config_manager.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn remove_pool_by_uuid(uuid: uuid::Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_index` is never used [INFO] [stdout] --> src/config/config_manager.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn remove_pool_by_index(i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_pool_name` is never used [INFO] [stdout] --> src/config/config_manager.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn remove_pool_by_pool_name(pool_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pool_by_uuid` is never used [INFO] [stdout] --> src/config/config_manager.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_pool_by_uuid(uuid: uuid::Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uuid` is never used [INFO] [stdout] --> src/config/pool.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | pub uuid: uuid::Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros/builder_macro.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | impl $builder_struct_name { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `default_builder_fn` which comes from the expansion of the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENV_REPOSITE_DEBUG` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ENV_REPOSITE_DEBUG: &str = "REPOSITE_DEBUG"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CachePath` is never used [INFO] [stdout] --> src/pool_cache/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CachePath { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "99fffacdf9b414da4808aac51613dfc33e46f73e6aee714de5f5df6eaf8d67dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fffacdf9b414da4808aac51613dfc33e46f73e6aee714de5f5df6eaf8d67dd", kill_on_drop: false }` [INFO] [stdout] 99fffacdf9b414da4808aac51613dfc33e46f73e6aee714de5f5df6eaf8d67dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e4ed29b64bae93ed64f375eb3761f76009a8c5ffdb17839e2e5b945d05f6ee5 [INFO] running `Command { std: "docker" "start" "-a" "9e4ed29b64bae93ed64f375eb3761f76009a8c5ffdb17839e2e5b945d05f6ee5", kill_on_drop: false }` [INFO] [stderr] Compiling reposite v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `account_info::AccountInfo` [INFO] [stdout] --> src/config/rconfig.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{account_info::AccountInfo, pool::PoolInfo}; [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: `mvn_download_from_source`, `self`, `self`, and `url_util` [INFO] [stdout] --> src/pool_cache/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | download_mvn_util::{self, mvn_download_from_all_sources, mvn_download_from_source}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | path_util, url_util, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileType`, `File`, `Path`, `io::Error`, and `self` [INFO] [stdout] --> src/services/api_pool.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File, FileType}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 3 | io::Error, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool` [INFO] [stdout] --> src/services/api_pool.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | config::{config_manager, pool}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fairing::Result` and `form::validate::Len` [INFO] [stdout] --> src/services/api_pool.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::{fairing::Result, form::validate::Len, http::ContentType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/services/api_pool.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool_list` [INFO] [stdout] --> src/services/api_pool.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn pool_list() -> (ContentType, String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_info` [INFO] [stdout] --> src/services/api_pool.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn path_info( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/services/api_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/services/api_state.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | response::content::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::config_manager` [INFO] [stdout] --> src/services/api_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::config_manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state` [INFO] [stdout] --> src/services/api_state.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn state() -> (ContentType, String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/services/pool_service.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file` [INFO] [stdout] --> src/services/pool_service.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_file(pool_name: String, path: PathBuf) -> (ContentType, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::task::SpawnExt` [INFO] [stdout] --> src/services/_host_state_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime` [INFO] [stdout] --> src/services/_host_state_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/services/api_pool_test.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::path_util` [INFO] [stdout] --> src/services/api_pool_test.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{services::api_pool, util::path_util}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_host_state` [INFO] [stdout] --> src/services/api_state_test.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::services::{_host_state, api_state}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `Write` [INFO] [stdout] --> src/util/config_util.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, ErrorKind, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::Uri` [INFO] [stdout] --> src/util/config_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::http::hyper::Uri; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Maven` [INFO] [stdout] --> src/util/config_util.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pool_cache::mvn_pool::{self, Maven}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Status` and `yansi::Paint` [INFO] [stdout] --> src/util/download_mvn_util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::{http::Status, yansi::Paint}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config::pool::PoolType` and `download_mvn_util` [INFO] [stdout] --> src/util/download_mvn_util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | config::pool::PoolType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pool_cache::mvn_pool::Maven, [INFO] [stdout] 9 | util::{download_mvn_util, url_util}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `fs::FileType` [INFO] [stdout] --> src/util/path_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::FileType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util/config_util_test.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/util/download_mvn_util_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::path_util` [INFO] [stdout] --> src/util/download_mvn_util_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::path_util; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/util/url_util_test.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_user_info` [INFO] [stdout] --> src/config/rconfig_test.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let t_user_info = AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_user_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user_name`, `user_token`, and `user_access` are never used [INFO] [stdout] --> src/config/account_info.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub user_token: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub user_access: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros/builder_macro.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | impl $builder_struct_name { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `default_builder_fn` which comes from the expansion of the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/config/config_manager.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn save_config() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_pool_by_poolinfo` is never used [INFO] [stdout] --> src/config/config_manager.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_poolinfo` is never used [INFO] [stdout] --> src/config/config_manager.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn remove_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_uuid` is never used [INFO] [stdout] --> src/config/config_manager.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn remove_pool_by_uuid(uuid: uuid::Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_index` is never used [INFO] [stdout] --> src/config/config_manager.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn remove_pool_by_index(i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_pool_by_pool_name` is never used [INFO] [stdout] --> src/config/config_manager.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn remove_pool_by_pool_name(pool_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pool_by_uuid` is never used [INFO] [stdout] --> src/config/config_manager.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_pool_by_uuid(uuid: uuid::Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENV_REPOSITE_DEBUG` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ENV_REPOSITE_DEBUG: &str = "REPOSITE_DEBUG"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CachePath` is never used [INFO] [stdout] --> src/pool_cache/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CachePath { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/util/url_util_test.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | .join(test_addition.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9e4ed29b64bae93ed64f375eb3761f76009a8c5ffdb17839e2e5b945d05f6ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4ed29b64bae93ed64f375eb3761f76009a8c5ffdb17839e2e5b945d05f6ee5", kill_on_drop: false }` [INFO] [stdout] 9e4ed29b64bae93ed64f375eb3761f76009a8c5ffdb17839e2e5b945d05f6ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1469ad72cbcbe418251f593da5cfab8dac842b20482f8fed690e7f320ceb21c7 [INFO] running `Command { std: "docker" "start" "-a" "1469ad72cbcbe418251f593da5cfab8dac842b20482f8fed690e7f320ceb21c7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `account_info::AccountInfo` [INFO] [stderr] --> src/config/rconfig.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use super::{account_info::AccountInfo, pool::PoolInfo}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `mvn_download_from_source`, `self`, `self`, and `url_util` [INFO] [stderr] --> src/pool_cache/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | self, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | download_mvn_util::{self, mvn_download_from_all_sources, mvn_download_from_source}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | path_util, url_util, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FileType`, `File`, `Path`, `io::Error`, and `self` [INFO] [stderr] --> src/services/api_pool.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | fs::{self, File, FileType}, [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] 3 | io::Error, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 4 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pool` [INFO] [stderr] --> src/services/api_pool.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | config::{config_manager, pool}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `fairing::Result` and `form::validate::Len` [INFO] [stderr] --> src/services/api_pool.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | use rocket::{fairing::Result, form::validate::Len, http::ContentType}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `walkdir::WalkDir` [INFO] [stderr] --> src/services/api_pool.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use walkdir::WalkDir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pool_list` [INFO] [stderr] --> src/services/api_pool.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn pool_list() -> (ContentType, String) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `path_info` [INFO] [stderr] --> src/services/api_pool.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | pub async fn path_info( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/services/api_state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/services/api_state.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | response::content::{self}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::config::config_manager` [INFO] [stderr] --> src/services/api_state.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::config::config_manager; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `state` [INFO] [stderr] --> src/services/api_state.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn state() -> (ContentType, String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/services/pool_service.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{debug, info}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_file` [INFO] [stderr] --> src/services/pool_service.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn get_file(pool_name: String, path: PathBuf) -> (ContentType, Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::futures::task::SpawnExt` [INFO] [stderr] --> src/services/_host_state_test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::futures::task::SpawnExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime` [INFO] [stderr] --> src/services/_host_state_test.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::runtime; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PathBuf` and `Path` [INFO] [stderr] --> src/services/api_pool_test.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `util::path_util` [INFO] [stderr] --> src/services/api_pool_test.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{services::api_pool, util::path_util}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `_host_state` [INFO] [stderr] --> src/services/api_state_test.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::services::{_host_state, api_state}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind` and `Write` [INFO] [stderr] --> src/util/config_util.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | io::{self, ErrorKind, Write}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::http::hyper::Uri` [INFO] [stderr] --> src/util/config_util.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket::http::hyper::Uri; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Maven` [INFO] [stderr] --> src/util/config_util.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | pool_cache::mvn_pool::{self, Maven}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `http::Status` and `yansi::Paint` [INFO] [stderr] --> src/util/download_mvn_util.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use rocket::{http::Status, yansi::Paint}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `config::pool::PoolType` and `download_mvn_util` [INFO] [stderr] --> src/util/download_mvn_util.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | config::pool::PoolType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | pool_cache::mvn_pool::Maven, [INFO] [stderr] 9 | util::{download_mvn_util, url_util}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Path` and `fs::FileType` [INFO] [stderr] --> src/util/path_util.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | fs::FileType, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 3 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/util/config_util_test.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/util/download_mvn_util_test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::util::path_util` [INFO] [stderr] --> src/util/download_mvn_util_test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::util::path_util; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/util/url_util_test.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(async_closure)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_user_info` [INFO] [stderr] --> src/config/rconfig_test.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let t_user_info = AccountInfo { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_user_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `user_name`, `user_token`, and `user_access` are never used [INFO] [stderr] --> src/config/account_info.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | pub user_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 17 | pub user_token: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | pub user_access: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/macros/builder_macro.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | impl $builder_struct_name { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `default_builder_fn` which comes from the expansion of the macro `default_builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `save_config` is never used [INFO] [stderr] --> src/config/config_manager.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn save_config() {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_pool_by_poolinfo` is never used [INFO] [stderr] --> src/config/config_manager.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn set_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_pool_by_poolinfo` is never used [INFO] [stderr] --> src/config/config_manager.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn remove_pool_by_poolinfo(pool: pool::PoolInfo) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_pool_by_uuid` is never used [INFO] [stderr] --> src/config/config_manager.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn remove_pool_by_uuid(uuid: uuid::Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_pool_by_index` is never used [INFO] [stderr] --> src/config/config_manager.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn remove_pool_by_index(i: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_pool_by_pool_name` is never used [INFO] [stderr] --> src/config/config_manager.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn remove_pool_by_pool_name(pool_name: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_pool_by_uuid` is never used [INFO] [stderr] --> src/config/config_manager.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn get_pool_by_uuid(uuid: uuid::Uuid) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ENV_REPOSITE_DEBUG` is never used [INFO] [stderr] --> src/constants.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const ENV_REPOSITE_DEBUG: &str = "REPOSITE_DEBUG"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `CachePath` is never used [INFO] [stderr] --> src/pool_cache/mod.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait CachePath { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/util/url_util_test.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | .join(test_addition.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `reposite` (bin "reposite" test) generated 43 warnings (run `cargo fix --bin "reposite" --tests` to apply 30 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/reposite-56f46681db20c016) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test config::account_info_test::test_account_info ... ok [INFO] [stdout] test config::pool_test::test_pool_info ... ok [INFO] [stdout] test services::_host_state_test::test_async_host_state_service ... ok [INFO] [stdout] test config::rconfig_test::test_reposite_config ... ok [INFO] [stdout] test util::config_util_test::test_get_reposite_config_file ... ok [INFO] [stdout] test util::path_util_test::test_path_warden ... ok [INFO] [stdout] test util::url_util_test::test_2_pathbuf_url_helper ... ok [INFO] [stdout] test util::url_util_test::test_1_pathbuf_url_helper ... ok [INFO] [stdout] test services::api_pool_test::test_get_pool_list ... ok [INFO] [stdout] test services::api_state_test::test_get_host_state ... ok [INFO] [stdout] test services::api_pool_test::test_get_file_list ... ok [INFO] [stdout] test config::config_manager_test::test_add_pool ... FAILED [INFO] [stdout] test config::config_manager_test::test_config_manager ... FAILED [INFO] [stdout] test util::download_mvn_util_test::test_mvn_download ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::config_manager_test::test_add_pool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::config_manager_test::test_add_pool' (26) panicked at src/config/config_manager_test.rs:23:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "", uuid: eba6f7d3-8349-4a30-a547-53433c8e2377, pool_type: None }] } [INFO] [stdout] right: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "default_maven", uuid: ad20a84b-6f67-4c2b-9706-09eb3bd3c7b6, pool_type: Maven([Maven { source_url: "https://repo1.maven.org/maven2/" }, Maven { source_url: "https://jitpack.io/" }]) }, PoolInfo { pool_name: "", uuid: eba6f7d3-8349-4a30-a547-53433c8e2377, pool_type: None }] } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6115d8b86cf2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6115d8b86cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6115d8b86cf2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6115d8b86cf2 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6115d8b992df - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6115d8b992df - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6115d8b51c11 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6115d8b51c11 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6115d8b5ecb2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6115d8b63d1f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6115d8b63bb1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6115d84714fe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6115d84714fe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6115d8b6448f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6115d8b6448f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6115d8b6423a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6115d8b5ede9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6115d8b4574d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6115d8ba4080 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6115d8ba3e33 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x6115d842c5c8 - core::panicking::assert_failed::he1b9b22925f8d21b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x6115d8435b03 - reposite::config::config_manager_test::test_add_pool::h5c36e3c37d3ff705 [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:23:5 [INFO] [stdout] 22: 0x6115d8435b87 - reposite::config::config_manager_test::test_add_pool::{{closure}}::h9f04a754e6662563 [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:16:19 [INFO] [stdout] 23: 0x6115d8425a56 - core::ops::function::FnOnce::call_once::h697ac0d10043fd73 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6115d847132b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6115d847132b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6115d8486f05 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6115d8486f05 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6115d8486f05 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x6115d8486f05 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x6115d8486f05 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6115d8486f05 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6115d8486f05 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6115d845d714 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6115d845d714 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x6115d8460fda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6115d8460fda - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6115d8460fda - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x6115d8460fda - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x6115d8460fda - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6115d8460fda - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6115d8460fda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6115d8b59f2f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6115d8b59f2f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7e9ef9a28aa4 - [INFO] [stdout] 45: 0x7e9ef9ab5a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- config::config_manager_test::test_config_manager stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::config_manager_test::test_config_manager' (27) panicked at src/config/config_manager_test.rs:7:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "default_maven", uuid: ad20a84b-6f67-4c2b-9706-09eb3bd3c7b6, pool_type: Maven([Maven { source_url: "https://repo1.maven.org/maven2/" }, Maven { source_url: "https://jitpack.io/" }]) }, PoolInfo { pool_name: "", uuid: eba6f7d3-8349-4a30-a547-53433c8e2377, pool_type: None }] } [INFO] [stdout] right: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "test_pool", uuid: cb3ee40e-2f0b-48c8-9301-d39aba7a43ab, pool_type: None }] } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6115d8b86cf2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6115d8b86cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6115d8b86cf2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6115d8b86cf2 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6115d8b992df - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6115d8b992df - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6115d8b51c11 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6115d8b51c11 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6115d8b5ecb2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6115d8b63d1f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6115d8b63bb1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6115d84714fe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6115d84714fe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6115d8b6448f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6115d8b6448f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6115d8b6423a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6115d8b5ede9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6115d8b4574d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6115d8ba4080 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6115d8ba3e33 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x6115d842c5c8 - core::panicking::assert_failed::he1b9b22925f8d21b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x6115d8435d13 - reposite::config::config_manager_test::test_config_manager::h7a95617e928a671d [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:7:5 [INFO] [stdout] 22: 0x6115d8435d77 - reposite::config::config_manager_test::test_config_manager::{{closure}}::h738438c527954f0c [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:6:25 [INFO] [stdout] 23: 0x6115d8425d76 - core::ops::function::FnOnce::call_once::hf009792f341ff8e5 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6115d847132b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6115d847132b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6115d8486f05 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6115d8486f05 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6115d8486f05 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x6115d8486f05 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x6115d8486f05 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6115d8486f05 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6115d8486f05 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6115d845d714 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6115d845d714 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x6115d8460fda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6115d8460fda - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6115d8460fda - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x6115d8460fda - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x6115d8460fda - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6115d8460fda - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6115d8460fda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6115d8b59f2f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6115d8b59f2f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7e9ef9a28aa4 - [INFO] [stdout] 45: 0x7e9ef9ab5a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::config_manager_test::test_add_pool [INFO] [stdout] config::config_manager_test::test_config_manager [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin reposite` [INFO] running `Command { std: "docker" "inspect" "1469ad72cbcbe418251f593da5cfab8dac842b20482f8fed690e7f320ceb21c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1469ad72cbcbe418251f593da5cfab8dac842b20482f8fed690e7f320ceb21c7", kill_on_drop: false }` [INFO] [stdout] 1469ad72cbcbe418251f593da5cfab8dac842b20482f8fed690e7f320ceb21c7