[INFO] cloning repository https://github.com/yasushiasahi/my-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasushiasahi/my-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushiasahi%2Fmy-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushiasahi%2Fmy-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71c5cbfe49c7faea257acdb8a7312ab3266b59ab [INFO] checking yasushiasahi/my-todo against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushiasahi%2Fmy-todo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yasushiasahi/my-todo [INFO] finished tweaking git repo https://github.com/yasushiasahi/my-todo [INFO] tweaked toml for git repo https://github.com/yasushiasahi/my-todo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yasushiasahi/my-todo on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yasushiasahi/my-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded async-trait v0.1.73 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded tokio-util v0.7.9 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcc27916078a08f894f18d2695de18a53e691b865893097b96c7fafcb9433e9f [INFO] running `Command { std: "docker" "start" "-a" "fcc27916078a08f894f18d2695de18a53e691b865893097b96c7fafcb9433e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcc27916078a08f894f18d2695de18a53e691b865893097b96c7fafcb9433e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc27916078a08f894f18d2695de18a53e691b865893097b96c7fafcb9433e9f", kill_on_drop: false }` [INFO] [stdout] fcc27916078a08f894f18d2695de18a53e691b865893097b96c7fafcb9433e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575c3ff4394b2d29a54325bc2dac18c523ba4e269600e77afdafcaceb459da2b [INFO] running `Command { std: "docker" "start" "-a" "575c3ff4394b2d29a54325bc2dac18c523ba4e269600e77afdafcaceb459da2b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking h2 v0.3.20 [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 hyper v0.14.27 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CreateTodo` [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::repositories::{CreateTodo, Todo}; [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: `StatusCode` [INFO] [stdout] --> src/main.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | http::{header, Method, Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 29 | [INFO] [stdout] 30 | 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: unreachable expression [INFO] [stdout] --> src/handlers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 29 | [INFO] [stdout] 30 | 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: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub async fn all_todo( [INFO] [stdout] 34 | | Extension(repository): Extension>, [INFO] [stdout] 35 | | ) -> 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:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 36 | | todo!() [INFO] [stdout] 37 | | } [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: unreachable expression [INFO] [stdout] --> src/handlers.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub async fn all_todo( [INFO] [stdout] 34 | | Extension(repository): Extension>, [INFO] [stdout] 35 | | ) -> 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:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 36 | | todo!() [INFO] [stdout] 37 | | } [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: unreachable expression [INFO] [stdout] --> src/handlers.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | 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: `repository` [INFO] [stdout] --> src/handlers.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | 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:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | 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:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | 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: `repository` [INFO] [stdout] --> src/handlers.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | 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:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [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:69:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | 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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 | 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/repositories.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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] 69 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_todo_req_with_json` is never used [INFO] [stdout] --> src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_todo_req_with_json(path: &str, method: Method, json_body: String) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_todo_req_with_empty` is never used [INFO] [stdout] --> src/main.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn build_todo_req_with_empty(path: &str, method: Method) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `res_to_todo` is never used [INFO] [stdout] --> src/main.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | async fn res_to_todo(res: Response) -> Todo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 | 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/repositories.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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] 69 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.87s [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 2` [INFO] running `Command { std: "docker" "inspect" "575c3ff4394b2d29a54325bc2dac18c523ba4e269600e77afdafcaceb459da2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575c3ff4394b2d29a54325bc2dac18c523ba4e269600e77afdafcaceb459da2b", kill_on_drop: false }` [INFO] [stdout] 575c3ff4394b2d29a54325bc2dac18c523ba4e269600e77afdafcaceb459da2b