[INFO] cloning repository https://github.com/krowlexing/keyboard-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krowlexing/keyboard-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrowlexing%2Fkeyboard-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrowlexing%2Fkeyboard-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b117d1136e2eaefcd0503debc3c7fb6096894ef6 [INFO] testing krowlexing/keyboard-server against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrowlexing%2Fkeyboard-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krowlexing/keyboard-server [INFO] finished tweaking git repo https://github.com/krowlexing/keyboard-server [INFO] tweaked toml for git repo https://github.com/krowlexing/keyboard-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krowlexing/keyboard-server on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krowlexing/keyboard-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.99 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.99 [INFO] [stderr] Downloaded jwt v0.16.0 [INFO] [stderr] Downloaded cc v1.2.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.99 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded js-sys v0.3.76 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded hyper v1.5.1 [INFO] [stderr] Downloaded tokio v1.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d28c573b447279b3398ee3b3e94b5a9c35096565a2322ab987515e51aa5cfba5 [INFO] running `Command { std: "docker" "start" "-a" "d28c573b447279b3398ee3b3e94b5a9c35096565a2322ab987515e51aa5cfba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d28c573b447279b3398ee3b3e94b5a9c35096565a2322ab987515e51aa5cfba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28c573b447279b3398ee3b3e94b5a9c35096565a2322ab987515e51aa5cfba5", kill_on_drop: false }` [INFO] [stdout] d28c573b447279b3398ee3b3e94b5a9c35096565a2322ab987515e51aa5cfba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa4b0a2e31762bdaf1b09dda460d05b26c88afa16a6711adcb33cae21ae8fd4b [INFO] running `Command { std: "docker" "start" "-a" "aa4b0a2e31762bdaf1b09dda460d05b26c88afa16a6711adcb33cae21ae8fd4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.8 [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 sqlformat v0.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.215 [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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [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 jwt v0.16.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling keyboard-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `exercises::Exercise` [INFO] [stdout] --> src/db/difficulties.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dto::{difficulties::DifficultyData, exercises::Exercise}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/exercises.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwt::token` [INFO] [stdout] --> src/dto/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jwt::token; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/handlers/difficulties.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{get, post, put}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/handlers/exercises.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Jwt(user_id): Jwt, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/users.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Err(Sql(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [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/handlers/users.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | Err(SqlError(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/db/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 12 | pool: sqlx::PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Db` has a derived impl for the trait `Clone`, 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: unused `Result` that must be used [INFO] [stdout] --> src/db/exercises.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | update(&self.pool, id, exercise).await; [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] 43 | let _ = update(&self.pool, id, exercise).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 01s [INFO] running `Command { std: "docker" "inspect" "aa4b0a2e31762bdaf1b09dda460d05b26c88afa16a6711adcb33cae21ae8fd4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4b0a2e31762bdaf1b09dda460d05b26c88afa16a6711adcb33cae21ae8fd4b", kill_on_drop: false }` [INFO] [stdout] aa4b0a2e31762bdaf1b09dda460d05b26c88afa16a6711adcb33cae21ae8fd4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 324043a30bb65b12da51969cdd5dfa430d8b353b64ae2c38ff76fcd404c3719e [INFO] running `Command { std: "docker" "start" "-a" "324043a30bb65b12da51969cdd5dfa430d8b353b64ae2c38ff76fcd404c3719e", kill_on_drop: false }` [INFO] [stderr] Compiling keyboard-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `exercises::Exercise` [INFO] [stdout] --> src/db/difficulties.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dto::{difficulties::DifficultyData, exercises::Exercise}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/exercises.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwt::token` [INFO] [stdout] --> src/dto/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jwt::token; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/handlers/difficulties.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{get, post, put}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/handlers/exercises.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Jwt(user_id): Jwt, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/users.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Err(Sql(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [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/handlers/users.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | Err(SqlError(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/db/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 12 | pool: sqlx::PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Db` has a derived impl for the trait `Clone`, 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: unused `Result` that must be used [INFO] [stdout] --> src/db/exercises.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | update(&self.pool, id, exercise).await; [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] 43 | let _ = update(&self.pool, id, exercise).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "324043a30bb65b12da51969cdd5dfa430d8b353b64ae2c38ff76fcd404c3719e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324043a30bb65b12da51969cdd5dfa430d8b353b64ae2c38ff76fcd404c3719e", kill_on_drop: false }` [INFO] [stdout] 324043a30bb65b12da51969cdd5dfa430d8b353b64ae2c38ff76fcd404c3719e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e85ba7125bcdd3accbcc6a30d0fc975ecb2bb142d71b7722dab4b9a87a75783 [INFO] running `Command { std: "docker" "start" "-a" "8e85ba7125bcdd3accbcc6a30d0fc975ecb2bb142d71b7722dab4b9a87a75783", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `exercises::Exercise` [INFO] [stderr] --> src/db/difficulties.rs:3:48 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::dto::{difficulties::DifficultyData, exercises::Exercise}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/db/exercises.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jwt::token` [INFO] [stderr] --> src/dto/users.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use jwt::token; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put` [INFO] [stderr] --> src/handlers/difficulties.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | routing::{get, post, put}, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/handlers/exercises.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | Jwt(user_id): Jwt, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers/users.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | Err(Sql(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers/users.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | Err(SqlError(e)) => StatusCode::INTERNAL_SERVER_ERROR.into_response(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/db/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Db { [INFO] [stderr] | -- field in this struct [INFO] [stderr] 12 | pool: sqlx::PgPool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Db` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/db/exercises.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | update(&self.pool, id, exercise).await; [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] 43 | let _ = update(&self.pool, id, exercise).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `keyboard-server` (bin "keyboard-server" test) generated 9 warnings (run `cargo fix --bin "keyboard-server" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/keyboard_server-801281a00deb915b) [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" "8e85ba7125bcdd3accbcc6a30d0fc975ecb2bb142d71b7722dab4b9a87a75783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e85ba7125bcdd3accbcc6a30d0fc975ecb2bb142d71b7722dab4b9a87a75783", kill_on_drop: false }` [INFO] [stdout] 8e85ba7125bcdd3accbcc6a30d0fc975ecb2bb142d71b7722dab4b9a87a75783