[INFO] fetching crate smartcore 0.4.2... [INFO] checking smartcore-0.4.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate smartcore 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate smartcore 0.4.2 [INFO] finished tweaking crates.io crate smartcore 0.4.2 [INFO] tweaked toml for crates.io crate smartcore 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smartcore 0.4.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate smartcore 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63411de6297f04d3cc324428f120163c1793b25ef2c136c3b69491f647eb2e3a [INFO] running `Command { std: "docker" "start" "-a" "63411de6297f04d3cc324428f120163c1793b25ef2c136c3b69491f647eb2e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63411de6297f04d3cc324428f120163c1793b25ef2c136c3b69491f647eb2e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63411de6297f04d3cc324428f120163c1793b25ef2c136c3b69491f647eb2e3a", kill_on_drop: false }` [INFO] [stdout] 63411de6297f04d3cc324428f120163c1793b25ef2c136c3b69491f647eb2e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 324ef5ebd35bda467d4b53b167eaf3226c3da33ce9dce254f5d31bcb681c74df [INFO] running `Command { std: "docker" "start" "-a" "324ef5ebd35bda467d4b53b167eaf3226c3da33ce9dce254f5d31bcb681c74df", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking smartcore v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | f: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - f: &(dyn Fn(T) -> T), [INFO] [stdout] 9 + f: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | df: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - df: &(dyn Fn(T) -> T), [INFO] [stdout] 10 + df: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | f: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - f: &(dyn Fn(T) -> T), [INFO] [stdout] 58 + f: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | _: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - _: &(dyn Fn(T) -> T), [INFO] [stdout] 59 + _: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/xgboost/xgb_regressor.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | .map(|(true_val, pred_val)| (*pred_val - true_val.to_f64().unwrap())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - .map(|(true_val, pred_val)| (*pred_val - true_val.to_f64().unwrap())) [INFO] [stdout] 99 + .map(|(true_val, pred_val)| *pred_val - true_val.to_f64().unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | f: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - f: &(dyn Fn(T) -> T), [INFO] [stdout] 9 + f: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | df: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - df: &(dyn Fn(T) -> T), [INFO] [stdout] 10 + df: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | f: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - f: &(dyn Fn(T) -> T), [INFO] [stdout] 58 + f: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/optimization/line_search.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | _: &(dyn Fn(T) -> T), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - _: &(dyn Fn(T) -> T), [INFO] [stdout] 59 + _: &dyn Fn(T) -> T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/xgboost/xgb_regressor.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | .map(|(true_val, pred_val)| (*pred_val - true_val.to_f64().unwrap())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - .map(|(true_val, pred_val)| (*pred_val - true_val.to_f64().unwrap())) [INFO] [stdout] 99 + .map(|(true_val, pred_val)| *pred_val - true_val.to_f64().unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quick_argsort_mut` is never used [INFO] [stdout] --> src/algorithm/sort/quick_sort.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait QuickArgSort { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn quick_argsort_mut(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.88s [INFO] running `Command { std: "docker" "inspect" "324ef5ebd35bda467d4b53b167eaf3226c3da33ce9dce254f5d31bcb681c74df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324ef5ebd35bda467d4b53b167eaf3226c3da33ce9dce254f5d31bcb681c74df", kill_on_drop: false }` [INFO] [stdout] 324ef5ebd35bda467d4b53b167eaf3226c3da33ce9dce254f5d31bcb681c74df