[INFO] cloning repository https://github.com/SUIBING112233/reposite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SUIBING112233/reposite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSUIBING112233%2Freposite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSUIBING112233%2Freposite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b478685957738f37f7f7e379fe8cae7805627277 [INFO] testing SUIBING112233/reposite against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSUIBING112233%2Freposite" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SUIBING112233/reposite [INFO] finished tweaking git repo https://github.com/SUIBING112233/reposite [INFO] tweaked toml for git repo https://github.com/SUIBING112233/reposite written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SUIBING112233/reposite on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SUIBING112233/reposite 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.5.0 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded simple_logger v1.13.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.30 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded base-x v0.2.8 [INFO] [stderr] Downloaded atomic v0.5.0 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded multer v2.0.1 [INFO] [stderr] Downloaded cc v1.0.71 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded stdweb-derive v0.5.3 [INFO] [stderr] Downloaded time-macros v0.1.1 [INFO] [stderr] Downloaded http-body v0.4.3 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.5 [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded discard v1.0.4 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.9 [INFO] [stderr] Downloaded state v0.5.2 [INFO] [stderr] Downloaded inlinable_string v0.1.14 [INFO] [stderr] Downloaded sha1 v0.6.0 [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] [stderr] Downloaded pkg-config v0.3.22 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded uncased v0.9.6 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded generator v0.7.0 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded openssl-sys v0.9.68 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded ppv-lite86 v0.2.14 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded h2 v0.3.6 [INFO] [stderr] Downloaded hyper v0.14.13 [INFO] [stderr] Downloaded stdweb v0.4.20 [INFO] [stderr] Downloaded openssl v0.10.37 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded libc v0.2.104 [INFO] [stderr] Downloaded encoding_rs v0.8.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aef7b7e5d775911f0f9d888bec7b1ade87f8843f54fce64daba28516741290c7 [INFO] running `Command { std: "docker" "start" "-a" "aef7b7e5d775911f0f9d888bec7b1ade87f8843f54fce64daba28516741290c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aef7b7e5d775911f0f9d888bec7b1ade87f8843f54fce64daba28516741290c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef7b7e5d775911f0f9d888bec7b1ade87f8843f54fce64daba28516741290c7", kill_on_drop: false }` [INFO] [stdout] aef7b7e5d775911f0f9d888bec7b1ade87f8843f54fce64daba28516741290c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de993abeeba2fb487e16a0d8b8b1167e28e6783ad055c5f9b14d007a8b5f7571 [INFO] running `Command { std: "docker" "start" "-a" "de993abeeba2fb487e16a0d8b8b1167e28e6783ad055c5f9b14d007a8b5f7571", 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 pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [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 log v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [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 futures-util v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.68 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling openssl v0.10.37 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling ipnet v2.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 tokio-util v0.6.8 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [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 2m 12s [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" "de993abeeba2fb487e16a0d8b8b1167e28e6783ad055c5f9b14d007a8b5f7571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de993abeeba2fb487e16a0d8b8b1167e28e6783ad055c5f9b14d007a8b5f7571", kill_on_drop: false }` [INFO] [stdout] de993abeeba2fb487e16a0d8b8b1167e28e6783ad055c5f9b14d007a8b5f7571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f15f5b3766e7ecad1c540ed36f79c01972a1c920f5d440306c611416978334c [INFO] running `Command { std: "docker" "start" "-a" "7f15f5b3766e7ecad1c540ed36f79c01972a1c920f5d440306c611416978334c", 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 2.60s [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" "7f15f5b3766e7ecad1c540ed36f79c01972a1c920f5d440306c611416978334c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f15f5b3766e7ecad1c540ed36f79c01972a1c920f5d440306c611416978334c", kill_on_drop: false }` [INFO] [stdout] 7f15f5b3766e7ecad1c540ed36f79c01972a1c920f5d440306c611416978334c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70fb8d2775927cf2474ec091bc09a04d96c67d9d22bc2ce53b03e73c244a9801 [INFO] running `Command { std: "docker" "start" "-a" "70fb8d2775927cf2474ec091bc09a04d96c67d9d22bc2ce53b03e73c244a9801", 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.45s [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::rconfig_test::test_reposite_config ... ok [INFO] [stdout] test services::_host_state_test::test_async_host_state_service ... ok [INFO] [stdout] test config::pool_test::test_pool_info ... ok [INFO] [stdout] test util::path_util_test::test_path_warden ... ok [INFO] [stdout] test util::url_util_test::test_1_pathbuf_url_helper ... ok [INFO] [stdout] test util::config_util_test::test_get_reposite_config_file ... ok [INFO] [stdout] test util::url_util_test::test_2_pathbuf_url_helper ... ok [INFO] [stdout] test services::api_pool_test::test_get_file_list ... 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 util::download_mvn_util_test::test_mvn_download ... 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] [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' (18) 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: 4ae52337-16de-41b6-a795-b451aa0627b3, pool_type: None }] } [INFO] [stdout] right: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "default_maven", uuid: c977c642-e8fc-4cae-9041-b010599dc0c3, pool_type: Maven([Maven { source_url: "https://repo1.maven.org/maven2/" }, Maven { source_url: "https://jitpack.io/" }]) }, PoolInfo { pool_name: "", uuid: 4ae52337-16de-41b6-a795-b451aa0627b3, pool_type: None }] } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c6961e47042 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c6961e47042 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c6961e47042 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c6961e47042 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c6961e5951f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c6961e5951f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c6961e12a93 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c6961e12a93 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c6961e1f512 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c6961e2442f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c6961e242c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c696172fd8e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c696172fd8e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c6961e24b7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c6961e24b7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c6961e2489a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c6961e1f649 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c6961e0621d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c6961e642b0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c6961e64063 - core::panicking::assert_failed_inner::he0a3934689115f42 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c69616f60a4 - core::panicking::assert_failed::h80e46c6f590aa79c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c69616f7fe3 - reposite::config::config_manager_test::test_add_pool::h4d8fa02aac39e9e3 [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:23:5 [INFO] [stdout] 22: 0x5c69616f8067 - reposite::config::config_manager_test::test_add_pool::{{closure}}::hcc166702e46635b7 [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:16:19 [INFO] [stdout] 23: 0x5c69616fa016 - core::ops::function::FnOnce::call_once::h5d23d265beef2418 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c696172fb8b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c696172fb8b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c6961745635 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c6961745635 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c6961745635 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c6961745635 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c6961745635 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c6961745635 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c6961745635 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c696171c054 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c696171c054 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c696171f93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c696171f93a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c696171f93a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c696171f93a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c696171f93a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c696171f93a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c696171f93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c6961e1975f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c6961e1975f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x774bb3f9caa4 - [INFO] [stdout] 45: 0x774bb4029a34 - 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' (19) 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: c977c642-e8fc-4cae-9041-b010599dc0c3, pool_type: Maven([Maven { source_url: "https://repo1.maven.org/maven2/" }, Maven { source_url: "https://jitpack.io/" }]) }, PoolInfo { pool_name: "", uuid: 4ae52337-16de-41b6-a795-b451aa0627b3, pool_type: None }] } [INFO] [stdout] right: RepositeConfig { root_token: "112233", pools: [PoolInfo { pool_name: "test_pool", uuid: 6b50bc8e-0e99-4993-9871-414ca443b9ed, pool_type: None }] } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c6961e47042 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c6961e47042 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c6961e47042 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c6961e47042 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c6961e5951f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c6961e5951f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c6961e12a93 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c6961e12a93 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c6961e1f512 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c6961e2442f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c6961e242c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c696172fd8e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c696172fd8e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c6961e24b7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c6961e24b7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c6961e2489a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c6961e1f649 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c6961e0621d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c6961e642b0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c6961e64063 - core::panicking::assert_failed_inner::he0a3934689115f42 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c69616f60a4 - core::panicking::assert_failed::h80e46c6f590aa79c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c69616f81f3 - reposite::config::config_manager_test::test_config_manager::h94a3a65be83429f6 [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:7:5 [INFO] [stdout] 22: 0x5c69616f8257 - reposite::config::config_manager_test::test_config_manager::{{closure}}::h2c11ef80e241fc9d [INFO] [stdout] at /opt/rustwide/workdir/src/config/config_manager_test.rs:6:25 [INFO] [stdout] 23: 0x5c69616fa286 - core::ops::function::FnOnce::call_once::hc4d73f8f5f6f266e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c696172fb8b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c696172fb8b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c6961745635 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c6961745635 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c6961745635 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c6961745635 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c6961745635 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c6961745635 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c6961745635 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c696171c054 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c696171c054 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c696171f93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c696171f93a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c696171f93a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c696171f93a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c696171f93a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c696171f93a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c696171f93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c6961e1975f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c6961e1975f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x774bb3f9caa4 - [INFO] [stdout] 45: 0x774bb4029a34 - 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.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin reposite` [INFO] running `Command { std: "docker" "inspect" "70fb8d2775927cf2474ec091bc09a04d96c67d9d22bc2ce53b03e73c244a9801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70fb8d2775927cf2474ec091bc09a04d96c67d9d22bc2ce53b03e73c244a9801", kill_on_drop: false }` [INFO] [stdout] 70fb8d2775927cf2474ec091bc09a04d96c67d9d22bc2ce53b03e73c244a9801