[INFO] cloning repository https://github.com/jyasuu/esctl
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jyasuu/esctl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fesctl"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fesctl'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f1bb65d3454dbc30e2e5606ac6b34672c2ec61c1
[INFO] testing jyasuu/esctl against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fesctl" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jyasuu/esctl
[INFO] finished tweaking git repo https://github.com/jyasuu/esctl
[INFO] tweaked toml for git repo https://github.com/jyasuu/esctl written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jyasuu/esctl on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jyasuu/esctl already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00
[INFO] running `"docker" "start" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00"`
[INFO] running `"docker" "inspect" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling indexmap v2.13.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]    Compiling crossterm v0.26.1
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling clap_builder v4.4.18
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling linux-keyutils v0.2.5
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling indicatif v0.17.6
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.51
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]    Compiling keyring v2.3.2
[INFO] [stderr]    Compiling comfy-table v7.0.1
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling colored v2.0.4
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling clap v4.4.18
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling colored_json v3.2.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling esctl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/cli/index.rs:391:21
[INFO] [stdout]     |
[INFO] [stdout] 389 |       let (settings_resp, mapping_resp) = tokio::try_join!(
[INFO] [stdout]     |  _________________________________________-
[INFO] [stdout] 390 | |         client.get(&format!("/{}/_settings", name)),
[INFO] [stdout] 391 | |         client.get(&format!("/{}/_mapping", name)),
[INFO] [stdout]     | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] 392 | |     )?;
[INFO] [stdout]     | |     -
[INFO] [stdout]     | |     |
[INFO] [stdout]     | |_____temporary value is freed at the end of this statement
[INFO] [stdout]     |       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/cli/index.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 389 |       let (settings_resp, mapping_resp) = tokio::try_join!(
[INFO] [stdout]     |  _________________________________________-
[INFO] [stdout] 390 | |         client.get(&format!("/{}/_settings", name)),
[INFO] [stdout]     | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] 391 | |         client.get(&format!("/{}/_mapping", name)),
[INFO] [stdout] 392 | |     )?;
[INFO] [stdout]     | |     -
[INFO] [stdout]     | |     |
[INFO] [stdout]     | |_____temporary value is freed at the end of this statement
[INFO] [stdout]     |       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/stdin.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, BufRead, Read};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]    --> src/cli/document.rs:562:24
[INFO] [stdout]     |
[INFO] [stdout] 562 |     client: &EsClient, cfg: &AppConfig,
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/cli/search.rs:951:26
[INFO] [stdout]     |
[INFO] [stdout] 950 |     let get_source = |h: &Value| -> &Value {
[INFO] [stdout]     |                          -          - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          let's call the lifetime of this reference `'1`
[INFO] [stdout] 951 |         if source_only { h } else { &h["_source"] }
[INFO] [stdout]     |                          ^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `esctl` (bin "esctl") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: unused dependency `colored_json`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | colored_json = "=3.2.0"
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `colored_json`
[INFO] [stderr] warning: unused dependency `indexmap`
[INFO] [stderr]   --> Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | indexmap = "=1.9.3"
[INFO] [stderr]    | ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `indexmap`
[INFO] [stderr] warning: unused dependency `thiserror`
[INFO] [stderr]   --> Cargo.toml:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | thiserror = "=1.0.51"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `thiserror`
[INFO] [stderr] warning: `esctl` (manifest) generated 3 warnings
[INFO] running `"docker" "inspect" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00"`
[INFO] running `"docker" "rm" "-f" "0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00"`
[INFO] [stdout] 0271c4f5483523f0c00a569b9c583434d8ea22a7f4cb359eea62f2b58b08fb00
