[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Daichi0914/practice_todo on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.2 [INFO] [stderr] Downloaded thiserror v1.0.45 [INFO] [stderr] Downloaded async-trait v0.1.73 [INFO] [stderr] Downloaded matchit v0.7.2 [INFO] [stderr] Downloaded serde_path_to_error v0.1.14 [INFO] [stderr] Downloaded thiserror-impl v1.0.45 [INFO] [stderr] Downloaded anyhow v1.0.73 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded serde_derive v1.0.183 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.2 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.2 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] [stderr] Downloaded tokio v1.31.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.2 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c17ecddb76891a18f8e9629e72e7d00d25d41bfa73ce8ab2a65ec0641b35c1d0 [INFO] running `Command { std: "docker" "start" "-a" "c17ecddb76891a18f8e9629e72e7d00d25d41bfa73ce8ab2a65ec0641b35c1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17ecddb76891a18f8e9629e72e7d00d25d41bfa73ce8ab2a65ec0641b35c1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17ecddb76891a18f8e9629e72e7d00d25d41bfa73ce8ab2a65ec0641b35c1d0", kill_on_drop: false }` [INFO] [stdout] c17ecddb76891a18f8e9629e72e7d00d25d41bfa73ce8ab2a65ec0641b35c1d0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de75e5c08333c79a9e25e513f63ecf8e97376a68d22472e89243baaa821ef14a [INFO] running `Command { std: "docker" "start" "-a" "de75e5c08333c79a9e25e513f63ecf8e97376a68d22472e89243baaa821ef14a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.73 [INFO] [stderr] Compiling thiserror v1.0.45 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [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 serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling pin-project v1.1.3 [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 50.25s [INFO] running `Command { std: "docker" "inspect" "de75e5c08333c79a9e25e513f63ecf8e97376a68d22472e89243baaa821ef14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de75e5c08333c79a9e25e513f63ecf8e97376a68d22472e89243baaa821ef14a", kill_on_drop: false }` [INFO] [stdout] de75e5c08333c79a9e25e513f63ecf8e97376a68d22472e89243baaa821ef14a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad0f184ccbb54fc1bd975a7c6d2b845eef9dbff54e66e37ae3451db824d151b9 [INFO] running `Command { std: "docker" "start" "-a" "ad0f184ccbb54fc1bd975a7c6d2b845eef9dbff54e66e37ae3451db824d151b9", 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] [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] 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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] running `Command { std: "docker" "inspect" "ad0f184ccbb54fc1bd975a7c6d2b845eef9dbff54e66e37ae3451db824d151b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0f184ccbb54fc1bd975a7c6d2b845eef9dbff54e66e37ae3451db824d151b9", kill_on_drop: false }` [INFO] [stdout] ad0f184ccbb54fc1bd975a7c6d2b845eef9dbff54e66e37ae3451db824d151b9