[INFO] cloning repository https://github.com/sahilgoel1610/elasticsearch-stress-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sahilgoel1610/elasticsearch-stress-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilgoel1610%2Felasticsearch-stress-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilgoel1610%2Felasticsearch-stress-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f58dfbf0c2f30af32d48238dbb4f69a264f6cba1 [INFO] testing sahilgoel1610/elasticsearch-stress-test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilgoel1610%2Felasticsearch-stress-test" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sahilgoel1610/elasticsearch-stress-test on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sahilgoel1610/elasticsearch-stress-test [INFO] finished tweaking git repo https://github.com/sahilgoel1610/elasticsearch-stress-test [INFO] tweaked toml for git repo https://github.com/sahilgoel1610/elasticsearch-stress-test written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/sahilgoel1610/elasticsearch-stress-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cef147a4fdac7603987e5f04ae25b6baf539e6fc8d7574b5bcaf3991f3129d1 [INFO] running `Command { std: "docker" "start" "-a" "0cef147a4fdac7603987e5f04ae25b6baf539e6fc8d7574b5bcaf3991f3129d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cef147a4fdac7603987e5f04ae25b6baf539e6fc8d7574b5bcaf3991f3129d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cef147a4fdac7603987e5f04ae25b6baf539e6fc8d7574b5bcaf3991f3129d1", kill_on_drop: false }` [INFO] [stdout] 0cef147a4fdac7603987e5f04ae25b6baf539e6fc8d7574b5bcaf3991f3129d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55cca0636d5cb4fd1a067891b9cb5cf0fa369090745095eaf9db1df8e3e829f9 [INFO] running `Command { std: "docker" "start" "-a" "55cca0636d5cb4fd1a067891b9cb5cf0fa369090745095eaf9db1df8e3e829f9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling tokio-sync v0.1.1 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.9 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.15 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hyper v0.12.23 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.9 [INFO] [stderr] Compiling elasticsearch-stree-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn main() -> Result<(), Box> { [INFO] [stdout] 56 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let ind = thread_rng().choose(&indices).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | let templ = rng.choose(&templates).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut config = Config { [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/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut created_indicies: Vec; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let mut ind = generate_random_string(15).to_lowercase(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut res = client.put(p_url.unwrap()).json(&new_post).send(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | Ok(mut resp) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.25s [INFO] running `Command { std: "docker" "inspect" "55cca0636d5cb4fd1a067891b9cb5cf0fa369090745095eaf9db1df8e3e829f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cca0636d5cb4fd1a067891b9cb5cf0fa369090745095eaf9db1df8e3e829f9", kill_on_drop: false }` [INFO] [stdout] 55cca0636d5cb4fd1a067891b9cb5cf0fa369090745095eaf9db1df8e3e829f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 022b2b88748c5ba0dd2165d65d03f18def5ffebbc84f45928e082457d5bb5bb3 [INFO] running `Command { std: "docker" "start" "-a" "022b2b88748c5ba0dd2165d65d03f18def5ffebbc84f45928e082457d5bb5bb3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling elasticsearch-stree-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn main() -> Result<(), Box> { [INFO] [stdout] 56 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let ind = thread_rng().choose(&indices).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | let templ = rng.choose(&templates).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut config = Config { [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/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut created_indicies: Vec; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let mut ind = generate_random_string(15).to_lowercase(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut res = client.put(p_url.unwrap()).json(&new_post).send(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | Ok(mut resp) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "022b2b88748c5ba0dd2165d65d03f18def5ffebbc84f45928e082457d5bb5bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022b2b88748c5ba0dd2165d65d03f18def5ffebbc84f45928e082457d5bb5bb3", kill_on_drop: false }` [INFO] [stdout] 022b2b88748c5ba0dd2165d65d03f18def5ffebbc84f45928e082457d5bb5bb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cac33d6e1966489965310036e9d465b161dbc08f89b7a1741ebf17f45caa5683 [INFO] running `Command { std: "docker" "start" "-a" "cac33d6e1966489965310036e9d465b161dbc08f89b7a1741ebf17f45caa5683", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn main() -> Result<(), Box> { [INFO] [stderr] 56 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stderr] --> src/main.rs:328:28 [INFO] [stderr] | [INFO] [stderr] 328 | let ind = thread_rng().choose(&indices).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stderr] --> src/main.rs:333:36 [INFO] [stderr] | [INFO] [stderr] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead [INFO] [stderr] --> src/main.rs:352:25 [INFO] [stderr] | [INFO] [stderr] 352 | let templ = rng.choose(&templates).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | let mut config = Config { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:223:9 [INFO] [stderr] | [INFO] [stderr] 223 | let mut created_indicies: Vec; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:292:13 [INFO] [stderr] | [INFO] [stderr] 292 | let mut ind = generate_random_string(15).to_lowercase(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:307:13 [INFO] [stderr] | [INFO] [stderr] 307 | let mut res = client.put(p_url.unwrap()).json(&new_post).send(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | Ok(mut resp) => { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:333:13 [INFO] [stderr] | [INFO] [stderr] 333 | let mut doc = thread_rng().choose(&documents).unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `elasticsearch-stree-test` (bin "elasticsearch-stree-test" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/elasticsearch_stree_test-3ac8b8df862c70d2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cac33d6e1966489965310036e9d465b161dbc08f89b7a1741ebf17f45caa5683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac33d6e1966489965310036e9d465b161dbc08f89b7a1741ebf17f45caa5683", kill_on_drop: false }` [INFO] [stdout] cac33d6e1966489965310036e9d465b161dbc08f89b7a1741ebf17f45caa5683