[INFO] fetching crate smartcore 0.4.2... [INFO] building smartcore-0.4.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-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 d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07e9d505b80697de2ffa7f0bf7e62935e1571e1c333925b99470eb37218b6812 [INFO] running `Command { std: "docker" "start" "-a" "07e9d505b80697de2ffa7f0bf7e62935e1571e1c333925b99470eb37218b6812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07e9d505b80697de2ffa7f0bf7e62935e1571e1c333925b99470eb37218b6812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e9d505b80697de2ffa7f0bf7e62935e1571e1c333925b99470eb37218b6812", kill_on_drop: false }` [INFO] [stdout] 07e9d505b80697de2ffa7f0bf7e62935e1571e1c333925b99470eb37218b6812 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f5ac7c58516a937ed967f50530a466dd96971f30ddb8cf9e4bf7fbc0e2e1ae [INFO] running `Command { std: "docker" "start" "-a" "d4f5ac7c58516a937ed967f50530a466dd96971f30ddb8cf9e4bf7fbc0e2e1ae", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "d4f5ac7c58516a937ed967f50530a466dd96971f30ddb8cf9e4bf7fbc0e2e1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f5ac7c58516a937ed967f50530a466dd96971f30ddb8cf9e4bf7fbc0e2e1ae", kill_on_drop: false }` [INFO] [stdout] d4f5ac7c58516a937ed967f50530a466dd96971f30ddb8cf9e4bf7fbc0e2e1ae [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f395cbe94386855c632cd80ce24429dc2fb01b5c749f995ee2c0b9a8c2d71e56 [INFO] running `Command { std: "docker" "start" "-a" "f395cbe94386855c632cd80ce24429dc2fb01b5c749f995ee2c0b9a8c2d71e56", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 44.45s [INFO] running `Command { std: "docker" "inspect" "f395cbe94386855c632cd80ce24429dc2fb01b5c749f995ee2c0b9a8c2d71e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f395cbe94386855c632cd80ce24429dc2fb01b5c749f995ee2c0b9a8c2d71e56", kill_on_drop: false }` [INFO] [stdout] f395cbe94386855c632cd80ce24429dc2fb01b5c749f995ee2c0b9a8c2d71e56