[INFO] fetching crate linfa-clustering 0.1.0... [INFO] testing linfa-clustering-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate linfa-clustering 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate linfa-clustering 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate linfa-clustering 0.1.0 [INFO] finished tweaking crates.io crate linfa-clustering 0.1.0 [INFO] tweaked toml for crates.io crate linfa-clustering 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate linfa-clustering 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 92a240ba7919d17e73e30202d2f7f48a30025d80aa5f8df38366363626697345 [INFO] running `Command { std: "docker" "start" "-a" "92a240ba7919d17e73e30202d2f7f48a30025d80aa5f8df38366363626697345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92a240ba7919d17e73e30202d2f7f48a30025d80aa5f8df38366363626697345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a240ba7919d17e73e30202d2f7f48a30025d80aa5f8df38366363626697345", kill_on_drop: false }` [INFO] [stdout] 92a240ba7919d17e73e30202d2f7f48a30025d80aa5f8df38366363626697345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd22dde60b8c4cfe6dda50db5f162a3c575a7fb5899ed1d7f2bb75b822a8aac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9fd22dde60b8c4cfe6dda50db5f162a3c575a7fb5899ed1d7f2bb75b822a8aac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling noisy_float v0.1.11 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling ndarray-stats v0.3.0 [INFO] [stderr] Compiling linfa-clustering v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "9fd22dde60b8c4cfe6dda50db5f162a3c575a7fb5899ed1d7f2bb75b822a8aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd22dde60b8c4cfe6dda50db5f162a3c575a7fb5899ed1d7f2bb75b822a8aac", kill_on_drop: false }` [INFO] [stdout] 9fd22dde60b8c4cfe6dda50db5f162a3c575a7fb5899ed1d7f2bb75b822a8aac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c3656c6b573b57b6df163580b315d06eebe0dc0e84cc9a78be5dd9cba2bc0849 [INFO] running `Command { std: "docker" "start" "-a" "c3656c6b573b57b6df163580b315d06eebe0dc0e84cc9a78be5dd9cba2bc0849", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.2.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling py_literal v0.2.1 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling ndarray-npy v0.5.0 [INFO] [stderr] Compiling linfa-clustering v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 32.68s [INFO] running `Command { std: "docker" "inspect" "c3656c6b573b57b6df163580b315d06eebe0dc0e84cc9a78be5dd9cba2bc0849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3656c6b573b57b6df163580b315d06eebe0dc0e84cc9a78be5dd9cba2bc0849", kill_on_drop: false }` [INFO] [stdout] c3656c6b573b57b6df163580b315d06eebe0dc0e84cc9a78be5dd9cba2bc0849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07c44a41794dc8dfae1bcdcb22b694c2883acfb1c46ded5d6145c11077d3b290 [INFO] running `Command { std: "docker" "start" "-a" "07c44a41794dc8dfae1bcdcb22b694c2883acfb1c46ded5d6145c11077d3b290", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/linfa_clustering-81a92ffe6d7af131 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test k_means::algorithm::tests::oracle_test_for_closest_centroid ... ok [INFO] [stdout] test k_means::algorithm::tests::nothing_is_closer_than_self ... ok [INFO] [stdout] test k_means::algorithm::tests::compute_centroids_works ... ok [INFO] [stdout] test k_means::helpers::tests::incremental_mean ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hyperparameters_test-a211a276c0848d56 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test n_clusters_cannot_be_zero ... ok [INFO] [stdout] test tolerance_has_to_positive ... ok [INFO] [stdout] test tolerance_cannot_be_zero ... ok [INFO] [stdout] test max_n_iterations_cannot_be_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests linfa-clustering [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/k_means/algorithm.rs - k_means::algorithm::KMeans (line 62) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/k_means/algorithm.rs - k_means::algorithm::KMeans (line 62) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'Failed to open file.: Os { code: 30, kind: Other, message: "Read-only file system" }', src/k_means/algorithm.rs:43:46 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56366235f515 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x56366235f515 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x56366235f515 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x56366235f515 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x563662381e5c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x56366235d952 - std::io::Write::write_fmt::h5ffa1b5a7703af47 [INFO] [stdout] at src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x563662361b60 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x563662361b60 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x563662361b60 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x5636623618ac - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:217 [INFO] [stdout] 10: 0x5636623621a3 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 11: 0x563662361d9b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 12: 0x5636623807f1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 13: 0x563662380613 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 14: 0x56366228610f - core::result::Result::expect::hb68bb6b235bc5ff4 [INFO] [stdout] 15: 0x5636622e5da0 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 16: 0x5636622771c3 - std::rt::lang_start::{{closure}}::h4b28e45528b64eb3 [INFO] [stdout] 17: 0x563662362643 - std::rt::lang_start_internal::{{closure}}::h155f3093add35bce [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 18: 0x563662362643 - std::panicking::try::do_call::h45f1f66ee6b987d6 [INFO] [stdout] at src/libstd/panicking.rs:348 [INFO] [stdout] 19: 0x563662362643 - std::panicking::try::h0924dfb942cef7e3 [INFO] [stdout] at src/libstd/panicking.rs:325 [INFO] [stdout] 20: 0x563662362643 - std::panic::catch_unwind::h883180846c5b53fa [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x563662362643 - std::rt::lang_start_internal::he9284d43a52786c5 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 22: 0x5636622771a8 - std::rt::lang_start::hb412ec904ea47782 [INFO] [stdout] 23: 0x5636622e65db - main [INFO] [stdout] 24: 0x7f15c42100b3 - __libc_start_main [INFO] [stdout] 25: 0x56366226017e - _start [INFO] [stdout] 26: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/k_means/algorithm.rs - k_means::algorithm::KMeans (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07c44a41794dc8dfae1bcdcb22b694c2883acfb1c46ded5d6145c11077d3b290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c44a41794dc8dfae1bcdcb22b694c2883acfb1c46ded5d6145c11077d3b290", kill_on_drop: false }` [INFO] [stdout] 07c44a41794dc8dfae1bcdcb22b694c2883acfb1c46ded5d6145c11077d3b290