[INFO] cloning repository https://github.com/Ftrybe/warp_minio_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ftrybe/warp_minio_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFtrybe%2Fwarp_minio_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFtrybe%2Fwarp_minio_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd1da8350854b2f6b226dafd073e5b6583a3b0d6 [INFO] testing Ftrybe/warp_minio_server against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFtrybe%2Fwarp_minio_server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ftrybe/warp_minio_server on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ftrybe/warp_minio_server [INFO] finished tweaking git repo https://github.com/Ftrybe/warp_minio_server [INFO] tweaked toml for git repo https://github.com/Ftrybe/warp_minio_server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ftrybe/warp_minio_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-lock v3.2.0 [INFO] [stderr] Downloaded r2d2_redis v0.14.0 [INFO] [stderr] Downloaded async-task v4.6.0 [INFO] [stderr] Downloaded serde_yaml v0.9.29 [INFO] [stderr] Downloaded event-listener v4.0.1 [INFO] [stderr] Downloaded futures-lite v2.1.0 [INFO] [stderr] Downloaded minio v0.1.0 [INFO] [stderr] Downloaded polling v3.3.1 [INFO] [stderr] Downloaded async-io v2.2.2 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d6d319e6f46f027d93e2593b2de4038c37e6c65e0253e62f7491c4ea1741b1b [INFO] running `Command { std: "docker" "start" "-a" "6d6d319e6f46f027d93e2593b2de4038c37e6c65e0253e62f7491c4ea1741b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d6d319e6f46f027d93e2593b2de4038c37e6c65e0253e62f7491c4ea1741b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6d319e6f46f027d93e2593b2de4038c37e6c65e0253e62f7491c4ea1741b1b", kill_on_drop: false }` [INFO] [stdout] 6d6d319e6f46f027d93e2593b2de4038c37e6c65e0253e62f7491c4ea1741b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b8657d648e2b7b57f5cf9c5f027b5d7edf2fdecf97a09f028dd5e23b5a83394 [INFO] running `Command { std: "docker" "start" "-a" "1b8657d648e2b7b57f5cf9c5f027b5d7edf2fdecf97a09f028dd5e23b5a83394", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling event-listener v4.0.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-task v4.6.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling redis v0.20.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling r2d2_redis v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling os_info v3.7.0 [INFO] [stderr] Compiling multimap v0.9.1 [INFO] [stderr] Compiling serde_yaml v0.9.29 [INFO] [stderr] Compiling jsonwebtoken v9.2.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling minio v0.1.0 [INFO] [stderr] Compiling warp_minio_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MINIO_POOLS` [INFO] [stdout] --> src/main.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::minio::minio_pool::{MINIO_POOLS, MinioPool}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `log`, `warn` [INFO] [stdout] --> src/minio/minio_pool.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{log, warn}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/minio/minio_pool.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut pools = MINIO_POOLS.write(); // 获取写锁 [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/minio/minio_pool.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut pools = MINIO_POOLS.write(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/minio/r2d2_minio.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/minio/r2d2_minio.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn has_broken(&self, conn: &mut Self::Connection) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIO_CONFIG_KEY_PREFIX` is never used [INFO] [stdout] --> src/config/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MINIO_CONFIG_KEY_PREFIX: &'static str = "sys_oss:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `convert` is never read [INFO] [stdout] --> src/config/power_config.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PowerConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) convert: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PowerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_minio_config` is never used [INFO] [stdout] --> src/cache.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_minio_config(config_key: &str) -> RedisResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instances` and `current_index` are never read [INFO] [stdout] --> src/minio/minio_pool.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MinioPool { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | instances: RwLock>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | // 用于轮询的当前索引 [INFO] [stdout] 32 | current_index: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.20.2 [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" "1b8657d648e2b7b57f5cf9c5f027b5d7edf2fdecf97a09f028dd5e23b5a83394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8657d648e2b7b57f5cf9c5f027b5d7edf2fdecf97a09f028dd5e23b5a83394", kill_on_drop: false }` [INFO] [stdout] 1b8657d648e2b7b57f5cf9c5f027b5d7edf2fdecf97a09f028dd5e23b5a83394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c180a3754fd09310336c23d5f05815008d4d32b02b869acebcb3f37a77cc2b5c [INFO] running `Command { std: "docker" "start" "-a" "c180a3754fd09310336c23d5f05815008d4d32b02b869acebcb3f37a77cc2b5c", kill_on_drop: false }` [INFO] [stderr] Compiling warp_minio_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MINIO_POOLS` [INFO] [stdout] --> src/main.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::minio::minio_pool::{MINIO_POOLS, MinioPool}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `log`, `warn` [INFO] [stdout] --> src/minio/minio_pool.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{log, warn}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/minio/minio_pool.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut pools = MINIO_POOLS.write(); // 获取写锁 [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/minio/minio_pool.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut pools = MINIO_POOLS.write(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/minio/r2d2_minio.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/minio/r2d2_minio.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn has_broken(&self, conn: &mut Self::Connection) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIO_CONFIG_KEY_PREFIX` is never used [INFO] [stdout] --> src/config/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MINIO_CONFIG_KEY_PREFIX: &'static str = "sys_oss:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `convert` is never read [INFO] [stdout] --> src/config/power_config.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PowerConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) convert: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PowerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_minio_config` is never used [INFO] [stdout] --> src/cache.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_minio_config(config_key: &str) -> RedisResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instances` and `current_index` are never read [INFO] [stdout] --> src/minio/minio_pool.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MinioPool { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | instances: RwLock>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | // 用于轮询的当前索引 [INFO] [stdout] 32 | current_index: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.20.2 [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" "c180a3754fd09310336c23d5f05815008d4d32b02b869acebcb3f37a77cc2b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c180a3754fd09310336c23d5f05815008d4d32b02b869acebcb3f37a77cc2b5c", kill_on_drop: false }` [INFO] [stdout] c180a3754fd09310336c23d5f05815008d4d32b02b869acebcb3f37a77cc2b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a583410b0af2ced40562c490c0f5b660917da647d97020d21b725ecaa41d491 [INFO] running `Command { std: "docker" "start" "-a" "7a583410b0af2ced40562c490c0f5b660917da647d97020d21b725ecaa41d491", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `MINIO_POOLS` [INFO] [stderr] --> src/main.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::minio::minio_pool::{MINIO_POOLS, MinioPool}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `log`, `warn` [INFO] [stderr] --> src/minio/minio_pool.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{log, warn}; [INFO] [stderr] | ^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/minio/minio_pool.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | let mut pools = MINIO_POOLS.write(); // 获取写锁 [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/minio/minio_pool.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | let mut pools = MINIO_POOLS.write(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stderr] --> src/cache.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/minio/r2d2_minio.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/minio/r2d2_minio.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | fn has_broken(&self, conn: &mut Self::Connection) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: constant `MINIO_CONFIG_KEY_PREFIX` is never used [INFO] [stderr] --> src/config/mod.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const MINIO_CONFIG_KEY_PREFIX: &'static str = "sys_oss:"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `convert` is never read [INFO] [stderr] --> src/config/power_config.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct PowerConfig { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub(crate) convert: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PowerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_minio_config` is never used [INFO] [stderr] --> src/cache.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn get_minio_config(config_key: &str) -> RedisResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `instances` and `current_index` are never read [INFO] [stderr] --> src/minio/minio_pool.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct MinioPool { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 30 | instances: RwLock>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 31 | // 用于轮询的当前索引 [INFO] [stderr] 32 | current_index: RwLock, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `warp_minio_server` (bin "warp_minio_server" test) generated 11 warnings (run `cargo fix --bin "warp_minio_server" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.20.2 [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/warp_minio_server-65735757d0ea72f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a583410b0af2ced40562c490c0f5b660917da647d97020d21b725ecaa41d491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a583410b0af2ced40562c490c0f5b660917da647d97020d21b725ecaa41d491", kill_on_drop: false }` [INFO] [stdout] 7a583410b0af2ced40562c490c0f5b660917da647d97020d21b725ecaa41d491