[INFO] cloning repository https://github.com/wobusbz/app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wobusbz/app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80a83d7509c44b54b4ff495da3173f942f902aa3 [INFO] testing wobusbz/app against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wobusbz/app on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wobusbz/app [INFO] finished tweaking git repo https://github.com/wobusbz/app [INFO] tweaked toml for git repo https://github.com/wobusbz/app written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wobusbz/app 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebfe4b7efb92b4d94791da565fc739e733fb6683a7d14028b4d7453c6b953822 [INFO] running `Command { std: "docker" "start" "-a" "ebfe4b7efb92b4d94791da565fc739e733fb6683a7d14028b4d7453c6b953822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebfe4b7efb92b4d94791da565fc739e733fb6683a7d14028b4d7453c6b953822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebfe4b7efb92b4d94791da565fc739e733fb6683a7d14028b4d7453c6b953822", kill_on_drop: false }` [INFO] [stdout] ebfe4b7efb92b4d94791da565fc739e733fb6683a7d14028b4d7453c6b953822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0c4cdc2052a098cfdf70104fe23824642578a3d75787d7f8412f0f286bdfc7 [INFO] running `Command { std: "docker" "start" "-a" "be0c4cdc2052a098cfdf70104fe23824642578a3d75787d7f8412f0f286bdfc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling config v0.13.0 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling temaple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/model/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dev::Response` [INFO] [stdout] --> src/main.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/dao/user.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `mobile` are never read [INFO] [stdout] --> src/dao/user.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HtUser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub mobile: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HtUser` 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 `user_get_by_id` is never used [INFO] [stdout] --> src/dao/user.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/model/appstate.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | pub pool: Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mobile`, `real_name`, `invite_code`, `password`, and `status` are never read [INFO] [stdout] --> src/model/user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub mobile: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub real_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub invite_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/utils/error/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 6 | DbError, [INFO] [stdout] 7 | NotFoundError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, `cause`, and `error_type` are never read [INFO] [stdout] --> src/utils/error/error.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub code : i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub message : Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub error_type: AppErrorType, [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / user_create(&pool).await.map(|row| { [INFO] [stdout] 21 | | println!("result: {:?}", row); [INFO] [stdout] 22 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = user_create(&pool).await.map(|row| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "be0c4cdc2052a098cfdf70104fe23824642578a3d75787d7f8412f0f286bdfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0c4cdc2052a098cfdf70104fe23824642578a3d75787d7f8412f0f286bdfc7", kill_on_drop: false }` [INFO] [stdout] be0c4cdc2052a098cfdf70104fe23824642578a3d75787d7f8412f0f286bdfc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b380ddbc20ba87c7b17cec42b852756c038e40073ecacd803decf59efe592762 [INFO] running `Command { std: "docker" "start" "-a" "b380ddbc20ba87c7b17cec42b852756c038e40073ecacd803decf59efe592762", kill_on_drop: false }` [INFO] [stderr] Compiling temaple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/model/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dev::Response` [INFO] [stdout] --> src/main.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/dao/user.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `mobile` are never read [INFO] [stdout] --> src/dao/user.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HtUser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub mobile: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HtUser` 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 `user_get_by_id` is never used [INFO] [stdout] --> src/dao/user.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/model/appstate.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | pub pool: Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mobile`, `real_name`, `invite_code`, `password`, and `status` are never read [INFO] [stdout] --> src/model/user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub mobile: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub real_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub invite_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/utils/error/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 6 | DbError, [INFO] [stdout] 7 | NotFoundError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, `cause`, and `error_type` are never read [INFO] [stdout] --> src/utils/error/error.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub code : i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub message : Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub error_type: AppErrorType, [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / user_create(&pool).await.map(|row| { [INFO] [stdout] 21 | | println!("result: {:?}", row); [INFO] [stdout] 22 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = user_create(&pool).await.map(|row| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "b380ddbc20ba87c7b17cec42b852756c038e40073ecacd803decf59efe592762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b380ddbc20ba87c7b17cec42b852756c038e40073ecacd803decf59efe592762", kill_on_drop: false }` [INFO] [stdout] b380ddbc20ba87c7b17cec42b852756c038e40073ecacd803decf59efe592762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f1d8f2867696d8cc34a337fd34a16d4a4123f95d3fd771966b6588673ad87aa [INFO] running `Command { std: "docker" "start" "-a" "1f1d8f2867696d8cc34a337fd34a16d4a4123f95d3fd771966b6588673ad87aa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `user::*` [INFO] [stderr] --> src/model/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use user::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `dev::Response` [INFO] [stderr] --> src/main.rs:7:51 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | async fn index(app_state : web::Data) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/dao/user.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: function `index` is never used [INFO] [stderr] --> src/main.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | async fn index(app_state : web::Data) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `mobile` are never read [INFO] [stderr] --> src/dao/user.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct HtUser { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 7 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | pub mobile: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HtUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `user_get_by_id` is never used [INFO] [stderr] --> src/dao/user.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/model/appstate.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 4 | pub pool: Pool, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mobile`, `real_name`, `invite_code`, `password`, and `status` are never read [INFO] [stderr] --> src/model/user.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 5 | pub mobile: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | pub real_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | pub invite_code: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 8 | pub password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub status: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `NotFoundError` is never constructed [INFO] [stderr] --> src/utils/error/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum AppErrorType { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 6 | DbError, [INFO] [stderr] 7 | NotFoundError [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code`, `message`, `cause`, and `error_type` are never read [INFO] [stderr] --> src/utils/error/error.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AppError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 12 | pub code : i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | pub message : Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | pub cause: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | pub error_type: AppErrorType, [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] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | / user_create(&pool).await.map(|row| { [INFO] [stderr] 21 | | println!("result: {:?}", row); [INFO] [stderr] 22 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 20 | let _ = user_create(&pool).await.map(|row| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `temaple` (bin "temaple" test) generated 12 warnings (run `cargo fix --bin "temaple" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/temaple-0ccacbda596ff317) [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" "1f1d8f2867696d8cc34a337fd34a16d4a4123f95d3fd771966b6588673ad87aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1d8f2867696d8cc34a337fd34a16d4a4123f95d3fd771966b6588673ad87aa", kill_on_drop: false }` [INFO] [stdout] 1f1d8f2867696d8cc34a337fd34a16d4a4123f95d3fd771966b6588673ad87aa