[INFO] fetching crate xgboost 0.1.4... [INFO] checking xgboost-0.1.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate xgboost 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate xgboost 0.1.4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xgboost 0.1.4 [INFO] finished tweaking crates.io crate xgboost 0.1.4 [INFO] tweaked toml for crates.io crate xgboost 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bindgen v0.36.1 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cexpr v0.2.3 (latest: v0.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clang-sys v0.22.0 (latest: v1.7.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding derive_builder v0.5.1 (latest: v0.20.0) [INFO] [stderr] Adding derive_builder_core v0.2.0 (latest: v0.20.0) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.3) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding memchr v1.0.2 (latest: v2.7.2) [INFO] [stderr] Adding nom v3.2.1 (latest: v7.1.3) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding proc-macro2 v0.3.5 (latest: v1.0.79) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.35) [INFO] [stderr] Adding quote v0.5.2 (latest: v1.0.35) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.4) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding which v1.0.5 (latest: v6.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded cexpr v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v0.3.5 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded derive_builder_core v0.2.0 [INFO] [stderr] Downloaded derive_builder v0.5.1 [INFO] [stderr] Downloaded bindgen v0.36.1 [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded xgboost-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f95f0ae60be22cd729d9606fe27905b560af0d27dcc069e8ca044848ff59638 [INFO] running `Command { std: "docker" "start" "-a" "2f95f0ae60be22cd729d9606fe27905b560af0d27dcc069e8ca044848ff59638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f95f0ae60be22cd729d9606fe27905b560af0d27dcc069e8ca044848ff59638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f95f0ae60be22cd729d9606fe27905b560af0d27dcc069e8ca044848ff59638", kill_on_drop: false }` [INFO] [stdout] 2f95f0ae60be22cd729d9606fe27905b560af0d27dcc069e8ca044848ff59638 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8698d2d029c8fa343fcca3340190609e84fff801aeece7b7a0012da25b7d05c [INFO] running `Command { std: "docker" "start" "-a" "d8698d2d029c8fa343fcca3340190609e84fff801aeece7b7a0012da25b7d05c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.36.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rustix v0.38.32 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling xgboost-sys v0.1.2 [INFO] [stderr] Checking xgboost v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/booster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/booster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/booster.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/parameters/learning.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/parameters/booster.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/booster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/booster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/parameters/learning.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/parameters/booster.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/booster.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut eval_results = dmat_eval_results.entry(eval_name.to_string()) [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/booster.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dmat_results = eval_dmat_results.entry(eval_name).or_insert_with(BTreeMap::new); [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/booster.rs:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | let mut metric_map = result.entry(evname.to_string()).or_insert_with(IndexMap::new); [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/booster.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut eval_results = dmat_eval_results.entry(eval_name.to_string()) [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/booster.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dmat_results = eval_dmat_results.entry(eval_name).or_insert_with(BTreeMap::new); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] 34 + _ => panic!("unexpected return value '{}', expected 0 or -1", ret_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/booster.rs:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | let mut metric_map = result.entry(evname.to_string()).or_insert_with(IndexMap::new); [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/booster.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let mut dir = tempfile::tempdir().expect("create temp dir"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] 34 + _ => panic!("unexpected return value '{}', expected 0 or -1", ret_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "d8698d2d029c8fa343fcca3340190609e84fff801aeece7b7a0012da25b7d05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8698d2d029c8fa343fcca3340190609e84fff801aeece7b7a0012da25b7d05c", kill_on_drop: false }` [INFO] [stdout] d8698d2d029c8fa343fcca3340190609e84fff801aeece7b7a0012da25b7d05c [INFO] checking xgboost-0.1.4 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate xgboost 0.1.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate xgboost 0.1.4 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xgboost 0.1.4 [INFO] finished tweaking crates.io crate xgboost 0.1.4 [INFO] tweaked toml for crates.io crate xgboost 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4cbe50443db0612e431d4ee9369cd34762b8380535bbc1146b43ff04d776435 [INFO] running `Command { std: "docker" "start" "-a" "d4cbe50443db0612e431d4ee9369cd34762b8380535bbc1146b43ff04d776435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4cbe50443db0612e431d4ee9369cd34762b8380535bbc1146b43ff04d776435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4cbe50443db0612e431d4ee9369cd34762b8380535bbc1146b43ff04d776435", kill_on_drop: false }` [INFO] [stdout] d4cbe50443db0612e431d4ee9369cd34762b8380535bbc1146b43ff04d776435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec5604f3dc772ade3d252ce7e33887b1d6cd7fdea4628c8637156b62a449480 [INFO] running `Command { std: "docker" "start" "-a" "dec5604f3dc772ade3d252ce7e33887b1d6cd7fdea4628c8637156b62a449480", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling bindgen v0.36.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rustix v0.38.32 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling xgboost-sys v0.1.2 [INFO] [stderr] Checking xgboost v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/booster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/booster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/booster.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/parameters/learning.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/parameters/booster.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/dmatrix.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern crate tempfile; [INFO] [stdout] | ---------------------- the item `tempfile` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/booster.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xgboost_sys` is imported redundantly [INFO] [stdout] --> src/booster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use xgboost_sys; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern crate xgboost_sys; [INFO] [stdout] | ------------------------- the item `xgboost_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/parameters/learning.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/parameters/booster.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/booster.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut eval_results = dmat_eval_results.entry(eval_name.to_string()) [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/booster.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dmat_results = eval_dmat_results.entry(eval_name).or_insert_with(BTreeMap::new); [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/booster.rs:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | let mut metric_map = result.entry(evname.to_string()).or_insert_with(IndexMap::new); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] 34 + _ => panic!("unexpected return value '{}', expected 0 or -1", ret_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/booster.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut eval_results = dmat_eval_results.entry(eval_name.to_string()) [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/booster.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let mut dmat_results = eval_dmat_results.entry(eval_name).or_insert_with(BTreeMap::new); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/booster.rs:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | let mut metric_map = result.entry(evname.to_string()).or_insert_with(IndexMap::new); [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/booster.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let mut dir = tempfile::tempdir().expect("create temp dir"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - _ => panic!(format!("unexpected return value '{}', expected 0 or -1", ret_val)), [INFO] [stdout] 34 + _ => panic!("unexpected return value '{}', expected 0 or -1", ret_val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 33s [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "dec5604f3dc772ade3d252ce7e33887b1d6cd7fdea4628c8637156b62a449480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec5604f3dc772ade3d252ce7e33887b1d6cd7fdea4628c8637156b62a449480", kill_on_drop: false }` [INFO] [stdout] dec5604f3dc772ade3d252ce7e33887b1d6cd7fdea4628c8637156b62a449480