[INFO] fetching crate cooklang-sync-server 0.2.2... [INFO] building cooklang-sync-server-0.2.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate cooklang-sync-server 0.2.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cooklang-sync-server 0.2.2 [INFO] finished tweaking crates.io crate cooklang-sync-server 0.2.2 [INFO] tweaked toml for crates.io crate cooklang-sync-server 0.2.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cooklang-sync-server 0.2.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cooklang-sync-server 0.2.2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded async-notify v0.3.0 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded simple_asn1 v0.6.2 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded rocket-multipart v0.2.1 [INFO] [stderr] Downloaded pq-sys v0.6.3 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded dsl_auto_type v0.1.2 [INFO] [stderr] Downloaded diesel_derives v2.2.3 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded diesel v2.2.6 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b5c28cda5bed44c82c6d3fc6e8dd7a9206803d92090712102ad7c51a5430aba [INFO] running `Command { std: "docker" "start" "-a" "9b5c28cda5bed44c82c6d3fc6e8dd7a9206803d92090712102ad7c51a5430aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b5c28cda5bed44c82c6d3fc6e8dd7a9206803d92090712102ad7c51a5430aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5c28cda5bed44c82c6d3fc6e8dd7a9206803d92090712102ad7c51a5430aba", kill_on_drop: false }` [INFO] [stdout] 9b5c28cda5bed44c82c6d3fc6e8dd7a9206803d92090712102ad7c51a5430aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 080ddebac80ed442ad2cca6b183f28d12d9f1171cdd59de7430836ef8956fce8 [INFO] running `Command { std: "docker" "start" "-a" "080ddebac80ed442ad2cca6b183f28d12d9f1171cdd59de7430836ef8956fce8", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-notify v0.3.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling diesel v2.2.6 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling rocket-multipart v0.2.1 [INFO] [stderr] Compiling cooklang-sync-server v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MultiChunkResponse` is never constructed [INFO] [stdout] --> src/chunks/response.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct MultiChunkResponse<'a> { [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/chunks/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MultiChunkResponse<'_> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(chunk_ids: Vec>) -> MultiChunkResponse<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 61 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 62 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 107 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 108 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metadata/request.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn non_local_chunks(&self) -> Vec { [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] 16 | pub(crate) fn non_local_chunks(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "080ddebac80ed442ad2cca6b183f28d12d9f1171cdd59de7430836ef8956fce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080ddebac80ed442ad2cca6b183f28d12d9f1171cdd59de7430836ef8956fce8", kill_on_drop: false }` [INFO] [stdout] 080ddebac80ed442ad2cca6b183f28d12d9f1171cdd59de7430836ef8956fce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cef2682cc8c6e0844655e442a68ed49018e2481af6ad3b01f3171682ccd94b24 [INFO] running `Command { std: "docker" "start" "-a" "cef2682cc8c6e0844655e442a68ed49018e2481af6ad3b01f3171682ccd94b24", kill_on_drop: false }` [INFO] [stderr] Compiling cooklang-sync-server v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MultiChunkResponse` is never constructed [INFO] [stdout] --> src/chunks/response.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct MultiChunkResponse<'a> { [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/chunks/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MultiChunkResponse<'_> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(chunk_ids: Vec>) -> MultiChunkResponse<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 61 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 62 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 107 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 108 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metadata/request.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn non_local_chunks(&self) -> Vec { [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] 16 | pub(crate) fn non_local_chunks(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiChunkResponse` is never constructed [INFO] [stdout] --> src/chunks/response.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct MultiChunkResponse<'a> { [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/chunks/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MultiChunkResponse<'_> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(chunk_ids: Vec>) -> MultiChunkResponse<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 61 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 62 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunks/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] 107 | | std::fs::remove_file(&full_path).ok(); [INFO] [stdout] 108 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = file.write_all(&chunk).await.map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metadata/request.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn non_local_chunks(&self) -> Vec { [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] 16 | pub(crate) fn non_local_chunks(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "cef2682cc8c6e0844655e442a68ed49018e2481af6ad3b01f3171682ccd94b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef2682cc8c6e0844655e442a68ed49018e2481af6ad3b01f3171682ccd94b24", kill_on_drop: false }` [INFO] [stdout] cef2682cc8c6e0844655e442a68ed49018e2481af6ad3b01f3171682ccd94b24