[INFO] fetching crate linfa-logistic 0.6.1... [INFO] checking linfa-logistic-0.6.1 against try#f82303294ca6add47eea966608ce02688928f965 for pr-107123-1 [INFO] extracting crate linfa-logistic 0.6.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate linfa-logistic 0.6.1 on toolchain f82303294ca6add47eea966608ce02688928f965 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linfa-logistic 0.6.1 [INFO] finished tweaking crates.io crate linfa-logistic 0.6.1 [INFO] tweaked toml for crates.io crate linfa-logistic 0.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate linfa-logistic 0.6.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" "+f82303294ca6add47eea966608ce02688928f965" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e19f7361bc93b6cd8583c241ea0f7b6f83d83bfeb3c03842b6ec4c3768683f5 [INFO] running `Command { std: "docker" "start" "-a" "6e19f7361bc93b6cd8583c241ea0f7b6f83d83bfeb3c03842b6ec4c3768683f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e19f7361bc93b6cd8583c241ea0f7b6f83d83bfeb3c03842b6ec4c3768683f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e19f7361bc93b6cd8583c241ea0f7b6f83d83bfeb3c03842b6ec4c3768683f5", kill_on_drop: false }` [INFO] [stdout] 6e19f7361bc93b6cd8583c241ea0f7b6f83d83bfeb3c03842b6ec4c3768683f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+f82303294ca6add47eea966608ce02688928f965" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a78d44c660d523f7fef9d5f84716668c5f70385c1a4895444204014ad1d1c3b [INFO] running `Command { std: "docker" "start" "-a" "5a78d44c660d523f7fef9d5f84716668c5f70385c1a4895444204014ad1d1c3b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.148 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling linfa v0.6.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking slog-term v2.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rmp-serde v1.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking slog-json v2.6.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking argmin v0.4.7 [INFO] [stderr] Checking linfa-datasets v0.6.1 [INFO] [stderr] Checking linfa-logistic v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `{float}: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:911:28 [INFO] [stdout] | [INFO] [stdout] 911 | assert!(actual.abs_diff_eq(exp, 1e-8)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AbsDiffEq`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{float}: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:923:30 [INFO] [stdout] | [INFO] [stdout] 923 | assert!(res.params().abs_diff_eq(&array![0.681], 1e-3)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AbsDiffEq`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{float}: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:938:30 [INFO] [stdout] | [INFO] [stdout] 938 | assert!(res.params().abs_diff_eq(&array![0.681], 1e-3)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AbsDiffEq`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{float}: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:941:14 [INFO] [stdout] | [INFO] [stdout] 941 | .abs_diff_eq(&array![0.501, 0.664, 0.335, 0.498], 1e-3)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AbsDiffEq`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{float}: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:1066:30 [INFO] [stdout] | [INFO] [stdout] 1066 | assert!(res.params().abs_diff_eq(&array![1.181], 1e-3)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AbsDiffEq`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: AbsDiffEq<<_ as RawData>::Elem>` is not satisfied [INFO] [stdout] --> src/lib.rs:1090:30 [INFO] [stdout] | [INFO] [stdout] 1090 | assert!(res.params().abs_diff_eq(&array![0.682_f32], 1e-3)); [INFO] [stdout] | ^^^^^^^^^^^ the trait `AbsDiffEq<<_ as RawData>::Elem>` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AbsDiffEq` is implemented for `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-logistic` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5a78d44c660d523f7fef9d5f84716668c5f70385c1a4895444204014ad1d1c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a78d44c660d523f7fef9d5f84716668c5f70385c1a4895444204014ad1d1c3b", kill_on_drop: false }` [INFO] [stdout] 5a78d44c660d523f7fef9d5f84716668c5f70385c1a4895444204014ad1d1c3b