[INFO] fetching crate linfa-clustering 0.1.0... [INFO] testing linfa-clustering-0.1.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate linfa-clustering 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate linfa-clustering 0.1.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-11/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] dc32ead448a35e88ddbc06e06e8d9849d2fb51d3ccd1e0aab46d6993deadbc00 [INFO] running `Command { std: "docker" "start" "-a" "dc32ead448a35e88ddbc06e06e8d9849d2fb51d3ccd1e0aab46d6993deadbc00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc32ead448a35e88ddbc06e06e8d9849d2fb51d3ccd1e0aab46d6993deadbc00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc32ead448a35e88ddbc06e06e8d9849d2fb51d3ccd1e0aab46d6993deadbc00", kill_on_drop: false }` [INFO] [stdout] dc32ead448a35e88ddbc06e06e8d9849d2fb51d3ccd1e0aab46d6993deadbc00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cdd39dd42fa0765d84b46d23488c9fcf807a16dbffec0fbc35b287ddd9fcbb9 [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" "9cdd39dd42fa0765d84b46d23488c9fcf807a16dbffec0fbc35b287ddd9fcbb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling ndarray v0.13.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-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling rand 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-stats v0.3.0 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling linfa-clustering v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "9cdd39dd42fa0765d84b46d23488c9fcf807a16dbffec0fbc35b287ddd9fcbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdd39dd42fa0765d84b46d23488c9fcf807a16dbffec0fbc35b287ddd9fcbb9", kill_on_drop: false }` [INFO] [stdout] 9cdd39dd42fa0765d84b46d23488c9fcf807a16dbffec0fbc35b287ddd9fcbb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8b6c0f6c9d8e488d6d108eae9258a3227ead15c0ab50322515fce37cc7e2dfc [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" "f8b6c0f6c9d8e488d6d108eae9258a3227ead15c0ab50322515fce37cc7e2dfc", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_isaac v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [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 26.77s [INFO] running `Command { std: "docker" "inspect" "f8b6c0f6c9d8e488d6d108eae9258a3227ead15c0ab50322515fce37cc7e2dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b6c0f6c9d8e488d6d108eae9258a3227ead15c0ab50322515fce37cc7e2dfc", kill_on_drop: false }` [INFO] [stdout] f8b6c0f6c9d8e488d6d108eae9258a3227ead15c0ab50322515fce37cc7e2dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 646288778d0525b60f02628dcc178ffa58ae65a94e278c6507a3532f16ff5a0a [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" "646288778d0525b60f02628dcc178ffa58ae65a94e278c6507a3532f16ff5a0a", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] running 4 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/linfa_clustering-c803229366219d43 [INFO] [stdout] test k_means::algorithm::tests::oracle_test_for_closest_centroid ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hyperparameters_test-86df86a96b891f1c [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tolerance_cannot_be_zero ... ok [INFO] [stdout] test n_clusters_cannot_be_zero ... ok [INFO] [stdout] test max_n_iterations_cannot_be_zero ... ok [INFO] [stdout] test tolerance_has_to_positive ... 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] [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: 0x55959cd026e0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55959cd026e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55959cd026e0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55959cd026e0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55959cd22c7c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55959cd00372 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55959cd04dd5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55959cd04dd5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55959cd04dd5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55959cd0492a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55959cd05571 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55959cd050b7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55959cd02b9c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55959cd05019 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55959cd21601 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55959cd21423 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55959cc1ee6f - core::result::Result::expect::hb7fc3c3b247c6787 [INFO] [stdout] 17: 0x55959cc80770 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 18: 0x55959cc14153 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 19: 0x55959cc11019 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 20: 0x55959cc116c9 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 21: 0x55959cd05a87 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x55959cd05a87 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 23: 0x55959cd05a87 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: 0x55959cd05a87 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x55959cd05a87 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/rt.rs:51:25 [INFO] [stdout] 26: 0x55959cc116a8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 27: 0x55959cc80fcb - main [INFO] [stdout] 28: 0x7f4fc89b80b3 - __libc_start_main [INFO] [stdout] 29: 0x55959cbfa0ae - _start [INFO] [stdout] 30: 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] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "646288778d0525b60f02628dcc178ffa58ae65a94e278c6507a3532f16ff5a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646288778d0525b60f02628dcc178ffa58ae65a94e278c6507a3532f16ff5a0a", kill_on_drop: false }` [INFO] [stdout] 646288778d0525b60f02628dcc178ffa58ae65a94e278c6507a3532f16ff5a0a