[INFO] cloning repository https://github.com/Malique-Auguste/Servaunt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malique-Auguste/Servaunt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FServaunt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FServaunt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ba1435e88864127391e0940b0fcaf8a3b3f35b6 [INFO] checking Malique-Auguste/Servaunt/8ba1435e88864127391e0940b0fcaf8a3b3f35b6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FServaunt" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 35% (1762/4997) Updating files: 36% (1799/4997) Updating files: 37% (1849/4997) Updating files: 38% (1899/4997) Updating files: 39% (1949/4997) Updating files: 40% (1999/4997) Updating files: 40% (2014/4997) Updating files: 41% (2049/4997) Updating files: 42% (2099/4997) Updating files: 42% (2121/4997) Updating files: 43% (2149/4997) Updating files: 44% (2199/4997) Updating files: 44% (2243/4997) Updating files: 45% (2249/4997) Updating files: 46% (2299/4997) Updating files: 46% (2305/4997) Updating files: 47% (2349/4997) Updating files: 47% (2363/4997) Updating files: 48% (2399/4997) Updating files: 49% (2449/4997) Updating files: 49% (2476/4997) Updating files: 50% (2499/4997) Updating files: 51% (2549/4997) Updating files: 52% (2599/4997) Updating files: 53% (2649/4997) Updating files: 54% (2699/4997) Updating files: 55% (2749/4997) Updating files: 55% (2794/4997) Updating files: 56% (2799/4997) Updating files: 57% (2849/4997) Updating files: 58% (2899/4997) Updating files: 59% (2949/4997) Updating files: 60% (2999/4997) Updating files: 61% (3049/4997) Updating files: 62% (3099/4997) Updating files: 63% (3149/4997) Updating files: 64% (3199/4997) Updating files: 64% (3246/4997) Updating files: 65% (3249/4997) Updating files: 66% (3299/4997) Updating files: 67% (3348/4997) Updating files: 68% (3398/4997) Updating files: 69% (3448/4997) Updating files: 70% (3498/4997) Updating files: 71% (3548/4997) Updating files: 71% (3584/4997) Updating files: 72% (3598/4997) Updating files: 73% (3648/4997) Updating files: 74% (3698/4997) Updating files: 75% (3748/4997) Updating files: 75% (3773/4997) Updating files: 76% (3798/4997) Updating files: 77% (3848/4997) Updating files: 78% (3898/4997) Updating files: 79% (3948/4997) Updating files: 80% (3998/4997) Updating files: 81% (4048/4997) Updating files: 82% (4098/4997) Updating files: 83% (4148/4997) Updating files: 84% (4198/4997) Updating files: 84% (4201/4997) Updating files: 85% (4248/4997) Updating files: 86% (4298/4997) Updating files: 87% (4348/4997) Updating files: 88% (4398/4997) Updating files: 89% (4448/4997) Updating files: 89% (4480/4997) Updating files: 90% (4498/4997) Updating files: 91% (4548/4997) Updating files: 92% (4598/4997) Updating files: 93% (4648/4997) Updating files: 94% (4698/4997) Updating files: 95% (4748/4997) Updating files: 96% (4798/4997) Updating files: 97% (4848/4997) Updating files: 98% (4898/4997) Updating files: 98% (4905/4997) Updating files: 99% (4948/4997) Updating files: 100% (4997/4997) Updating files: 100% (4997/4997), done. [INFO] validating manifest of git repo https://github.com/Malique-Auguste/Servaunt on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Malique-Auguste/Servaunt [INFO] finished tweaking git repo https://github.com/Malique-Auguste/Servaunt [INFO] tweaked toml for git repo https://github.com/Malique-Auguste/Servaunt written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Malique-Auguste/Servaunt 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edd87ff8037074d0d365da0db7f5ed18d12ea52b0ee2370307af8524731153d3 [INFO] running `Command { std: "docker" "start" "-a" "edd87ff8037074d0d365da0db7f5ed18d12ea52b0ee2370307af8524731153d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd87ff8037074d0d365da0db7f5ed18d12ea52b0ee2370307af8524731153d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd87ff8037074d0d365da0db7f5ed18d12ea52b0ee2370307af8524731153d3", kill_on_drop: false }` [INFO] [stdout] edd87ff8037074d0d365da0db7f5ed18d12ea52b0ee2370307af8524731153d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e982181cd5aa47e5d7f452bf21bdef14605d42c9148156d6d667df221315bc04 [INFO] running `Command { std: "docker" "start" "-a" "e982181cd5aa47e5d7f452bf21bdef14605d42c9148156d6d667df221315bc04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking servaunt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/user_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/user_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cookie` [INFO] [stdout] --> src/user_manager.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoginData` and `self` [INFO] [stdout] --> src/lib.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::user_manager::{self, LoginData}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/user_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> src/user_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cookie` [INFO] [stdout] --> src/user_manager.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sessions` is never read [INFO] [stdout] --> src/user_manager.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | users: Vec, [INFO] [stdout] 19 | sessions: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_new_user`, `login_user`, and `get_current_user` are never used [INFO] [stdout] --> src/user_manager.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl UserManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | //Creates a new UserManager with no active sessions and a list of users from the database [INFO] [stdout] 24 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_new_user(&mut self, new_user: User) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn login_user(&mut self, current_user: &User, jar: &CookieJar) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_current_user(&self, jar: &CookieJar) -> Result<&User, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name`, `id`, `creation_timestamp`, and `last_action_timestamp` are never read [INFO] [stdout] --> src/user_manager.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 134 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 136 | creation_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | last_action_timestamp: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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/user_manager.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 141 | //the id represents a hash of the uer name and their login time so that the cookie cannot be guessed [INFO] [stdout] 142 | fn new(user: &User) -> Session { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/user_manager.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 179 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `password` are never read [INFO] [stdout] --> src/user_manager.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct LoginData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | password: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_user` are never used [INFO] [stdout] --> src/user_manager.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl LoginData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 192 | pub fn new(name: String, password: String)-> LoginData { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn to_user(&self) -> User { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let file_data = self.users.iter().map(|user| serde_json::to_string(user).unwrap()).collect::>().join("\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | password: String [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `servaunt` (lib test) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `sessions` is never read [INFO] [stdout] --> src/user_manager.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | users: Vec, [INFO] [stdout] 19 | sessions: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_new_user`, `login_user`, and `get_current_user` are never used [INFO] [stdout] --> src/user_manager.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl UserManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | //Creates a new UserManager with no active sessions and a list of users from the database [INFO] [stdout] 24 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_new_user(&mut self, new_user: User) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn login_user(&mut self, current_user: &User, jar: &CookieJar) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_current_user(&self, jar: &CookieJar) -> Result<&User, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_name`, `id`, `creation_timestamp`, and `last_action_timestamp` are never read [INFO] [stdout] --> src/user_manager.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 134 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 136 | creation_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | last_action_timestamp: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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/user_manager.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 141 | //the id represents a hash of the uer name and their login time so that the cookie cannot be guessed [INFO] [stdout] 142 | fn new(user: &User) -> Session { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/user_manager.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 179 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `password` are never read [INFO] [stdout] --> src/user_manager.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct LoginData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | password: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_user` are never used [INFO] [stdout] --> src/user_manager.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl LoginData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 192 | pub fn new(name: String, password: String)-> LoginData { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn to_user(&self) -> User { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let file_data = self.users.iter().map(|user| serde_json::to_string(user).unwrap()).collect::>().join("\r\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user_manager.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | password: String [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `servaunt` (lib) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e982181cd5aa47e5d7f452bf21bdef14605d42c9148156d6d667df221315bc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e982181cd5aa47e5d7f452bf21bdef14605d42c9148156d6d667df221315bc04", kill_on_drop: false }` [INFO] [stdout] e982181cd5aa47e5d7f452bf21bdef14605d42c9148156d6d667df221315bc04