[INFO] fetching crate eval-metrics 1.0.2... [INFO] checking eval-metrics-1.0.2 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] extracting crate eval-metrics 1.0.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate eval-metrics 1.0.2 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eval-metrics 1.0.2 [INFO] finished tweaking crates.io crate eval-metrics 1.0.2 [INFO] tweaked toml for crates.io crate eval-metrics 1.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ea499ce1d404300b428be7d56abe983a0f70099fe42c19941b5534ad22d3926 [INFO] running `Command { std: "docker" "start" "-a" "7ea499ce1d404300b428be7d56abe983a0f70099fe42c19941b5534ad22d3926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ea499ce1d404300b428be7d56abe983a0f70099fe42c19941b5534ad22d3926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea499ce1d404300b428be7d56abe983a0f70099fe42c19941b5534ad22d3926", kill_on_drop: false }` [INFO] [stdout] 7ea499ce1d404300b428be7d56abe983a0f70099fe42c19941b5534ad22d3926 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8979267d6653f4070be04eb97805f862d2de8ba92bc754e09d4eb2fc22c58df [INFO] running `Command { std: "docker" "start" "-a" "f8979267d6653f4070be04eb97805f862d2de8ba92bc754e09d4eb2fc22c58df", kill_on_drop: false }` [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking eval-metrics v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(mut point) = points.last_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(mut point) = points.last_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "f8979267d6653f4070be04eb97805f862d2de8ba92bc754e09d4eb2fc22c58df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8979267d6653f4070be04eb97805f862d2de8ba92bc754e09d4eb2fc22c58df", kill_on_drop: false }` [INFO] [stdout] f8979267d6653f4070be04eb97805f862d2de8ba92bc754e09d4eb2fc22c58df [INFO] checking eval-metrics-1.0.2 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] extracting crate eval-metrics 1.0.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate eval-metrics 1.0.2 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eval-metrics 1.0.2 [INFO] finished tweaking crates.io crate eval-metrics 1.0.2 [INFO] tweaked toml for crates.io crate eval-metrics 1.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8023d6364455ea87ab19f276b73adfcca90a57bedce13afaf3f02c413961064 [INFO] running `Command { std: "docker" "start" "-a" "e8023d6364455ea87ab19f276b73adfcca90a57bedce13afaf3f02c413961064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8023d6364455ea87ab19f276b73adfcca90a57bedce13afaf3f02c413961064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8023d6364455ea87ab19f276b73adfcca90a57bedce13afaf3f02c413961064", kill_on_drop: false }` [INFO] [stdout] e8023d6364455ea87ab19f276b73adfcca90a57bedce13afaf3f02c413961064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fe72e964b1567864ab45104dab17883e5b3fdb48fc83c6380392be395599101 [INFO] running `Command { std: "docker" "start" "-a" "6fe72e964b1567864ab45104dab17883e5b3fdb48fc83c6380392be395599101", kill_on_drop: false }` [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking eval-metrics v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(mut point) = points.last_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1099:9 [INFO] [stdout] | [INFO] [stdout] 1099 | assert_approx_eq!(roc.points[0].tp_rate, 1.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1099:9 [INFO] [stdout] | [INFO] [stdout] 1099 | assert_approx_eq!(roc.points[0].tp_rate, 1.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_approx_eq!(roc.points[0].fp_rate, 0.2857142857142857); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_approx_eq!(roc.points[0].fp_rate, 0.2857142857142857); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1101:9 [INFO] [stdout] | [INFO] [stdout] 1101 | assert_approx_eq!(roc.points[0].threshold, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1101:9 [INFO] [stdout] | [INFO] [stdout] 1101 | assert_approx_eq!(roc.points[0].threshold, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | assert_approx_eq!(roc.points[1].tp_rate, 2.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | assert_approx_eq!(roc.points[1].tp_rate, 2.0 / 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1103:9 [INFO] [stdout] | [INFO] [stdout] 1103 | assert_approx_eq!(roc.points[1].fp_rate, 0.42857142857142855); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1103:9 [INFO] [stdout] | [INFO] [stdout] 1103 | assert_approx_eq!(roc.points[1].fp_rate, 0.42857142857142855); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | assert_approx_eq!(roc.points[1].threshold, 0.9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | assert_approx_eq!(roc.points[1].threshold, 0.9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | assert_approx_eq!(roc.points[2].tp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | assert_approx_eq!(roc.points[2].tp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | assert_approx_eq!(roc.points[2].fp_rate, 0.42857142857142855); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | assert_approx_eq!(roc.points[2].fp_rate, 0.42857142857142855); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1107:9 [INFO] [stdout] | [INFO] [stdout] 1107 | assert_approx_eq!(roc.points[2].threshold, 0.8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1107:9 [INFO] [stdout] | [INFO] [stdout] 1107 | assert_approx_eq!(roc.points[2].threshold, 0.8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1108 | assert_approx_eq!(roc.points[3].tp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1108 | assert_approx_eq!(roc.points[3].tp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | assert_approx_eq!(roc.points[3].fp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1109 | assert_approx_eq!(roc.points[3].fp_rate, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1110 | assert_approx_eq!(roc.points[3].threshold, 0.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1110:9 [INFO] [stdout] | [INFO] [stdout] 1110 | assert_approx_eq!(roc.points[3].threshold, 0.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1166:9 [INFO] [stdout] | [INFO] [stdout] 1166 | assert_approx_eq!(RocCurve::compute(&scores2, &labels2).unwrap().auc(), 0.625); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1166:9 [INFO] [stdout] | [INFO] [stdout] 1166 | assert_approx_eq!(RocCurve::compute(&scores2, &labels2).unwrap().auc(), 0.625); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1175:9 [INFO] [stdout] | [INFO] [stdout] 1175 | assert_approx_eq!(RocCurve::compute(&scores, &labels1).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1175:9 [INFO] [stdout] | [INFO] [stdout] 1175 | assert_approx_eq!(RocCurve::compute(&scores, &labels1).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1176:9 [INFO] [stdout] | [INFO] [stdout] 1176 | assert_approx_eq!(RocCurve::compute(&scores, &labels2).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1176:9 [INFO] [stdout] | [INFO] [stdout] 1176 | assert_approx_eq!(RocCurve::compute(&scores, &labels2).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_approx_eq!(RocCurve::compute(&scores, &labels3).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_approx_eq!(RocCurve::compute(&scores, &labels3).unwrap().auc(), 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_approx_eq!(RocCurve::compute(&scores2, &labels4).unwrap().auc(), 0.6904761904761905); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_approx_eq!(RocCurve::compute(&scores2, &labels4).unwrap().auc(), 0.6904761904761905); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1243:9 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_approx_eq!(PrCurve::compute(&scores2, &labels2).unwrap().ap(), 0.58333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1243:9 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_approx_eq!(PrCurve::compute(&scores2, &labels2).unwrap().ap(), 0.58333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | assert_approx_eq!(PrCurve::compute(&scores, &labels1).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | assert_approx_eq!(PrCurve::compute(&scores, &labels1).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1253:9 [INFO] [stdout] | [INFO] [stdout] 1253 | assert_approx_eq!(PrCurve::compute(&scores, &labels2).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1253:9 [INFO] [stdout] | [INFO] [stdout] 1253 | assert_approx_eq!(PrCurve::compute(&scores, &labels2).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1254:9 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_approx_eq!(PrCurve::compute(&scores, &labels3).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/classification.rs:1254:9 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_approx_eq!(PrCurve::compute(&scores, &labels3).unwrap().ap(), 0.7333333333333); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | assert_approx_eq!(mse(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | assert_approx_eq!(mse(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:211:66 [INFO] [stdout] | [INFO] [stdout] 211 | assert_approx_eq!(rmse(&scores, &labels).unwrap(), 0.035.sqrt()) [INFO] [stdout] | ^^^^ multiple `sqrt` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | assert_approx_eq!(rmse(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | assert_approx_eq!(rmse(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | assert_approx_eq!(mae(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/regression.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | assert_approx_eq!(mae(&vec![1.0; 10], &vec![1.0; 10]).unwrap(), 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `abs` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `assert_approx_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(mut point) = points.last_mut() { [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/classification.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(mut point) = points.last_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eval-metrics` (lib test) due to 50 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fe72e964b1567864ab45104dab17883e5b3fdb48fc83c6380392be395599101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe72e964b1567864ab45104dab17883e5b3fdb48fc83c6380392be395599101", kill_on_drop: false }` [INFO] [stdout] 6fe72e964b1567864ab45104dab17883e5b3fdb48fc83c6380392be395599101