[INFO] fetching crate ducky-learn 0.2.1... [INFO] testing ducky-learn-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ducky-learn 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ducky-learn 0.2.1 [INFO] finished tweaking crates.io crate ducky-learn 0.2.1 [INFO] tweaked toml for crates.io crate ducky-learn 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ducky-learn 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ducky-learn 0.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e10d0e1ce148c13eae46acd9a266f9f5d71e5493b16891a54077038c6b300d1 [INFO] running `Command { std: "docker" "start" "-a" "9e10d0e1ce148c13eae46acd9a266f9f5d71e5493b16891a54077038c6b300d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e10d0e1ce148c13eae46acd9a266f9f5d71e5493b16891a54077038c6b300d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e10d0e1ce148c13eae46acd9a266f9f5d71e5493b16891a54077038c6b300d1", kill_on_drop: false }` [INFO] [stdout] 9e10d0e1ce148c13eae46acd9a266f9f5d71e5493b16891a54077038c6b300d1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ba8227031505367e1c4a8cef633901f2d5eaad675b036fbe545491e3f24bbb9 [INFO] running `Command { std: "docker" "start" "-a" "3ba8227031505367e1c4a8cef633901f2d5eaad675b036fbe545491e3f24bbb9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling ducky-learn v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.02s [INFO] running `Command { std: "docker" "inspect" "3ba8227031505367e1c4a8cef633901f2d5eaad675b036fbe545491e3f24bbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba8227031505367e1c4a8cef633901f2d5eaad675b036fbe545491e3f24bbb9", kill_on_drop: false }` [INFO] [stdout] 3ba8227031505367e1c4a8cef633901f2d5eaad675b036fbe545491e3f24bbb9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7672e86fcaedb3728ee8221e6e0617414e7f1d801f87421be182d6a1c1c226c [INFO] running `Command { std: "docker" "start" "-a" "e7672e86fcaedb3728ee8221e6e0617414e7f1d801f87421be182d6a1c1c226c", kill_on_drop: false }` [INFO] [stderr] Compiling mnist v0.5.0 [INFO] [stderr] Compiling ducky-learn v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "e7672e86fcaedb3728ee8221e6e0617414e7f1d801f87421be182d6a1c1c226c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7672e86fcaedb3728ee8221e6e0617414e7f1d801f87421be182d6a1c1c226c", kill_on_drop: false }` [INFO] [stdout] e7672e86fcaedb3728ee8221e6e0617414e7f1d801f87421be182d6a1c1c226c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0522bcd086e125a672cf0335a23ef46304e8cc1f7a510f561eae75e3b3f9e6d [INFO] running `Command { std: "docker" "start" "-a" "e0522bcd086e125a672cf0335a23ef46304e8cc1f7a510f561eae75e3b3f9e6d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ducky_learn-75e1108a4e8505c0) [INFO] [stdout] [INFO] [stdout] running 43 tests [INFO] [stdout] test activations::activations_tests::relu_1d_2 ... ok [INFO] [stdout] test activations::activations_tests::softmax_1d_1 ... ok [INFO] [stdout] test activations::activations_tests::deriv_relu_1d_1 ... ok [INFO] [stdout] test activations::activations_tests::relu_1d_3 ... ok [INFO] [stdout] test cost::cost_tests::deriv_mse_2 ... ok [INFO] [stdout] test cost::cost_tests::deriv_mse_3 ... ok [INFO] [stdout] test cost::cost_tests::mse_2 ... ok [INFO] [stdout] test cost::cost_tests::mse_3 ... ok [INFO] [stdout] test feature_extraction::feature_extraction_tests::test_count_vector_fit_transform ... ok [INFO] [stdout] test activations::activations_tests::softmax_1d_2 ... ok [INFO] [stdout] test activations::activations_tests::softmax_1d_3 ... ok [INFO] [stdout] test cost::cost_tests::deriv_mse_1 ... ok [INFO] [stdout] test cost::cost_tests::mse_1 ... ok [INFO] [stdout] test feature_extraction::feature_extraction_tests::test_empty_string ... ok [INFO] [stdout] test layers::layers_tests::dense1d_activation ... ok [INFO] [stdout] test layers::layers_tests::dense1d_pass_arr1_2 ... ok [INFO] [stdout] test layers::layers_tests::dense1d_new ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_class_probability ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_class_probability_sum_to_one ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_feature_probability_mismatched_lengths ... ok [INFO] [stdout] test activations::activations_tests::relu_1d_1 ... ok [INFO] [stdout] test activations::activations_tests::deriv_relu_1d_2 ... ok [INFO] [stdout] test layers::layers_tests::dense1d_pass_arr1_1 ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_feature_probability_no_data ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_mean ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_feature_probability_same_feature_values ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_feature_probability ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_probability ... ok [INFO] [stdout] test naive_bayes::naive_bayes_tests::test_fit_gaus ... ok [INFO] [stdout] test naive_bayes::calculation_functions_tests::test_calculate_std_dev ... ok [INFO] [stdout] test naive_bayes::naive_bayes_tests::test_fit_std ... ok [INFO] [stdout] test naive_bayes::naive_bayes_tests::test_new_gaus ... ok [INFO] [stdout] test naive_bayes::naive_bayes_tests::test_predict_std ... ok [INFO] [stdout] test naive_bayes::naive_bayes_tests::test_predict_gaus ... ok [INFO] [stdout] test activations::activations_tests::deriv_relu_1d_3 ... ok [INFO] [stdout] test train::train_tests::forwards_pass_1 ... ok [INFO] [stdout] test train::train_tests::forwards_pass_3 ... ok [INFO] [stdout] test train::train_tests::forwards_pass_2 ... ok [INFO] [stdout] test util::util_tests::test_multiple_elements ... ok [INFO] [stdout] test util::util_tests::test_single_element ... ok [INFO] [stdout] test util::util_tests::test_empty ... ok [INFO] [stdout] test layers::layers_tests::dense1d_pass_arr1_diff_size - should panic ... ok [INFO] [stdout] test train::train_tests::forwards_pass_4 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] Doc-tests ducky_learn [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/feature_extraction.rs - feature_extraction::CountVectorizer::transform (line 106) ... ok [INFO] [stdout] test src/feature_extraction.rs - feature_extraction::CountVectorizer::fit_transform (line 63) ... ok [INFO] [stdout] test src/feature_extraction.rs - feature_extraction::CountVectorizer (line 12) ... ok [INFO] [stdout] test src/feature_extraction.rs - feature_extraction::CountVectorizer::new (line 35) ... ok [INFO] [stdout] test src/activations.rs - activations::deriv_relu_1d (line 38) ... ok [INFO] [stdout] test src/layers.rs - layers::Dense1d::from (line 57) ... ok [INFO] [stdout] test src/activations.rs - activations::softmax_1d (line 62) ... ok [INFO] [stdout] test src/activations.rs - activations::relu_1d (line 17) ... ok [INFO] [stdout] test src/naive_bayes.rs - naive_bayes::GaussianNaiveBayes::fit (line 274) ... ok [INFO] [stdout] test src/naive_bayes.rs - naive_bayes::GaussianNaiveBayes::new (line 244) ... ok [INFO] [stdout] test src/layers.rs - layers::Dense1d::new (line 95) ... ok [INFO] [stdout] test src/layers.rs - layers::Layer1d::pass (line 20) ... ok [INFO] [stdout] test src/naive_bayes.rs - naive_bayes::StdNaiveBayes (line 19) ... ok [INFO] [stdout] test src/naive_bayes.rs - naive_bayes::GaussianNaiveBayes (line 197) ... ok [INFO] [stdout] test src/naive_bayes.rs - naive_bayes::GaussianNaiveBayes::predict (line 326) ... ok [INFO] [stdout] test src/util.rs - util::one_hot_encoding_vec (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0522bcd086e125a672cf0335a23ef46304e8cc1f7a510f561eae75e3b3f9e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0522bcd086e125a672cf0335a23ef46304e8cc1f7a510f561eae75e3b3f9e6d", kill_on_drop: false }` [INFO] [stdout] e0522bcd086e125a672cf0335a23ef46304e8cc1f7a510f561eae75e3b3f9e6d