[INFO] cloning repository https://github.com/Daichi0914/practice_todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daichi0914/practice_todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66ca72098a4571aa9554e82a85601fb3c819c8a3 [INFO] building Daichi0914/practice_todo against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Daichi0914/practice_todo [INFO] finished tweaking git repo https://github.com/Daichi0914/practice_todo [INFO] tweaked toml for git repo https://github.com/Daichi0914/practice_todo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Daichi0914/practice_todo on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Daichi0914/practice_todo 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a6edeaccdccaa965aeecb3090b10bf592c084e5ad976a1e3fc8984a116dfa7 [INFO] running `Command { std: "docker" "start" "-a" "14a6edeaccdccaa965aeecb3090b10bf592c084e5ad976a1e3fc8984a116dfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a6edeaccdccaa965aeecb3090b10bf592c084e5ad976a1e3fc8984a116dfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a6edeaccdccaa965aeecb3090b10bf592c084e5ad976a1e3fc8984a116dfa7", kill_on_drop: false }` [INFO] [stdout] 14a6edeaccdccaa965aeecb3090b10bf592c084e5ad976a1e3fc8984a116dfa7 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fad2d239fdcc0fc70d49e1ec79bd6eb4d29c5d98df31e26082184f24d654b9a [INFO] running `Command { std: "docker" "start" "-a" "4fad2d239fdcc0fc70d49e1ec79bd6eb4d29c5d98df31e26082184f24d654b9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.45 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.73 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.45 [INFO] [stderr] Compiling tokio v1.31.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/routes/todo_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::routing::post; [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 import: `crate::handlers::todo_handlers` [INFO] [stdout] --> src/routes/todo_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handlers::todo_handlers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo` is never used [INFO] [stdout] --> src/handlers/todo_handlers.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn create_todo(payload: CreateTodo, repository: Extension>) -> Todo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TodoStatus` is never used [INFO] [stdout] --> src/models/todo_models.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TodoStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Todo` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTodo` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CreateTodo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `create_next_id` are never used [INFO] [stdout] --> src/models/todo_models.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Todo { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 24 | pub(crate) fn new(id: u32, action: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn create_next_id(store: &RwLockWriteGuard) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TodoRepository` is never used [INFO] [stdout] --> src/models/todo_models.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait TodoRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TodoDates` is never used [INFO] [stdout] --> src/models/todo_models.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | type TodoDates = HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TodoRepositoryForMemory` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TodoRepositoryForMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_store_ref`, and `read_store_ref` are never used [INFO] [stdout] --> src/models/todo_models.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 50 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.06s [INFO] running `Command { std: "docker" "inspect" "4fad2d239fdcc0fc70d49e1ec79bd6eb4d29c5d98df31e26082184f24d654b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fad2d239fdcc0fc70d49e1ec79bd6eb4d29c5d98df31e26082184f24d654b9a", kill_on_drop: false }` [INFO] [stdout] 4fad2d239fdcc0fc70d49e1ec79bd6eb4d29c5d98df31e26082184f24d654b9a [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 150ab2e026d5cdd1e5081392ac3eb6a23f7c4fc9634aa20db13fe17b976cdab4 [INFO] running `Command { std: "docker" "start" "-a" "150ab2e026d5cdd1e5081392ac3eb6a23f7c4fc9634aa20db13fe17b976cdab4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/routes/todo_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::routing::post; [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 import: `crate::handlers::todo_handlers` [INFO] [stdout] --> src/routes/todo_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handlers::todo_handlers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo` is never used [INFO] [stdout] --> src/handlers/todo_handlers.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn create_todo(payload: CreateTodo, repository: Extension>) -> Todo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TodoStatus` is never used [INFO] [stdout] --> src/models/todo_models.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TodoStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Todo` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTodo` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CreateTodo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `create_next_id` are never used [INFO] [stdout] --> src/models/todo_models.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Todo { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 24 | pub(crate) fn new(id: u32, action: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn create_next_id(store: &RwLockWriteGuard) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TodoRepository` is never used [INFO] [stdout] --> src/models/todo_models.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait TodoRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TodoDates` is never used [INFO] [stdout] --> src/models/todo_models.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | type TodoDates = HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TodoRepositoryForMemory` is never constructed [INFO] [stdout] --> src/models/todo_models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TodoRepositoryForMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `write_store_ref`, and `read_store_ref` are never used [INFO] [stdout] --> src/models/todo_models.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 50 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/routes/todo_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::routing::post; [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 import: `crate::handlers::todo_handlers` [INFO] [stdout] --> src/routes/todo_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handlers::todo_handlers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/todo_models.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> src/models/todo_models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TodoStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | Undone, [INFO] [stdout] 8 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Done [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "150ab2e026d5cdd1e5081392ac3eb6a23f7c4fc9634aa20db13fe17b976cdab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "150ab2e026d5cdd1e5081392ac3eb6a23f7c4fc9634aa20db13fe17b976cdab4", kill_on_drop: false }` [INFO] [stdout] 150ab2e026d5cdd1e5081392ac3eb6a23f7c4fc9634aa20db13fe17b976cdab4