[INFO] fetching crate krcflib 4.0.1... [INFO] checking krcflib-4.0.1 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate krcflib 4.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate krcflib 4.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate krcflib 4.0.1 [INFO] tweaked toml for crates.io crate krcflib 4.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate krcflib 4.0.1 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate krcflib 4.0.1 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parameterized_test v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da9783444dc7c21bde16ec7958aa52fd763a83b9ebc6e5c33aab19702f156e7f [INFO] running `Command { std: "docker" "start" "-a" "da9783444dc7c21bde16ec7958aa52fd763a83b9ebc6e5c33aab19702f156e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da9783444dc7c21bde16ec7958aa52fd763a83b9ebc6e5c33aab19702f156e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da9783444dc7c21bde16ec7958aa52fd763a83b9ebc6e5c33aab19702f156e7f", kill_on_drop: false }` [INFO] [stdout] da9783444dc7c21bde16ec7958aa52fd763a83b9ebc6e5c33aab19702f156e7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed647f9584b640b9de5d22b61bd38a3fec5052cb7b4e2588814ed36589c4f6ff [INFO] running `Command { std: "docker" "start" "-a" "ed647f9584b640b9de5d22b61bd38a3fec5052cb7b4e2588814ed36589c4f6ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking parameterized_test v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking krcflib v4.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(&x, &y)| (abs(x as f64 - y as f64) * abs(x as f64 - y as f64))) [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] 39 - .map(|(&x, &y)| (abs(x as f64 - y as f64) * abs(x as f64 - y as f64))) [INFO] [stdout] 39 + .map(|(&x, &y)| abs(x as f64 - y as f64) * abs(x as f64 - y as f64) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|(&x, &y)| (abs(x as f64 - y as f64) * abs(x as f64 - y as f64))) [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] 39 - .map(|(&x, &y)| (abs(x as f64 - y as f64) * abs(x as f64 - y as f64))) [INFO] [stdout] 39 + .map(|(&x, &y)| abs(x as f64 - y as f64) * abs(x as f64 - y as f64) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/example.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [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] 68 - .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [INFO] [stdout] 68 + .map(|(x, y)| (x - y) as f64 * (x - y) as f64 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> tests/anomalydetectionimputescoreupdate.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [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] 72 - .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [INFO] [stdout] 72 + .map(|(x, y)| (x - y) as f64 * (x - y) as f64 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/example.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [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] 68 - .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [INFO] [stdout] 68 + .map(|(x, y)| (x - y) as f64 * (x - y) as f64 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> tests/imputedifferentperiod.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [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] 70 - .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [INFO] [stdout] 70 + .map(|(x, y)| (x - y) as f64 * (x - y) as f64 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> tests/imputesameperiod.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [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] 71 - .map(|(x, y)| ((x - y) as f64 * (x - y) as f64)) [INFO] [stdout] 71 + .map(|(x, y)| (x - y) as f64 * (x - y) as f64 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.78s [INFO] running `Command { std: "docker" "inspect" "ed647f9584b640b9de5d22b61bd38a3fec5052cb7b4e2588814ed36589c4f6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed647f9584b640b9de5d22b61bd38a3fec5052cb7b4e2588814ed36589c4f6ff", kill_on_drop: false }` [INFO] [stdout] ed647f9584b640b9de5d22b61bd38a3fec5052cb7b4e2588814ed36589c4f6ff