[INFO] cloning repository https://github.com/lcjconte/kursauswahl_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcjconte/kursauswahl_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcjconte%2Fkursauswahl_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcjconte%2Fkursauswahl_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d896e9473e6ca14f0c9aba88e73a9fd214a7045f [INFO] checking lcjconte/kursauswahl_server against try#42d1facfffa1a5357d6d62815f7be91f8ad69ed8 for pr-95474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcjconte%2Fkursauswahl_server" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcjconte/kursauswahl_server on toolchain 42d1facfffa1a5357d6d62815f7be91f8ad69ed8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+42d1facfffa1a5357d6d62815f7be91f8ad69ed8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-104/source/rust-toolchain [INFO] started tweaking git repo https://github.com/lcjconte/kursauswahl_server [INFO] finished tweaking git repo https://github.com/lcjconte/kursauswahl_server [INFO] tweaked toml for git repo https://github.com/lcjconte/kursauswahl_server written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/lcjconte/kursauswahl_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+42d1facfffa1a5357d6d62815f7be91f8ad69ed8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+42d1facfffa1a5357d6d62815f7be91f8ad69ed8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7f32f9b9d0a37eae2265393755605af31b408fe9da8ac6cf53fefd1f50d0dc [INFO] running `Command { std: "docker" "start" "-a" "2c7f32f9b9d0a37eae2265393755605af31b408fe9da8ac6cf53fefd1f50d0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7f32f9b9d0a37eae2265393755605af31b408fe9da8ac6cf53fefd1f50d0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7f32f9b9d0a37eae2265393755605af31b408fe9da8ac6cf53fefd1f50d0dc", kill_on_drop: false }` [INFO] [stdout] 2c7f32f9b9d0a37eae2265393755605af31b408fe9da8ac6cf53fefd1f50d0dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+42d1facfffa1a5357d6d62815f7be91f8ad69ed8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0bf03415acadd94ad80f39fa3e230a1d1decc5db9b36d07dc31fe25e95ee846 [INFO] running `Command { std: "docker" "start" "-a" "d0bf03415acadd94ad80f39fa3e230a1d1decc5db9b36d07dc31fe25e95ee846", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tokio-openssl v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking blowfish v0.8.0 [INFO] [stderr] Checking bcrypt v0.10.1 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking postgres-openssl v0.5.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking kursauswahl_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/routes/api.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::serde::{json::Json, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/db/selection_system.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DBError` [INFO] [stdout] --> src/db/course_system.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{connect, DBError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/db/course_system.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/routes/api.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::serde::{json::Json, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/db/selection_system.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DBError` [INFO] [stdout] --> src/db/course_system.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{connect, DBError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/db/course_system.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{collections::HashMap, path::Path, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{collections::HashMap, path::Path, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/api.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/routes/api.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/db/selection_system.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selection` [INFO] [stdout] --> src/db/selection_system.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/routes/api.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/routes/api.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/db/selection_system.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selection` [INFO] [stdout] --> src/db/selection_system.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_user_pwd` [INFO] [stdout] --> src/slogic/mod.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update_user_pwd(user: &User, new_pwd: &str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_user_pwd` [INFO] [stdout] --> src/slogic/mod.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update_user_pwd(user: &User, new_pwd: &str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rupdate_selection` [INFO] [stdout] --> src/routes/api.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `UserUpdate` [INFO] [stdout] --> src/db/user_system.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_user` [INFO] [stdout] --> src/db/user_system.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn update_user(id: i32, update: UserUpdate) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_selection` [INFO] [stdout] --> src/db/selection_system.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn del_selection(user: User) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_selection` [INFO] [stdout] --> src/db/selection_system.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_courses` [INFO] [stdout] --> src/db/course_system.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_courses() -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserStructs` should have a snake case name [INFO] [stdout] --> src/slogic/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod UserStructs; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `user_structs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Uservalidation` should have a snake case name [INFO] [stdout] --> src/slogic/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Uservalidation; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `uservalidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rupdate_selection` [INFO] [stdout] --> src/routes/api.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn rupdate_selection(user: User, sel: Json) -> ApiResponse<(), Status>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `UserUpdate` [INFO] [stdout] --> src/db/user_system.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_user` [INFO] [stdout] --> src/db/user_system.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn update_user(id: i32, update: UserUpdate) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_selection` [INFO] [stdout] --> src/db/selection_system.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn del_selection(user: User) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_selection` [INFO] [stdout] --> src/db/selection_system.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn set_selection(user: User, selection: &Selection) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_courses` [INFO] [stdout] --> src/db/course_system.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_courses() -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserStructs` should have a snake case name [INFO] [stdout] --> src/slogic/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod UserStructs; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `user_structs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Uservalidation` should have a snake case name [INFO] [stdout] --> src/slogic/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Uservalidation; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `uservalidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "d0bf03415acadd94ad80f39fa3e230a1d1decc5db9b36d07dc31fe25e95ee846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bf03415acadd94ad80f39fa3e230a1d1decc5db9b36d07dc31fe25e95ee846", kill_on_drop: false }` [INFO] [stdout] d0bf03415acadd94ad80f39fa3e230a1d1decc5db9b36d07dc31fe25e95ee846