[INFO] fetching crate influx_db_client 0.5.1... [INFO] checking influx_db_client-0.5.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate influx_db_client 0.5.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate influx_db_client 0.5.1 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 influx_db_client 0.5.1 [INFO] finished tweaking crates.io crate influx_db_client 0.5.1 [INFO] tweaked toml for crates.io crate influx_db_client 0.5.1 written to /workspace/builds/worker-3-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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 260ee146c85364ffa84f3982177e6d39e0e4f5aecff587ab3242b57c885dc811 [INFO] running `Command { std: "docker" "start" "-a" "260ee146c85364ffa84f3982177e6d39e0e4f5aecff587ab3242b57c885dc811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "260ee146c85364ffa84f3982177e6d39e0e4f5aecff587ab3242b57c885dc811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260ee146c85364ffa84f3982177e6d39e0e4f5aecff587ab3242b57c885dc811", kill_on_drop: false }` [INFO] [stdout] 260ee146c85364ffa84f3982177e6d39e0e4f5aecff587ab3242b57c885dc811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 00c073048c7242d35aaf782df0fdf118c6799da714e76ece06a8c9601af92f1b [INFO] running `Command { std: "docker" "start" "-a" "00c073048c7242d35aaf782df0fdf118c6799da714e76ece06a8c9601af92f1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking influx_db_client v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 196 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 202 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 196 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 202 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 206 | let sql = format!("Create database {}", serialization::quote_ident(dbname)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 207 | [INFO] [stdout] 208 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 209 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 206 | let sql = format!("Create database {}", serialization::quote_ident(dbname)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 207 | [INFO] [stdout] 208 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 209 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 213 | let sql = format!("Drop database {}", serialization::quote_ident(dbname)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 214 | [INFO] [stdout] 215 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 216 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 213 | let sql = format!("Drop database {}", serialization::quote_ident(dbname)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 214 | [INFO] [stdout] 215 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 216 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 225 | let sql: String = { [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 241 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 242 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 225 | let sql: String = { [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 241 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 242 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 246 | let sql = format!("Drop user {}", serialization::quote_ident(user)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 247 | [INFO] [stdout] 248 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 249 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 246 | let sql = format!("Drop user {}", serialization::quote_ident(user)); [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] 247 | [INFO] [stdout] 248 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 249 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 257 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 263 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 264 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 257 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 263 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 264 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 271 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 276 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 277 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 271 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 276 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 277 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 284 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 289 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 290 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 284 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 289 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 290 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 301 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 308 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 309 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 301 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 308 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 309 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 320 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 328 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 320 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 327 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 328 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 353 | let sql: String = { [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 373 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 374 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 353 | let sql: String = { [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 373 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 374 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 390 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 396 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 397 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sql` does not live long enough [INFO] [stdout] --> src/client.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 390 | let sql = format!( [INFO] [stdout] | --- binding `sql` declared here [INFO] [stdout] ... [INFO] [stdout] 396 | self.query_raw(&sql, None).map_ok(|_| ()) [INFO] [stdout] | ---------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sql` is borrowed for `'static` [INFO] [stdout] 397 | } [INFO] [stdout] | - `sql` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `influx_db_client` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `influx_db_client` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "00c073048c7242d35aaf782df0fdf118c6799da714e76ece06a8c9601af92f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c073048c7242d35aaf782df0fdf118c6799da714e76ece06a8c9601af92f1b", kill_on_drop: false }` [INFO] [stdout] 00c073048c7242d35aaf782df0fdf118c6799da714e76ece06a8c9601af92f1b