[INFO] cloning repository https://github.com/nicksavul/MiaoZeDong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicksavul/MiaoZeDong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksavul%2FMiaoZeDong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksavul%2FMiaoZeDong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb888605ad743af783d58cb366a8e64191d87912 [INFO] checking nicksavul/MiaoZeDong against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksavul%2FMiaoZeDong" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicksavul/MiaoZeDong on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nicksavul/MiaoZeDong [INFO] finished tweaking git repo https://github.com/nicksavul/MiaoZeDong [INFO] tweaked toml for git repo https://github.com/nicksavul/MiaoZeDong written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nicksavul/MiaoZeDong 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78ac12b05894a3dacd363830f897577cea957aa406cf0dba717402a7e9f477bf [INFO] running `Command { std: "docker" "start" "-a" "78ac12b05894a3dacd363830f897577cea957aa406cf0dba717402a7e9f477bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78ac12b05894a3dacd363830f897577cea957aa406cf0dba717402a7e9f477bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ac12b05894a3dacd363830f897577cea957aa406cf0dba717402a7e9f477bf", kill_on_drop: false }` [INFO] [stdout] 78ac12b05894a3dacd363830f897577cea957aa406cf0dba717402a7e9f477bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f75e23b94f82e8ada2b10e10e20f2933711f41971bb84e6d561b3893a603846a [INFO] running `Command { std: "docker" "start" "-a" "f75e23b94f82e8ada2b10e10e20f2933711f41971bb84e6d561b3893a603846a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking MiaoZeDong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `concatcp` [INFO] [stdout] --> src/database_entitites.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use const_format::{concatcp, formatcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::StreamExt` [INFO] [stdout] --> src/database_entitites.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParamsFromIter` [INFO] [stdout] --> src/database_entitites.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use rusqlite::{Connection, Params, ParamsFromIter, Row}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::data::Outcome` [INFO] [stdout] --> src/api_routes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::data::Outcome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::ContentType` [INFO] [stdout] --> src/api_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Response` [INFO] [stdout] --> src/api_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database_logic::DB_CONNECTION` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use database_logic::DB_CONNECTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseEntity`, `Party`, and `User` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use database_entitites::{User, Party, DatabaseEntity}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/database_logic.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/database_logic.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(c_str_literals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concatcp` [INFO] [stdout] --> src/database_entitites.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use const_format::{concatcp, formatcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::StreamExt` [INFO] [stdout] --> src/database_entitites.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParamsFromIter` [INFO] [stdout] --> src/database_entitites.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use rusqlite::{Connection, Params, ParamsFromIter, Row}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::data::Outcome` [INFO] [stdout] --> src/api_routes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::data::Outcome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::ContentType` [INFO] [stdout] --> src/api_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Response` [INFO] [stdout] --> src/api_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database_logic::DB_CONNECTION` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use database_logic::DB_CONNECTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseEntity`, `Party`, and `User` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use database_entitites::{User, Party, DatabaseEntity}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/database_logic.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/database_logic.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(c_str_literals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut query = statement.query_map((), |row| {Self::from_row(row)})?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut query = statement.query_map([self.id], |r| Party::from_row(r))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut query = statement.query_map([self.id], |r| User::from_row(r))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_logic.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn init_database(mut database_connection: Connection) -> Connection { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api_routes.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn endpoint_update_user(id: u64, data: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut query = statement.query_map((), |row| {Self::from_row(row)})?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api_routes.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn endpoint_update_party(id: u64, data: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut query = statement.query_map([self.id], |r| Party::from_row(r))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut query = statement.query_map([self.id], |r| User::from_row(r))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_entitites.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | let mut dbcon = DB_CONNECTION.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database_logic.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn init_database(mut database_connection: Connection) -> Connection { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api_routes.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn endpoint_update_user(id: u64, data: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api_routes.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn endpoint_update_party(id: u64, data: Json) -> Json { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.44s [INFO] running `Command { std: "docker" "inspect" "f75e23b94f82e8ada2b10e10e20f2933711f41971bb84e6d561b3893a603846a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75e23b94f82e8ada2b10e10e20f2933711f41971bb84e6d561b3893a603846a", kill_on_drop: false }` [INFO] [stdout] f75e23b94f82e8ada2b10e10e20f2933711f41971bb84e6d561b3893a603846a