[INFO] cloning repository https://github.com/LucasAlfare/FLPoint-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucasAlfare/FLPoint-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasAlfare%2FFLPoint-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasAlfare%2FFLPoint-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e32e2e6aeb32e58e0dba906697f18001d7ae2c7 [INFO] testing LucasAlfare/FLPoint-Rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasAlfare%2FFLPoint-Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LucasAlfare/FLPoint-Rust [INFO] finished tweaking git repo https://github.com/LucasAlfare/FLPoint-Rust [INFO] tweaked toml for git repo https://github.com/LucasAlfare/FLPoint-Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LucasAlfare/FLPoint-Rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LucasAlfare/FLPoint-Rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded headers-core v0.3.0 [INFO] [stderr] Downloaded axum-core v0.4.3 [INFO] [stderr] Downloaded async-trait v0.1.82 [INFO] [stderr] Downloaded serde_path_to_error v0.1.16 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded addr2line v0.24.1 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded headers v0.4.0 [INFO] [stderr] Downloaded cc v1.1.19 [INFO] [stderr] Downloaded axum v0.7.5 [INFO] [stderr] Downloaded gimli v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62592b8035bc4406e76494395fb598184bdc2934d8bf7c3ad3851aa4b8ccd37c [INFO] running `Command { std: "docker" "start" "-a" "62592b8035bc4406e76494395fb598184bdc2934d8bf7c3ad3851aa4b8ccd37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62592b8035bc4406e76494395fb598184bdc2934d8bf7c3ad3851aa4b8ccd37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62592b8035bc4406e76494395fb598184bdc2934d8bf7c3ad3851aa4b8ccd37c", kill_on_drop: false }` [INFO] [stdout] 62592b8035bc4406e76494395fb598184bdc2934d8bf7c3ad3851aa4b8ccd37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44d8b5bdab0e458e1cfe2b582b3be51c2b90eef626b705e5391ec6a141fc32d7 [INFO] running `Command { std: "docker" "start" "-a" "44d8b5bdab0e458e1cfe2b582b3be51c2b90eef626b705e5391ec6a141fc32d7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling rust-api-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Offset`, `TimeZone`, and `Timelike` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::{Offset, TimeZone, Timelike}; [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 imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt` [INFO] [stdout] --> src/data_handler.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_point(&self, dto: CreatePointRequestDTO, jwt: String) -> impl IntoResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jwt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/credentials.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl Credentials { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(email: String, plain_password: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/create_user_request_dto.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl CreateUserRequestDTO { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(name: String, plain_password: String, email: String, is_admin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `related_user_id` is never read [INFO] [stdout] --> src/point.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub related_user_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/create_point_request_dto.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl CreatePointRequestDTO { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new(related_user_id: usize, instant: DateTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.26s [INFO] running `Command { std: "docker" "inspect" "44d8b5bdab0e458e1cfe2b582b3be51c2b90eef626b705e5391ec6a141fc32d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d8b5bdab0e458e1cfe2b582b3be51c2b90eef626b705e5391ec6a141fc32d7", kill_on_drop: false }` [INFO] [stdout] 44d8b5bdab0e458e1cfe2b582b3be51c2b90eef626b705e5391ec6a141fc32d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8486ecca9fb838b106c688770dc10ee2129699535d92d1c300eafdc727443e84 [INFO] running `Command { std: "docker" "start" "-a" "8486ecca9fb838b106c688770dc10ee2129699535d92d1c300eafdc727443e84", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Offset`, `TimeZone`, and `Timelike` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::{Offset, TimeZone, Timelike}; [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 imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt` [INFO] [stdout] --> src/data_handler.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_point(&self, dto: CreatePointRequestDTO, jwt: String) -> impl IntoResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jwt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/credentials.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl Credentials { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(email: String, plain_password: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/create_user_request_dto.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl CreateUserRequestDTO { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(name: String, plain_password: String, email: String, is_admin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `related_user_id` is never read [INFO] [stdout] --> src/point.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub related_user_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/create_point_request_dto.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl CreatePointRequestDTO { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new(related_user_id: usize, instant: DateTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "8486ecca9fb838b106c688770dc10ee2129699535d92d1c300eafdc727443e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8486ecca9fb838b106c688770dc10ee2129699535d92d1c300eafdc727443e84", kill_on_drop: false }` [INFO] [stdout] 8486ecca9fb838b106c688770dc10ee2129699535d92d1c300eafdc727443e84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f706aaf3abea720e7393222603b8ac723aca6ee2b5a24db05b46a923537040d [INFO] running `Command { std: "docker" "start" "-a" "9f706aaf3abea720e7393222603b8ac723aca6ee2b5a24db05b46a923537040d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Offset`, `TimeZone`, and `Timelike` [INFO] [stderr] --> src/main.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | use chrono::{Offset, TimeZone, Timelike}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jwt` [INFO] [stderr] --> src/data_handler.rs:128:58 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn create_point(&self, dto: CreatePointRequestDTO, jwt: String) -> impl IntoResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_jwt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/credentials.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 17 | impl Credentials { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn new(email: String, plain_password: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/create_user_request_dto.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 24 | impl CreateUserRequestDTO { [INFO] [stderr] | ------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn new(name: String, plain_password: String, email: String, is_admin: bool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `related_user_id` is never read [INFO] [stderr] --> src/point.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Point { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub related_user_id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/create_point_request_dto.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 18 | impl CreatePointRequestDTO { [INFO] [stderr] | -------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn new(related_user_id: usize, instant: DateTime) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api-server` (bin "rust-api-server" test) generated 7 warnings (run `cargo fix --bin "rust-api-server" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_server-31e981dcc8592e94) [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" "9f706aaf3abea720e7393222603b8ac723aca6ee2b5a24db05b46a923537040d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f706aaf3abea720e7393222603b8ac723aca6ee2b5a24db05b46a923537040d", kill_on_drop: false }` [INFO] [stdout] 9f706aaf3abea720e7393222603b8ac723aca6ee2b5a24db05b46a923537040d