[INFO] fetching crate bonerjams-db 0.0.2... [INFO] checking bonerjams-db-0.0.2 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate bonerjams-db 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bonerjams-db 0.0.2 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb891a129910733570c8a47f33f278106574f6538786d30339d58f3ff2afe036 [INFO] running `Command { std: "docker" "start" "-a" "eb891a129910733570c8a47f33f278106574f6538786d30339d58f3ff2afe036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb891a129910733570c8a47f33f278106574f6538786d30339d58f3ff2afe036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb891a129910733570c8a47f33f278106574f6538786d30339d58f3ff2afe036", kill_on_drop: false }` [INFO] [stdout] eb891a129910733570c8a47f33f278106574f6538786d30339d58f3ff2afe036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3099ca446216c167dc5dcfab412966a7861fb17cee4765e9dde3f8bd493fe1f7 [INFO] running `Command { std: "docker" "start" "-a" "3099ca446216c167dc5dcfab412966a7861fb17cee4765e9dde3f8bd493fe1f7", kill_on_drop: false }` [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num-traits v0.2.16 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking openssl v0.10.57 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking simplelog v0.12.1 [INFO] [stderr] Compiling tonic-rpc-macro v0.2.1 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking iri-string v0.4.1 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking bonerjams-config v0.0.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.8.3 [INFO] [stderr] Checking tonic-health v0.7.1 [INFO] [stderr] Checking tonic-rpc v0.2.1 [INFO] [stderr] Checking bonerjams-db v0.0.2 (/opt/rustwide/workdir) [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] running `Command { std: "docker" "inspect" "3099ca446216c167dc5dcfab412966a7861fb17cee4765e9dde3f8bd493fe1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3099ca446216c167dc5dcfab412966a7861fb17cee4765e9dde3f8bd493fe1f7", kill_on_drop: false }` [INFO] [stdout] 3099ca446216c167dc5dcfab412966a7861fb17cee4765e9dde3f8bd493fe1f7