[INFO] cloning repository https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-BC-30%2FBE_DashboardMonitoring-Erida", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-BC-30%2FBE_DashboardMonitoring-Erida'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2730259a605a959629aa975453164c70dd215454 [INFO] testing PKL-BC-30/BE_DashboardMonitoring-Erida against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-BC-30%2FBE_DashboardMonitoring-Erida" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida [INFO] finished tweaking git repo https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida [INFO] tweaked toml for git repo https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PKL-BC-30/BE_DashboardMonitoring-Erida 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df984401c6d4ec01f4287c9fc8547c15b7baab885ac5e2e10b18c54e033e6cfe [INFO] running `Command { std: "docker" "start" "-a" "df984401c6d4ec01f4287c9fc8547c15b7baab885ac5e2e10b18c54e033e6cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df984401c6d4ec01f4287c9fc8547c15b7baab885ac5e2e10b18c54e033e6cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df984401c6d4ec01f4287c9fc8547c15b7baab885ac5e2e10b18c54e033e6cfe", kill_on_drop: false }` [INFO] [stdout] df984401c6d4ec01f4287c9fc8547c15b7baab885ac5e2e10b18c54e033e6cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e13f7ff7353c7e0e696eb8be053e39457dfdb1879dbd95841c5f37daf604d6 [INFO] running `Command { std: "docker" "start" "-a" "d0e13f7ff7353c7e0e696eb8be053e39457dfdb1879dbd95841c5f37daf604d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.32 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling postgres-types v0.2.7 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling email-encoding v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio-postgres v0.7.11 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling bcrypt v0.12.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling Back-end v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use jsonwebtoken::{encode, Header, EncodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | let user_id: i32 = row.get(0); [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: struct `Claims` is never constructed [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pertanyaan` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct ForgotPasswordRequest { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 97 | email: String, [INFO] [stdout] 98 | pertanyaan: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | A: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | B: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | AB: i64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `O` should have a snake case name [INFO] [stdout] --> src/main.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | O: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | let A: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let B: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let AB: i64 = client [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/main.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let O: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "d0e13f7ff7353c7e0e696eb8be053e39457dfdb1879dbd95841c5f37daf604d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e13f7ff7353c7e0e696eb8be053e39457dfdb1879dbd95841c5f37daf604d6", kill_on_drop: false }` [INFO] [stdout] d0e13f7ff7353c7e0e696eb8be053e39457dfdb1879dbd95841c5f37daf604d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a1a588216a7f1eae884255be48f2dcf9f32e0a9c547e92c5fee1eeaa0ed5eb2 [INFO] running `Command { std: "docker" "start" "-a" "5a1a588216a7f1eae884255be48f2dcf9f32e0a9c547e92c5fee1eeaa0ed5eb2", kill_on_drop: false }` [INFO] [stderr] Compiling Back-end v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, and `encode` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use jsonwebtoken::{encode, Header, EncodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | let user_id: i32 = row.get(0); [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: struct `Claims` is never constructed [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pertanyaan` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct ForgotPasswordRequest { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 97 | email: String, [INFO] [stdout] 98 | pertanyaan: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | A: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | B: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | AB: i64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `O` should have a snake case name [INFO] [stdout] --> src/main.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | O: i64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | let A: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let B: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let AB: i64 = client [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/main.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let O: i64 = client [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "5a1a588216a7f1eae884255be48f2dcf9f32e0a9c547e92c5fee1eeaa0ed5eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1a588216a7f1eae884255be48f2dcf9f32e0a9c547e92c5fee1eeaa0ed5eb2", kill_on_drop: false }` [INFO] [stdout] 5a1a588216a7f1eae884255be48f2dcf9f32e0a9c547e92c5fee1eeaa0ed5eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 637523fb2b348b4b6979d624ea952ba4176f7531df97a33e73f9e5647bea68b6 [INFO] running `Command { std: "docker" "start" "-a" "637523fb2b348b4b6979d624ea952ba4176f7531df97a33e73f9e5647bea68b6", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `EncodingKey`, `Header`, and `encode` [INFO] [stderr] --> src/main.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::{encode, Header, EncodingKey}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `Utc` [INFO] [stderr] --> src/main.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use chrono::{Utc, Duration}; [INFO] [stderr] | ^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/main.rs:722:13 [INFO] [stderr] | [INFO] [stderr] 722 | let user_id: i32 = row.get(0); [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: struct `Claims` is never constructed [INFO] [stderr] --> src/main.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | struct Claims { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `pertanyaan` is never read [INFO] [stderr] --> src/main.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 96 | struct ForgotPasswordRequest { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 97 | email: String, [INFO] [stderr] 98 | pertanyaan: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `A` should have a snake case name [INFO] [stderr] --> src/main.rs:435:5 [INFO] [stderr] | [INFO] [stderr] 435 | A: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `B` should have a snake case name [INFO] [stderr] --> src/main.rs:436:5 [INFO] [stderr] | [INFO] [stderr] 436 | B: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: structure field `AB` should have a snake case name [INFO] [stderr] --> src/main.rs:437:5 [INFO] [stderr] | [INFO] [stderr] 437 | AB: i64, [INFO] [stderr] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stderr] [INFO] [stderr] warning: structure field `O` should have a snake case name [INFO] [stderr] --> src/main.rs:438:5 [INFO] [stderr] | [INFO] [stderr] 438 | O: i64, [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/main.rs:442:9 [INFO] [stderr] | [INFO] [stderr] 442 | let A: i64 = client [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/main.rs:447:9 [INFO] [stderr] | [INFO] [stderr] 447 | let B: i64 = client [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `AB` should have a snake case name [INFO] [stderr] --> src/main.rs:452:9 [INFO] [stderr] | [INFO] [stderr] 452 | let AB: i64 = client [INFO] [stderr] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/main.rs:457:9 [INFO] [stderr] | [INFO] [stderr] 457 | let O: i64 = client [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: `Back-end` (bin "Back-end" test) generated 14 warnings (run `cargo fix --bin "Back-end" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Back_end-1e0f0485be5fc955) [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" "637523fb2b348b4b6979d624ea952ba4176f7531df97a33e73f9e5647bea68b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637523fb2b348b4b6979d624ea952ba4176f7531df97a33e73f9e5647bea68b6", kill_on_drop: false }` [INFO] [stdout] 637523fb2b348b4b6979d624ea952ba4176f7531df97a33e73f9e5647bea68b6