[INFO] cloning repository https://github.com/raiga0310/todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raiga0310/todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraiga0310%2Ftodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraiga0310%2Ftodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33eedf220f95a81965a53525a077a1b95b52f9db [INFO] checking raiga0310/todo against 1.94.0 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraiga0310%2Ftodo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raiga0310/todo [INFO] finished tweaking git repo https://github.com/raiga0310/todo [INFO] tweaked toml for git repo https://github.com/raiga0310/todo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raiga0310/todo on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raiga0310/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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-compression v0.3.15 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded tower-http v0.4.0 [INFO] [stderr] Downloaded whoami v1.3.0 [INFO] [stderr] Downloaded sqlformat v0.2.1 [INFO] [stderr] Downloaded hashlink v0.8.3 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded anyhow v1.0.69 [INFO] [stderr] Downloaded allocator-api2 v0.2.15 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded iri-string v0.7.0 [INFO] [stderr] Downloaded hyper v0.14.24 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] [stderr] Downloaded zstd-sys v2.0.7+zstd.1.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741ba0bb57fdf7a0257a895bdbb3870d1eb03a06859fdc7685645edeca892217 [INFO] running `Command { std: "docker" "start" "-a" "741ba0bb57fdf7a0257a895bdbb3870d1eb03a06859fdc7685645edeca892217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741ba0bb57fdf7a0257a895bdbb3870d1eb03a06859fdc7685645edeca892217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741ba0bb57fdf7a0257a895bdbb3870d1eb03a06859fdc7685645edeca892217", kill_on_drop: false }` [INFO] [stdout] 741ba0bb57fdf7a0257a895bdbb3870d1eb03a06859fdc7685645edeca892217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ac4e8ed983a9595fb9e6b48d7eb4841ba551e6e18e780cab9277020f5c0e22 [INFO] running `Command { std: "docker" "start" "-a" "d8ac4e8ed983a9595fb9e6b48d7eb4841ba551e6e18e780cab9277020f5c0e22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking unicode-bidi v0.3.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling allocator-api2 v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling async-trait v0.1.64 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling whoami v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking iri-string v0.7.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking tower-http v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Checking validator v0.16.0 [INFO] [stderr] Checking hyper v0.14.24 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/repositories/label.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use anyhow::Context; [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: `super::*` [INFO] [stdout] --> src/repositories/todo.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/repositories/todo.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/repositories/todo.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/repositories/todo.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/repositories/label.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use anyhow::Context; [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: `CreateLabel` [INFO] [stdout] --> src/repositories/label.rs:210:42 [INFO] [stdout] | [INFO] [stdout] 210 | use crate::repositories::label::{CreateLabel, Label}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::label` [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use crate::handlers::label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `self` [INFO] [stdout] --> src/main.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | use axum::body::{self, Bytes}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let repository = TodoRepositoryForDB::new(pool.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateLabel` is never constructed [INFO] [stdout] --> src/repositories/label.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct UpdateLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/label.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 150 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 151 | pub fn new(id: i32, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/label.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 156 | impl CreateLabel { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 157 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LabelDatas` is never used [INFO] [stdout] --> src/repositories/label.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | type LabelDatas = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LabelRepositoryforMemory` is never constructed [INFO] [stdout] --> src/repositories/label.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct LabelRepositoryforMemory { [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/repositories/label.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 169 | impl LabelRepositoryforMemory { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 170 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | 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/label.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 176 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, LabelDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories/label.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | 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] 180 | fn read_store_ref(&self) -> RwLockReadGuard<'_, LabelDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let repository = TodoRepositoryForDB::new(pool.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateLabel` is never constructed [INFO] [stdout] --> src/repositories/label.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct UpdateLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/label.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 156 | impl CreateLabel { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 157 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_store_ref` is never used [INFO] [stdout] --> src/repositories/label.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl LabelRepositoryforMemory { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | 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/label.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 176 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, LabelDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories/label.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | 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] 180 | fn read_store_ref(&self) -> RwLockReadGuard<'_, LabelDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories/todo.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 489 | 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/todo.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | 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] 493 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.6.3 [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" "d8ac4e8ed983a9595fb9e6b48d7eb4841ba551e6e18e780cab9277020f5c0e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ac4e8ed983a9595fb9e6b48d7eb4841ba551e6e18e780cab9277020f5c0e22", kill_on_drop: false }` [INFO] [stdout] d8ac4e8ed983a9595fb9e6b48d7eb4841ba551e6e18e780cab9277020f5c0e22