[INFO] cloning repository https://github.com/zheng93775/house-keeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zheng93775/house-keeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzheng93775%2Fhouse-keeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzheng93775%2Fhouse-keeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04ad8b13cc01672a372fb14188afd975c6020d41 [INFO] testing zheng93775/house-keeper against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzheng93775%2Fhouse-keeper" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zheng93775/house-keeper [INFO] finished tweaking git repo https://github.com/zheng93775/house-keeper [INFO] tweaked toml for git repo https://github.com/zheng93775/house-keeper written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zheng93775/house-keeper on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zheng93775/house-keeper 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded uuid v1.14.0 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bafc367b8e3eba57bc31c5a9ad6ce6ec66a3bb3295d323235e12393911b8ae10 [INFO] running `Command { std: "docker" "start" "-a" "bafc367b8e3eba57bc31c5a9ad6ce6ec66a3bb3295d323235e12393911b8ae10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bafc367b8e3eba57bc31c5a9ad6ce6ec66a3bb3295d323235e12393911b8ae10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafc367b8e3eba57bc31c5a9ad6ce6ec66a3bb3295d323235e12393911b8ae10", kill_on_drop: false }` [INFO] [stdout] bafc367b8e3eba57bc31c5a9ad6ce6ec66a3bb3295d323235e12393911b8ae10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4b0a970b2cdd84816eb33ff4572d80241d35a7ebe831a8ac48474641d6cab880 [INFO] running `Command { std: "docker" "start" "-a" "4b0a970b2cdd84816eb33ff4572d80241d35a7ebe831a8ac48474641d6cab880", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling house-keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/models/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Filter, Reply, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/routes/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::{http::StatusCode, reject::Rejection, Filter, Reply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/images.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | user: User, // 校验登录用户 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/images.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | user: User, // 校验登录用户 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/backup.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/backup.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidVersion`, `NotFound`, and `InternalServerError` are never constructed [INFO] [stdout] --> src/models/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rejection` is never used [INFO] [stdout] --> src/models/error.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn handle_rejection(err: Rejection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/house.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl House { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(name: &str, creator: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/house.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HouseDetail { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/user.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(username: &str, password: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_house_detail` is never used [INFO] [stdout] --> src/storage/file_storage.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileStorage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write_house_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "4b0a970b2cdd84816eb33ff4572d80241d35a7ebe831a8ac48474641d6cab880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0a970b2cdd84816eb33ff4572d80241d35a7ebe831a8ac48474641d6cab880", kill_on_drop: false }` [INFO] [stdout] 4b0a970b2cdd84816eb33ff4572d80241d35a7ebe831a8ac48474641d6cab880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2bacdca1d84290fcd914f92938aad2df3891140bf6a9899af233c564523fcbbd [INFO] running `Command { std: "docker" "start" "-a" "2bacdca1d84290fcd914f92938aad2df3891140bf6a9899af233c564523fcbbd", kill_on_drop: false }` [INFO] [stderr] Compiling house-keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/models/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Filter, Reply, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/routes/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::{http::StatusCode, reject::Rejection, Filter, Reply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/images.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | user: User, // 校验登录用户 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/images.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | user: User, // 校验登录用户 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/backup.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/backup.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidVersion`, `NotFound`, and `InternalServerError` are never constructed [INFO] [stdout] --> src/models/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rejection` is never used [INFO] [stdout] --> src/models/error.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn handle_rejection(err: Rejection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/house.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl House { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(name: &str, creator: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/house.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HouseDetail { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/user.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(username: &str, password: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_house_detail` is never used [INFO] [stdout] --> src/storage/file_storage.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileStorage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write_house_detail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "2bacdca1d84290fcd914f92938aad2df3891140bf6a9899af233c564523fcbbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bacdca1d84290fcd914f92938aad2df3891140bf6a9899af233c564523fcbbd", kill_on_drop: false }` [INFO] [stdout] 2bacdca1d84290fcd914f92938aad2df3891140bf6a9899af233c564523fcbbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f0e0a0b555dab45860d826774e04af0036e641c6bcacfb047ad4c16490b8f7d9 [INFO] running `Command { std: "docker" "start" "-a" "f0e0a0b555dab45860d826774e04af0036e641c6bcacfb047ad4c16490b8f7d9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Filter` [INFO] [stderr] --> src/models/error.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Filter, Reply, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/routes/auth.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use warp::{http::StatusCode, reject::Rejection, Filter, Reply}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/routes/images.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | user: User, // 校验登录用户 [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/routes/images.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | user: User, // 校验登录用户 [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/routes/backup.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/routes/backup.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | .map_err(|e| warp::reject::custom(AppError::BackupError))?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidVersion`, `NotFound`, and `InternalServerError` are never constructed [INFO] [stderr] --> src/models/error.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | InvalidVersion, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | NotFound, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 16 | InternalServerError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `handle_rejection` is never used [INFO] [stderr] --> src/models/error.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn handle_rejection(err: Rejection) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/house.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl House { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 45 | pub fn new(name: &str, creator: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/house.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl HouseDetail { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 56 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/user.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl User { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(username: &str, password: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `write_house_detail` is never used [INFO] [stderr] --> src/storage/file_storage.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl FileStorage { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn write_house_detail( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `house-keeper` (bin "house-keeper" test) generated 12 warnings (run `cargo fix --bin "house-keeper" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/house_keeper-aa284c3a50a5fadc) [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" "f0e0a0b555dab45860d826774e04af0036e641c6bcacfb047ad4c16490b8f7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e0a0b555dab45860d826774e04af0036e641c6bcacfb047ad4c16490b8f7d9", kill_on_drop: false }` [INFO] [stdout] f0e0a0b555dab45860d826774e04af0036e641c6bcacfb047ad4c16490b8f7d9