[INFO] cloning repository https://github.com/oceanbase/obkv-table-client-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oceanbase/obkv-table-client-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanbase%2Fobkv-table-client-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanbase%2Fobkv-table-client-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24eeb7bf54cde82d3af4b87dcbfbca333660a214 [INFO] checking oceanbase/obkv-table-client-rs against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanbase%2Fobkv-table-client-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oceanbase/obkv-table-client-rs 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/oceanbase/obkv-table-client-rs [INFO] finished tweaking git repo https://github.com/oceanbase/obkv-table-client-rs [INFO] tweaked toml for git repo https://github.com/oceanbase/obkv-table-client-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oceanbase/obkv-table-client-rs 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 23304165e4de486519e6eb0ac7d7fa6a1111f85ede556f3b28a3c9634ef24915 [INFO] running `Command { std: "docker" "start" "-a" "23304165e4de486519e6eb0ac7d7fa6a1111f85ede556f3b28a3c9634ef24915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23304165e4de486519e6eb0ac7d7fa6a1111f85ede556f3b28a3c9634ef24915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23304165e4de486519e6eb0ac7d7fa6a1111f85ede556f3b28a3c9634ef24915", kill_on_drop: false }` [INFO] [stdout] 23304165e4de486519e6eb0ac7d7fa6a1111f85ede556f3b28a3c9634ef24915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9ea5788ec6a09be08a21930bb5e9d2ce6b20b9af8eb27df6479629805afc8288 [INFO] running `Command { std: "docker" "start" "-a" "9ea5788ec6a09be08a21930bb5e9d2ce6b20b9af8eb27df6479629805afc8288", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling toml_datetime v0.6.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling toml_edit v0.19.8 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling rust_decimal v1.29.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking time v0.3.21 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.3.8 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Compiling prometheus-client v0.21.1 [INFO] [stderr] Compiling rustix v0.37.11 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking dtoa v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Checking net2 v0.2.38 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling derive_utils v0.13.2 [INFO] [stderr] Checking murmur2 v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Compiling sqlite3-src v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking winnow v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking sqlite3-sys v0.13.0 [INFO] [stderr] Checking sqlite v0.26.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.2 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling uuid-macro-internal v1.3.1 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling io-enum v1.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking uuid v1.3.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Compiling test-log v0.2.11 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking sql-builder v3.1.1 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking serde v1.0.160 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.17 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.9 [INFO] [stderr] Checking serde_spanned v0.6.1 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking toml v0.7.3 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking reqwest v0.11.16 [INFO] [stderr] Checking obkv-table-client-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/location/mod.rs:1048:17 [INFO] [stdout] | [INFO] [stdout] 1048 | let mut location = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/location/mod.rs:1048:17 [INFO] [stdout] | [INFO] [stdout] 1048 | let mut location = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 167 | .on_thread_start(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | ______________________________| [INFO] [stdout] | | [INFO] [stdout] 168 | | m.on_thread_start(); [INFO] [stdout] 169 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 170 | .on_thread_stop(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _____________________________| [INFO] [stdout] | | [INFO] [stdout] 171 | | m.on_thread_stop(); [INFO] [stdout] 172 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 173 | .on_thread_park(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _____________________________| [INFO] [stdout] | | [INFO] [stdout] 174 | | m.on_thread_park(); [INFO] [stdout] 175 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:176:44 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 176 | .on_thread_unpark(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _______________________________| [INFO] [stdout] | | [INFO] [stdout] 177 | | m.on_thread_unpark(); [INFO] [stdout] 178 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `metrics` because it is borrowed [INFO] [stdout] --> src/runtime/mod.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 167 | .on_thread_start(with_metrics(&metrics, |m| { [INFO] [stdout] | - -------- borrow of `metrics` occurs here [INFO] [stdout] | ______________________________| [INFO] [stdout] | | [INFO] [stdout] 168 | | m.on_thread_start(); [INFO] [stdout] 169 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 181 | Ok(Runtime { rt, metrics }) [INFO] [stdout] | ^^^^^^^ move out of `metrics` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 167 | .on_thread_start(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | ______________________________| [INFO] [stdout] | | [INFO] [stdout] 168 | | m.on_thread_start(); [INFO] [stdout] 169 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 170 | .on_thread_stop(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _____________________________| [INFO] [stdout] | | [INFO] [stdout] 171 | | m.on_thread_stop(); [INFO] [stdout] 172 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 173 | .on_thread_park(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _____________________________| [INFO] [stdout] | | [INFO] [stdout] 174 | | m.on_thread_park(); [INFO] [stdout] 175 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `metrics` does not live long enough [INFO] [stdout] --> src/runtime/mod.rs:176:44 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 176 | .on_thread_unpark(with_metrics(&metrics, |m| { [INFO] [stdout] | - ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] | _______________________________| [INFO] [stdout] | | [INFO] [stdout] 177 | | m.on_thread_unpark(); [INFO] [stdout] 178 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `metrics` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `metrics` because it is borrowed [INFO] [stdout] --> src/runtime/mod.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 162 | let metrics = Arc::new(RuntimeMetrics::new(&self.thread_name)); [INFO] [stdout] | ------- binding `metrics` declared here [INFO] [stdout] ... [INFO] [stdout] 167 | .on_thread_start(with_metrics(&metrics, |m| { [INFO] [stdout] | - -------- borrow of `metrics` occurs here [INFO] [stdout] | ______________________________| [INFO] [stdout] | | [INFO] [stdout] 168 | | m.on_thread_start(); [INFO] [stdout] 169 | | })) [INFO] [stdout] | |______________- argument requires that `metrics` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 181 | Ok(Runtime { rt, metrics }) [INFO] [stdout] | ^^^^^^^ move out of `metrics` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `obkv-table-client-rs` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `obkv-table-client-rs` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9ea5788ec6a09be08a21930bb5e9d2ce6b20b9af8eb27df6479629805afc8288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea5788ec6a09be08a21930bb5e9d2ce6b20b9af8eb27df6479629805afc8288", kill_on_drop: false }` [INFO] [stdout] 9ea5788ec6a09be08a21930bb5e9d2ce6b20b9af8eb27df6479629805afc8288