[INFO] fetching crate bonerjams-db 0.0.2... [INFO] checking bonerjams-db-0.0.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate bonerjams-db 0.0.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bonerjams-db 0.0.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bonerjams-db 0.0.2 [INFO] finished tweaking crates.io crate bonerjams-db 0.0.2 [INFO] tweaked toml for crates.io crate bonerjams-db 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 243 packages to latest compatible versions [INFO] [stderr] Adding asn1-rs v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding asn1-rs-derive v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding asn1-rs-impl v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding async-compression v0.3.15 (available: v0.4.12) [INFO] [stderr] Adding axum v0.6.20 (available: v0.7.6) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.4.4) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding brotli v3.5.0 (available: v6.0.0) [INFO] [stderr] Adding brotli-decompressor v2.5.1 (available: v4.0.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding der-parser v8.2.0 (available: v9.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding http-range-header v0.3.1 (available: v0.4.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-openssl v0.9.2 (available: v0.10.2) [INFO] [stderr] Adding hyper-timeout v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding iri-string v0.4.1 (available: v0.7.5) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding multimap v0.8.3 (available: v0.10.0) [INFO] [stderr] Adding oid-registry v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding pem v1.1.1 (available: v3.0.4) [INFO] [stderr] Adding prettyplease v0.1.25 (available: v0.2.22) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-build v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding rcgen v0.10.0 (available: v0.13.1) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding tokio-rustls v0.23.4 (available: v0.26.0) [INFO] [stderr] Adding tonic v0.8.3 (available: v0.12.2) [INFO] [stderr] Adding tonic-build v0.8.4 (available: v0.12.2) [INFO] [stderr] Adding tonic-health v0.7.1 (available: v0.12.2) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding tower-http v0.3.5 (available: v0.6.1) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding x509-parser v0.14.0 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] decef095beb18b8ef2fcbca6b2a7dfc2b926f7b0ba90f5c0bf884627c49cfa99 [INFO] running `Command { std: "docker" "start" "-a" "decef095beb18b8ef2fcbca6b2a7dfc2b926f7b0ba90f5c0bf884627c49cfa99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "decef095beb18b8ef2fcbca6b2a7dfc2b926f7b0ba90f5c0bf884627c49cfa99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "decef095beb18b8ef2fcbca6b2a7dfc2b926f7b0ba90f5c0bf884627c49cfa99", kill_on_drop: false }` [INFO] [stdout] decef095beb18b8ef2fcbca6b2a7dfc2b926f7b0ba90f5c0bf884627c49cfa99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfa31566fb7f359fad109469f297c09ab7ca8e17923fff672bfda9586a4fd67 [INFO] running `Command { std: "docker" "start" "-a" "7cfa31566fb7f359fad109469f297c09ab7ca8e17923fff672bfda9586a4fd67", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking iri-string v0.4.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Compiling tonic-rpc-macro v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking bonerjams-config v0.0.2 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.8.3 [INFO] [stderr] Checking tonic-rpc v0.2.1 [INFO] [stderr] Checking tonic-health v0.7.1 [INFO] [stderr] Checking bonerjams-db v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (6 fixes) [INFO] [stderr] Fixed src/rpc/kv_server.rs (3 fixes) [INFO] [stdout] warning: unused import: `DbKey` [INFO] [stdout] --> src/rpc/kv_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | types::{DbKey, DbTrees}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::DbKey` [INFO] [stdout] --> src/rpc/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::DbKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rpc/pubsub_server.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | while let Some(channel) = channels.message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rpc/pubsub_server.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbKey` [INFO] [stdout] --> src/rpc/kv_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | types::{DbKey, DbTrees}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::DbKey` [INFO] [stdout] --> src/rpc/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::DbKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rpc/pubsub_server.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | while let Some(channel) = channels.message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/rpc/pubsub_server.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.82s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bonerjams-db v0.0.2 (/tmp/fixit) [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 116 | async fn batch_put(&mut self, args: Vec<(Vec, Vec)>) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 138 | self.authenticated_client().await?.put_kvs(req).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 116 | async fn batch_put(&mut self, args: Vec<(Vec, Vec)>) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 138 | self.authenticated_client().await?.put_kvs(req).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 143 | async fn put(&mut self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 147 | self.authenticated_client() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 143 | async fn put(&mut self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 147 | self.authenticated_client() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 154 | async fn get(&mut self, key: &[u8]) -> Result> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(self [INFO] [stdout] | ________________^ [INFO] [stdout] 159 | | .authenticated_client() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 154 | async fn get(&mut self, key: &[u8]) -> Result> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(self [INFO] [stdout] | ________________^ [INFO] [stdout] 159 | | .authenticated_client() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 166 | async fn list(&mut self, tree: &[u8]) -> Result { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(self [INFO] [stdout] | ________________^ [INFO] [stdout] 171 | | .authenticated_client() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 166 | async fn list(&mut self, tree: &[u8]) -> Result { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(self [INFO] [stdout] | ________________^ [INFO] [stdout] 171 | | .authenticated_client() [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________________________________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.auth_token` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/rpc/client.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | if self.auth_token.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.auth_token` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/rpc/client.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | if self.auth_token.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/rpc/client.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | match self.client().health_check(()).await { [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/rpc/client.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | match self.client().health_check(()).await { [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/rpc/client.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | ^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/rpc/client.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | ^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 179 | async fn ready(&mut self) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 179 | async fn ready(&mut self) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 195 | match self.authenticated_client().await?.health_check(()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub async fn exists(&mut self, key: &[u8]) -> Result { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 221 | match self.authenticated_client().await?.exist(key.to_vec()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub async fn exists(&mut self, key: &[u8]) -> Result { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 221 | match self.authenticated_client().await?.exist(key.to_vec()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 231 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 252 | match self.authenticated_client().await?.batch_exist(req).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/rpc/client.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 231 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 252 | match self.authenticated_client().await?.batch_exist(req).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbKey` [INFO] [stdout] --> src/rpc/kv_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | types::{DbKey, DbTrees}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::DbKey` [INFO] [stdout] --> src/rpc/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::DbKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bonerjams-db` (lib) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `DbKey` [INFO] [stdout] --> src/rpc/kv_server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | types::{DbKey, DbTrees}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::DbKey` [INFO] [stdout] --> src/rpc/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::types::DbKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bonerjams-db` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7cfa31566fb7f359fad109469f297c09ab7ca8e17923fff672bfda9586a4fd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfa31566fb7f359fad109469f297c09ab7ca8e17923fff672bfda9586a4fd67", kill_on_drop: false }` [INFO] [stdout] 7cfa31566fb7f359fad109469f297c09ab7ca8e17923fff672bfda9586a4fd67