[INFO] fetching crate linfa-logistic 0.7.1... [INFO] testing linfa-logistic-0.7.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate linfa-logistic 0.7.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate linfa-logistic 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate linfa-logistic 0.7.1 [INFO] tweaked toml for crates.io crate linfa-logistic 0.7.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linfa-logistic 0.7.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linfa-logistic 0.7.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf7c77d33005641082bc9171ef78fc0e24a5b5332f483959a61e0b55b646b51a [INFO] running `Command { std: "docker" "start" "-a" "cf7c77d33005641082bc9171ef78fc0e24a5b5332f483959a61e0b55b646b51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf7c77d33005641082bc9171ef78fc0e24a5b5332f483959a61e0b55b646b51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7c77d33005641082bc9171ef78fc0e24a5b5332f483959a61e0b55b646b51a", kill_on_drop: false }` [INFO] [stdout] cf7c77d33005641082bc9171ef78fc0e24a5b5332f483959a61e0b55b646b51a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5c45e556c38a5f4ee280abf632212d491b5027c73884822c848f56746a1f397 [INFO] running `Command { std: "docker" "start" "-a" "b5c45e556c38a5f4ee280abf632212d491b5027c73884822c848f56746a1f397", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling linfa v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling sprs v0.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling argmin-math v0.3.0 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling argmin v0.9.0 [INFO] [stderr] Compiling linfa-logistic v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | w: &Array, [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 396 | ) -> (ArrayView, CowArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | ) -> (ArrayView<'_, F, D>, CowArray<'_, F, D::Smaller>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.26s [INFO] running `Command { std: "docker" "inspect" "b5c45e556c38a5f4ee280abf632212d491b5027c73884822c848f56746a1f397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c45e556c38a5f4ee280abf632212d491b5027c73884822c848f56746a1f397", kill_on_drop: false }` [INFO] [stdout] b5c45e556c38a5f4ee280abf632212d491b5027c73884822c848f56746a1f397 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07f843e65fd6933d0604733cd4528e3c9abfe69e501943ae44c4597262580eb [INFO] running `Command { std: "docker" "start" "-a" "e07f843e65fd6933d0604733cd4528e3c9abfe69e501943ae44c4597262580eb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | w: &Array, [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 396 | ) -> (ArrayView, CowArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | ) -> (ArrayView<'_, F, D>, CowArray<'_, F, D::Smaller>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling ndarray-csv v0.5.1 [INFO] [stderr] Compiling linfa-datasets v0.7.1 [INFO] [stderr] Compiling linfa-logistic v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | w: &Array, [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 396 | ) -> (ArrayView, CowArray) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | ) -> (ArrayView<'_, F, D>, CowArray<'_, F, D::Smaller>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.87s [INFO] running `Command { std: "docker" "inspect" "e07f843e65fd6933d0604733cd4528e3c9abfe69e501943ae44c4597262580eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07f843e65fd6933d0604733cd4528e3c9abfe69e501943ae44c4597262580eb", kill_on_drop: false }` [INFO] [stdout] e07f843e65fd6933d0604733cd4528e3c9abfe69e501943ae44c4597262580eb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca3b34a88d3955b6529b7643a541fc73cd4244d5df9743db9c4872a380182fab [INFO] running `Command { std: "docker" "start" "-a" "ca3b34a88d3955b6529b7643a541fc73cd4244d5df9743db9c4872a380182fab", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:395:8 [INFO] [stderr] | [INFO] [stderr] 395 | w: &Array, [INFO] [stderr] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 396 | ) -> (ArrayView, CowArray) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 396 | ) -> (ArrayView<'_, F, D>, CowArray<'_, F, D::Smaller>) { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: `linfa-logistic` (lib) generated 1 warning (run `cargo fix --lib -p linfa-logistic` to apply 1 suggestion) [INFO] [stderr] warning: `linfa-logistic` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linfa_logistic-e6e1069185302aa6) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test test::reject_num_class_mismatch ... ok [INFO] [stdout] test test::rejects_inf_values ... ok [INFO] [stdout] test test::rejects_mismatching_x_y ... ok [INFO] [stdout] test test::autotraits ... ok [INFO] [stdout] test test::simple_example_1 ... ok [INFO] [stdout] test test::simple_example_1_cats_dogs ... ok [INFO] [stdout] test test::simple_example_2 ... ok [INFO] [stdout] test test::test_logistic_grad ... ok [INFO] [stdout] test test::test_logistic_loss ... ok [INFO] [stdout] test test::simple_example_3 ... ok [INFO] [stdout] test test::test_multi_logistic_loss_grad ... ok [INFO] [stdout] test test::test_log_sum_exp ... ok [INFO] [stdout] test test::simple_multi_example_text ... ok [INFO] [stdout] test test::simple_multi_example_2 ... ok [INFO] [stdout] test test::multi_on_binary_problem ... ok [INFO] [stdout] test test::validates_initial_params ... ok [INFO] [stdout] test test::works_with_f32 ... ok [INFO] [stdout] test test::uses_initial_params ... ok [INFO] [stdout] test test::test_softmax ... ok [INFO] [stderr] Doc-tests linfa_logistic [INFO] [stdout] test test::simple_multi_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - LogisticRegression (line 69) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca3b34a88d3955b6529b7643a541fc73cd4244d5df9743db9c4872a380182fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3b34a88d3955b6529b7643a541fc73cd4244d5df9743db9c4872a380182fab", kill_on_drop: false }` [INFO] [stdout] ca3b34a88d3955b6529b7643a541fc73cd4244d5df9743db9c4872a380182fab