[INFO] cloning repository https://github.com/DipakKhade/Mind-Miracles-HTTP-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DipakKhade/Mind-Miracles-HTTP-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipakKhade%2FMind-Miracles-HTTP-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipakKhade%2FMind-Miracles-HTTP-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a617bd37abcb4d911243b4ebedd66761902cf18
[INFO] testing DipakKhade/Mind-Miracles-HTTP-Server against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipakKhade%2FMind-Miracles-HTTP-Server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DipakKhade/Mind-Miracles-HTTP-Server
[INFO] finished tweaking git repo https://github.com/DipakKhade/Mind-Miracles-HTTP-Server
[INFO] tweaked toml for git repo https://github.com/DipakKhade/Mind-Miracles-HTTP-Server written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DipakKhade/Mind-Miracles-HTTP-Server on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DipakKhade/Mind-Miracles-HTTP-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded trust-dns-resolver v0.21.2
[INFO] [stderr]   Downloaded take_mut v0.2.2
[INFO] [stderr]   Downloaded rustc_version_runtime v0.2.1
[INFO] [stderr]   Downloaded matches v0.1.10
[INFO] [stderr]   Downloaded enum-as-inner v0.4.0
[INFO] [stderr]   Downloaded serde_bytes v0.11.19
[INFO] [stderr]   Downloaded serde_with_macros v1.5.2
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded serde_with v1.14.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.25
[INFO] [stderr]   Downloaded bson v2.15.0
[INFO] [stderr]   Downloaded trust-dns-proto v0.21.2
[INFO] [stderr]   Downloaded tokio v1.52.1
[INFO] [stderr]   Downloaded mongodb v2.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80ece749f7c4972d0f303bc3684c947a0cd8a7ffa607caef11e903296f04f342
[INFO] running `Command { std: "docker" "start" "-a" "80ece749f7c4972d0f303bc3684c947a0cd8a7ffa607caef11e903296f04f342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80ece749f7c4972d0f303bc3684c947a0cd8a7ffa607caef11e903296f04f342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80ece749f7c4972d0f303bc3684c947a0cd8a7ffa607caef11e903296f04f342", kill_on_drop: false }`
[INFO] [stdout] 80ece749f7c4972d0f303bc3684c947a0cd8a7ffa607caef11e903296f04f342
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed2f35d4ac7f1202fdfc3cd233a45dbe6ea690631abc9f4b060c65407303c19d
[INFO] running `Command { std: "docker" "start" "-a" "ed2f35d4ac7f1202fdfc3cd233a45dbe6ea690631abc9f4b060c65407303c19d", kill_on_drop: false }`
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling openssl v0.10.77
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling bson v2.15.0
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling trust-dns-proto v0.21.2
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling serde_with v1.14.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.21.2
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling mongodb v2.8.2
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling mind-miracles-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `legacy::*`
[INFO] [stdout]   --> src/models/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use legacy::*;
[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: `post`
[INFO] [stdout]  --> src/handlers/course_handler.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/handlers/payment_handler.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |     State(db): State<Db>,
[INFO] [stdout]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/handlers/payment_handler.rs:82:11
[INFO] [stdout]    |
[INFO] [stdout] 82 |     State(db): State<Db>,
[INFO] [stdout]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origins`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let origins: Vec<String> = cors_origins
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/main.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct AppState {
[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 `WpGroupMembers` is never constructed
[INFO] [stdout]  --> src/models/legacy.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct WpGroupMembers {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AssessmentResult` is never constructed
[INFO] [stdout]   --> src/models/legacy.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AssessmentResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateAssessmentRequest` is never constructed
[INFO] [stdout]   --> src/models/legacy.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CreateAssessmentRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]  --> src/services/database.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MongoDatabase {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 6 |     pub client: Client,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wp_group_members`, `assessment_results`, and `mental_health_tests` are never used
[INFO] [stdout]   --> src/services/database.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MongoDatabase {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn wp_group_members<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn assessment_results<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn mental_health_tests<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `page`, `limit`, and `search` are never read
[INFO] [stdout]   --> src/handlers/course_handler.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct PaginationParams {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 18 |     pub page: Option<i32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub limit: Option<i32>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 20 |     pub search: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaginationParams` 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 `user_id` and `course_id` are never read
[INFO] [stdout]   --> src/handlers/payment_handler.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CreateOrderRequest {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub user_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |     pub course_id: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateOrderRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "ed2f35d4ac7f1202fdfc3cd233a45dbe6ea690631abc9f4b060c65407303c19d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed2f35d4ac7f1202fdfc3cd233a45dbe6ea690631abc9f4b060c65407303c19d", kill_on_drop: false }`
[INFO] [stdout] ed2f35d4ac7f1202fdfc3cd233a45dbe6ea690631abc9f4b060c65407303c19d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2111ed3b90848851c0dc1b95fd7290216fcdc7fd6bd44e080f5bc64e6aeaa55
[INFO] running `Command { std: "docker" "start" "-a" "f2111ed3b90848851c0dc1b95fd7290216fcdc7fd6bd44e080f5bc64e6aeaa55", kill_on_drop: false }`
[INFO] [stderr]    Compiling mind-miracles-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `legacy::*`
[INFO] [stdout]   --> src/models/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use legacy::*;
[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: `post`
[INFO] [stdout]  --> src/handlers/course_handler.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/handlers/payment_handler.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |     State(db): State<Db>,
[INFO] [stdout]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/handlers/payment_handler.rs:82:11
[INFO] [stdout]    |
[INFO] [stdout] 82 |     State(db): State<Db>,
[INFO] [stdout]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origins`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let origins: Vec<String> = cors_origins
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/main.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct AppState {
[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 `WpGroupMembers` is never constructed
[INFO] [stdout]  --> src/models/legacy.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct WpGroupMembers {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AssessmentResult` is never constructed
[INFO] [stdout]   --> src/models/legacy.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AssessmentResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateAssessmentRequest` is never constructed
[INFO] [stdout]   --> src/models/legacy.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct CreateAssessmentRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]  --> src/services/database.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MongoDatabase {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 6 |     pub client: Client,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wp_group_members`, `assessment_results`, and `mental_health_tests` are never used
[INFO] [stdout]   --> src/services/database.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MongoDatabase {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn wp_group_members<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn assessment_results<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn mental_health_tests<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `page`, `limit`, and `search` are never read
[INFO] [stdout]   --> src/handlers/course_handler.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct PaginationParams {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 18 |     pub page: Option<i32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub limit: Option<i32>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 20 |     pub search: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaginationParams` 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 `user_id` and `course_id` are never read
[INFO] [stdout]   --> src/handlers/payment_handler.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CreateOrderRequest {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub user_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |     pub course_id: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateOrderRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.18s
[INFO] running `Command { std: "docker" "inspect" "f2111ed3b90848851c0dc1b95fd7290216fcdc7fd6bd44e080f5bc64e6aeaa55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2111ed3b90848851c0dc1b95fd7290216fcdc7fd6bd44e080f5bc64e6aeaa55", kill_on_drop: false }`
[INFO] [stdout] f2111ed3b90848851c0dc1b95fd7290216fcdc7fd6bd44e080f5bc64e6aeaa55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 416e3e82682adc21da31c9fb81db375a6e62cf4206320b0874fc4e024d3a8088
[INFO] running `Command { std: "docker" "start" "-a" "416e3e82682adc21da31c9fb81db375a6e62cf4206320b0874fc4e024d3a8088", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `legacy::*`
[INFO] [stderr]   --> src/models/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub use legacy::*;
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `post`
[INFO] [stderr]  --> src/handlers/course_handler.rs:5:20
[INFO] [stderr]   |
[INFO] [stderr] 5 |     routing::{get, post},
[INFO] [stderr]   |                    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db`
[INFO] [stderr]   --> src/handlers/payment_handler.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 |     State(db): State<Db>,
[INFO] [stderr]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db`
[INFO] [stderr]   --> src/handlers/payment_handler.rs:82:11
[INFO] [stderr]    |
[INFO] [stderr] 82 |     State(db): State<Db>,
[INFO] [stderr]    |           ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `origins`
[INFO] [stderr]   --> src/main.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let origins: Vec<String> = cors_origins
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origins`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AppState` is never constructed
[INFO] [stderr]   --> src/main.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | struct AppState {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WpGroupMembers` is never constructed
[INFO] [stderr]  --> src/models/legacy.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct WpGroupMembers {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AssessmentResult` is never constructed
[INFO] [stderr]   --> src/models/legacy.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct AssessmentResult {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateAssessmentRequest` is never constructed
[INFO] [stderr]   --> src/models/legacy.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct CreateAssessmentRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `client` is never read
[INFO] [stderr]  --> src/services/database.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct MongoDatabase {
[INFO] [stderr]   |            ------------- field in this struct
[INFO] [stderr] 6 |     pub client: Client,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `wp_group_members`, `assessment_results`, and `mental_health_tests` are never used
[INFO] [stderr]   --> src/services/database.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl MongoDatabase {
[INFO] [stderr]    | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn wp_group_members<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn assessment_results<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 61 |     pub fn mental_health_tests<T: serde::Serialize + serde::de::DeserializeOwned>(&self) -> Collection<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `page`, `limit`, and `search` are never read
[INFO] [stderr]   --> src/handlers/course_handler.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct PaginationParams {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 18 |     pub page: Option<i32>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 19 |     pub limit: Option<i32>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 20 |     pub search: Option<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PaginationParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `user_id` and `course_id` are never read
[INFO] [stderr]   --> src/handlers/payment_handler.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct CreateOrderRequest {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub user_id: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 21 |     pub course_id: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CreateOrderRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `mind-miracles-server` (bin "mind-miracles-server" test) generated 13 warnings (run `cargo fix --bin "mind-miracles-server" -p mind-miracles-server --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mind_miracles_server-d296a183dfcb5b50)
[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" "416e3e82682adc21da31c9fb81db375a6e62cf4206320b0874fc4e024d3a8088", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "416e3e82682adc21da31c9fb81db375a6e62cf4206320b0874fc4e024d3a8088", kill_on_drop: false }`
[INFO] [stdout] 416e3e82682adc21da31c9fb81db375a6e62cf4206320b0874fc4e024d3a8088
