[INFO] cloning repository https://github.com/mcheshkov/paidy-restaurant-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcheshkov/paidy-restaurant-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcheshkov%2Fpaidy-restaurant-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcheshkov%2Fpaidy-restaurant-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 561d1be3120ff5f98c8a8244299081a90e804139 [INFO] checking mcheshkov/paidy-restaurant-api against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcheshkov%2Fpaidy-restaurant-api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcheshkov/paidy-restaurant-api [INFO] finished tweaking git repo https://github.com/mcheshkov/paidy-restaurant-api [INFO] tweaked toml for git repo https://github.com/mcheshkov/paidy-restaurant-api written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcheshkov/paidy-restaurant-api on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcheshkov/paidy-restaurant-api 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a45e207ffcd8b3ed2ce76320d70ecdcd116bb58895f43dcdefdf14e1afb7c26 [INFO] running `Command { std: "docker" "start" "-a" "6a45e207ffcd8b3ed2ce76320d70ecdcd116bb58895f43dcdefdf14e1afb7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a45e207ffcd8b3ed2ce76320d70ecdcd116bb58895f43dcdefdf14e1afb7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a45e207ffcd8b3ed2ce76320d70ecdcd116bb58895f43dcdefdf14e1afb7c26", kill_on_drop: false }` [INFO] [stdout] 6a45e207ffcd8b3ed2ce76320d70ecdcd116bb58895f43dcdefdf14e1afb7c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73f5ee3d25cf4d77e9d8cc9dede1ad1dd8ce343c95840c4cd5d5ca2867045776 [INFO] running `Command { std: "docker" "start" "-a" "73f5ee3d25cf4d77e9d8cc9dede1ad1dd8ce343c95840c4cd5d5ca2867045776", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking sharded-slab v0.1.6 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking clap_builder v4.4.5 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking clap v4.4.5 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking deadpool-postgres v0.11.0 [INFO] [stderr] Checking paidy-restaurant-api v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SimpleMemoryStorageInner` is never constructed [INFO] [stdout] --> src/storage/memory.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct SimpleMemoryStorageInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_items` is never used [INFO] [stdout] --> src/storage/memory.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl SimpleMemoryStorageInner { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 26 | fn add_items(&mut self, table_id: TableId, items: impl Iterator + Send) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleMemoryStorage` is never constructed [INFO] [stdout] --> src/storage/memory.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SimpleMemoryStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SimpleMemoryStorageError` is never used [INFO] [stdout] --> src/storage/memory.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type SimpleMemoryStorageError = Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:91:94 [INFO] [stdout] | [INFO] [stdout] 91 | async fn list_items(&self, table_id: TableId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 92 | | let mut data = self.inner.lock().await; [INFO] [stdout] 93 | | [INFO] [stdout] 94 | | Ok(data [INFO] [stdout] ... | [INFO] [stdout] 107 | | .unwrap_or(vec![])) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / Ok(data [INFO] [stdout] 95 | | .items [INFO] [stdout] 96 | | .get_mut(&table_id) [INFO] [stdout] 97 | | .map(|items| { [INFO] [stdout] ... | [INFO] [stdout] 106 | | }) [INFO] [stdout] 107 | | .unwrap_or(vec![])) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Self::Error> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 116 | | let mut data = self.inner.lock().await; [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | Ok(data [INFO] [stdout] ... | [INFO] [stdout] 122 | | .unwrap_or(None)) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / Ok(data [INFO] [stdout] 119 | | .items [INFO] [stdout] 120 | | .get_mut(&table_id) [INFO] [stdout] 121 | | .map(|items| items.iter().find(|item| item.item_id == item_id).cloned()) [INFO] [stdout] 122 | | .unwrap_or(None)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/pg.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | async fn start_transaction(db: &mut Client) -> Result { [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] 132 | async fn start_transaction(db: &mut Client) -> Result, PostgresStorageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/pg.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | db: &mut Client, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 142 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden 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] 142 | ) -> Result, PostgresStorageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paidy-restaurant-api` (bin "paidy-restaurant-api") due to 14 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:91:94 [INFO] [stdout] | [INFO] [stdout] 91 | async fn list_items(&self, table_id: TableId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 92 | | let mut data = self.inner.lock().await; [INFO] [stdout] 93 | | [INFO] [stdout] 94 | | Ok(data [INFO] [stdout] ... | [INFO] [stdout] 107 | | .unwrap_or(vec![])) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / Ok(data [INFO] [stdout] 95 | | .items [INFO] [stdout] 96 | | .get_mut(&table_id) [INFO] [stdout] 97 | | .map(|items| { [INFO] [stdout] ... | [INFO] [stdout] 106 | | }) [INFO] [stdout] 107 | | .unwrap_or(vec![])) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Self::Error> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 116 | | let mut data = self.inner.lock().await; [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | Ok(data [INFO] [stdout] ... | [INFO] [stdout] 122 | | .unwrap_or(None)) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / Ok(data [INFO] [stdout] 119 | | .items [INFO] [stdout] 120 | | .get_mut(&table_id) [INFO] [stdout] 121 | | .map(|items| items.iter().find(|item| item.item_id == item_id).cloned()) [INFO] [stdout] 122 | | .unwrap_or(None)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/storage/memory.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/pg.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | async fn start_transaction(db: &mut Client) -> Result { [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] 132 | async fn start_transaction(db: &mut Client) -> Result, PostgresStorageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/pg.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | db: &mut Client, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 142 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden 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] 142 | ) -> Result, PostgresStorageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paidy-restaurant-api` (bin "paidy-restaurant-api" test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73f5ee3d25cf4d77e9d8cc9dede1ad1dd8ce343c95840c4cd5d5ca2867045776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f5ee3d25cf4d77e9d8cc9dede1ad1dd8ce343c95840c4cd5d5ca2867045776", kill_on_drop: false }` [INFO] [stdout] 73f5ee3d25cf4d77e9d8cc9dede1ad1dd8ce343c95840c4cd5d5ca2867045776