[INFO] cloning repository https://github.com/gaku101/rust-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaku101/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 803451cc74207e37e84e791d609115e3b076ad87 [INFO] checking gaku101/rust-tutorial against master#51ff895062ba60a7cba53f57af928c3fb7b0f2f4 for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gaku101/rust-tutorial [INFO] finished tweaking git repo https://github.com/gaku101/rust-tutorial [INFO] tweaked toml for git repo https://github.com/gaku101/rust-tutorial written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gaku101/rust-tutorial on toolchain 51ff895062ba60a7cba53f57af928c3fb7b0f2f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gaku101/rust-tutorial 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" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c29047b6f86f772021609731d6f464cddc812d50685a80cbebc67c34311139fe [INFO] running `Command { std: "docker" "start" "-a" "c29047b6f86f772021609731d6f464cddc812d50685a80cbebc67c34311139fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c29047b6f86f772021609731d6f464cddc812d50685a80cbebc67c34311139fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29047b6f86f772021609731d6f464cddc812d50685a80cbebc67c34311139fe", kill_on_drop: false }` [INFO] [stdout] c29047b6f86f772021609731d6f464cddc812d50685a80cbebc67c34311139fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d05deb6f1ec9cf12775e203b61403ffb17b5ed0e5088c8d27c1549768a3ad788 [INFO] running `Command { std: "docker" "start" "-a" "d05deb6f1ec9cf12775e203b61403ffb17b5ed0e5088c8d27c1549768a3ad788", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking thiserror v1.0.43 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking serde v1.0.171 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub async fn all_todo( [INFO] [stdout] 29 | | Extension(repository): Extension>, [INFO] [stdout] 30 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/repositories.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RepositoryError` is never used [INFO] [stdout] --> src/repositories.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RepositoryError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find`, `all`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait TodoRepository: Clone + std::marker::Send + std::marker::Sync + 'static { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 16 | fn create(&self, payload: CreateTodo) -> Todo; [INFO] [stdout] 17 | fn find(&self, id: i32) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn all(&self) -> Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | fn update(&self, id: i32, payload: UpdateTodo) -> anyhow::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn delete(&self, id: i32) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_store_ref` is never used [INFO] [stdout] --> src/repositories.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | 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/repositories.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | 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] 64 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 68 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub async fn all_todo( [INFO] [stdout] 29 | | Extension(repository): Extension>, [INFO] [stdout] 30 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | 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] 64 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 68 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "d05deb6f1ec9cf12775e203b61403ffb17b5ed0e5088c8d27c1549768a3ad788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05deb6f1ec9cf12775e203b61403ffb17b5ed0e5088c8d27c1549768a3ad788", kill_on_drop: false }` [INFO] [stdout] d05deb6f1ec9cf12775e203b61403ffb17b5ed0e5088c8d27c1549768a3ad788