[INFO] cloning repository https://github.com/Soumyarian98/rust-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Soumyarian98/rust-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoumyarian98%2Frust-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoumyarian98%2Frust-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43a9b7fbab066ec2d94027bad99dbf5695135fdc [INFO] testing Soumyarian98/rust-rest-api against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoumyarian98%2Frust-rest-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Soumyarian98/rust-rest-api on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Soumyarian98/rust-rest-api [INFO] finished tweaking git repo https://github.com/Soumyarian98/rust-rest-api [INFO] tweaked toml for git repo https://github.com/Soumyarian98/rust-rest-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Soumyarian98/rust-rest-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25186f4c859afa763af2a78500016464477e6ee439c21106c6206e84c4f34312 [INFO] running `Command { std: "docker" "start" "-a" "25186f4c859afa763af2a78500016464477e6ee439c21106c6206e84c4f34312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25186f4c859afa763af2a78500016464477e6ee439c21106c6206e84c4f34312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25186f4c859afa763af2a78500016464477e6ee439c21106c6206e84c4f34312", kill_on_drop: false }` [INFO] [stdout] 25186f4c859afa763af2a78500016464477e6ee439c21106c6206e84c4f34312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1fae3fba60190f23b3a364b5e4a1ca0ebf34b4be6bdfbe161d6ae3fd9d1c625 [INFO] running `Command { std: "docker" "start" "-a" "d1fae3fba60190f23b3a364b5e4a1ca0ebf34b4be6bdfbe161d6ae3fd9d1c625", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling postgres v0.19.7 [INFO] [stderr] Compiling rust-crud-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarError` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::{var, VarError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | match (Client::connect(&db_url, NoTls)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - match (Client::connect(&db_url, NoTls)) { [INFO] [stdout] 57 + match Client::connect(&db_url, NoTls) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | (Ok(mut client)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - (Ok(mut client)) => { [INFO] [stdout] 58 + Ok(mut client) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | r if request.starts_with("GET /users") => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [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/main.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [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/main.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.85s [INFO] running `Command { std: "docker" "inspect" "d1fae3fba60190f23b3a364b5e4a1ca0ebf34b4be6bdfbe161d6ae3fd9d1c625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fae3fba60190f23b3a364b5e4a1ca0ebf34b4be6bdfbe161d6ae3fd9d1c625", kill_on_drop: false }` [INFO] [stdout] d1fae3fba60190f23b3a364b5e4a1ca0ebf34b4be6bdfbe161d6ae3fd9d1c625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e710b17fe8d4891e120e68bcb5af7d6fe535b3bef26e297ebe4da794348a561a [INFO] running `Command { std: "docker" "start" "-a" "e710b17fe8d4891e120e68bcb5af7d6fe535b3bef26e297ebe4da794348a561a", kill_on_drop: false }` [INFO] [stderr] Compiling rust-crud-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarError` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env::{var, VarError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | match (Client::connect(&db_url, NoTls)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - match (Client::connect(&db_url, NoTls)) { [INFO] [stdout] 57 + match Client::connect(&db_url, NoTls) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | (Ok(mut client)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - (Ok(mut client)) => { [INFO] [stdout] 58 + Ok(mut client) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | r if request.starts_with("GET /users") => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [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/main.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [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/main.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [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/main.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "e710b17fe8d4891e120e68bcb5af7d6fe535b3bef26e297ebe4da794348a561a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e710b17fe8d4891e120e68bcb5af7d6fe535b3bef26e297ebe4da794348a561a", kill_on_drop: false }` [INFO] [stdout] e710b17fe8d4891e120e68bcb5af7d6fe535b3bef26e297ebe4da794348a561a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47a941cf993ec5eb85d952f189488dcc653b30040b9c90c14dc80010c9def854 [INFO] running `Command { std: "docker" "start" "-a" "47a941cf993ec5eb85d952f189488dcc653b30040b9c90c14dc80010c9def854", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `VarError` [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use std::env::{var, VarError}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/main.rs:57:27 [INFO] [stderr] | [INFO] [stderr] 57 | match (Client::connect(&db_url, NoTls)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - match (Client::connect(&db_url, NoTls)) { [INFO] [stderr] 57 + match Client::connect(&db_url, NoTls) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | (Ok(mut client)) => { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 58 - (Ok(mut client)) => { [INFO] [stderr] 58 + Ok(mut client) => { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/main.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | r if request.starts_with("GET /users") => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:72:37 [INFO] [stderr] | [INFO] [stderr] 72 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:113:45 [INFO] [stderr] | [INFO] [stderr] 113 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:116:37 [INFO] [stderr] | [INFO] [stderr] 116 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:129:45 [INFO] [stderr] | [INFO] [stderr] 129 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:132:37 [INFO] [stderr] | [INFO] [stderr] 132 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:151:45 [INFO] [stderr] | [INFO] [stderr] 151 | ... Err(e) => (NOT_FOUND_RESPONSE, "USER NOT FOUND".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:154:37 [INFO] [stderr] | [INFO] [stderr] 154 | ... Err(e) => (INTERNAL_SERVER_ERROR_RESPONSE, "Internal Server Error".to_string()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `rust-crud-api` (bin "rust-crud-api" test) generated 11 warnings (run `cargo fix --bin "rust-crud-api" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_crud_api-bfa152d1d3a46f51) [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" "47a941cf993ec5eb85d952f189488dcc653b30040b9c90c14dc80010c9def854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a941cf993ec5eb85d952f189488dcc653b30040b9c90c14dc80010c9def854", kill_on_drop: false }` [INFO] [stdout] 47a941cf993ec5eb85d952f189488dcc653b30040b9c90c14dc80010c9def854