[INFO] cloning repository https://github.com/erwinvaneijk/fbhash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erwinvaneijk/fbhash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinvaneijk%2Ffbhash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinvaneijk%2Ffbhash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec7abcece2e869e9559f8872a59c09dd207f86cc [INFO] testing erwinvaneijk/fbhash against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinvaneijk%2Ffbhash" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erwinvaneijk/fbhash on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erwinvaneijk/fbhash [INFO] finished tweaking git repo https://github.com/erwinvaneijk/fbhash [INFO] tweaked toml for git repo https://github.com/erwinvaneijk/fbhash written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/erwinvaneijk/fbhash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] fcd5e5dd84e83c0778dcddaa7e23ef8fb58f2ac2d78cfb06de090d08811525ab [INFO] running `Command { std: "docker" "start" "-a" "fcd5e5dd84e83c0778dcddaa7e23ef8fb58f2ac2d78cfb06de090d08811525ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcd5e5dd84e83c0778dcddaa7e23ef8fb58f2ac2d78cfb06de090d08811525ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd5e5dd84e83c0778dcddaa7e23ef8fb58f2ac2d78cfb06de090d08811525ab", kill_on_drop: false }` [INFO] [stdout] fcd5e5dd84e83c0778dcddaa7e23ef8fb58f2ac2d78cfb06de090d08811525ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] c9c96a573575f06eb2cc17aca54e2d0b2319891731459291d214750e74d283af [INFO] running `Command { std: "docker" "start" "-a" "c9c96a573575f06eb2cc17aca54e2d0b2319891731459291d214750e74d283af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling hash_hasher v2.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling indicatif v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fbhash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `extend` [INFO] [stdout] --> src/fbhash/similarities.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn extend(&mut self, other: &DocumentCollection) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_file` [INFO] [stdout] --> src/fbhash/similarities.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn add_file(&mut self, name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "c9c96a573575f06eb2cc17aca54e2d0b2319891731459291d214750e74d283af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c96a573575f06eb2cc17aca54e2d0b2319891731459291d214750e74d283af", kill_on_drop: false }` [INFO] [stdout] c9c96a573575f06eb2cc17aca54e2d0b2319891731459291d214750e74d283af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 9748afa276db9dae9c0569a4826285cd2f1f3cd9ac26a1cbde782e32d56f30c9 [INFO] running `Command { std: "docker" "start" "-a" "9748afa276db9dae9c0569a4826285cd2f1f3cd9ac26a1cbde782e32d56f30c9", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling serde_test v1.0.125 [INFO] [stdout] warning: associated function is never used: `extend` [INFO] [stdout] --> src/fbhash/similarities.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn extend(&mut self, other: &DocumentCollection) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_file` [INFO] [stdout] --> src/fbhash/similarities.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn add_file(&mut self, name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling assert_cmd v1.0.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling fbhash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `extend` [INFO] [stdout] --> src/fbhash/similarities.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn extend(&mut self, other: &DocumentCollection) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.10s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/fbhash-390c8075e48cd52f) [INFO] [stderr] Executable tests/integration.rs (/opt/rustwide/target/debug/deps/integration-82d35ee7a5c95c60) [INFO] running `Command { std: "docker" "inspect" "9748afa276db9dae9c0569a4826285cd2f1f3cd9ac26a1cbde782e32d56f30c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9748afa276db9dae9c0569a4826285cd2f1f3cd9ac26a1cbde782e32d56f30c9", kill_on_drop: false }` [INFO] [stdout] 9748afa276db9dae9c0569a4826285cd2f1f3cd9ac26a1cbde782e32d56f30c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 293449d8af6ccf7c06d83cfca0624c5c106e84faeafc1127f71a7864e1120263 [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" "293449d8af6ccf7c06d83cfca0624c5c106e84faeafc1127f71a7864e1120263", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `extend` [INFO] [stderr] --> src/fbhash/similarities.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn extend(&mut self, other: &DocumentCollection) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_file` [INFO] [stderr] --> src/fbhash/similarities.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn add_file(&mut self, name: &str) -> io::Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fbhash` (bin "fbhash") generated 2 warnings [INFO] [stderr] warning: `fbhash` (bin "fbhash" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fbhash-390c8075e48cd52f) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test fbhash::chunker::tests::test_first_chunk_from_zero_file ... ok [INFO] [stdout] test fbhash::chunker::tests::test_litmus2 ... ok [INFO] [stdout] test fbhash::heap::tests::test_get_elements ... ok [INFO] [stdout] test fbhash::heap::tests::test_get_max ... ok [INFO] [stdout] test fbhash::heap::tests::test_insert ... ok [INFO] [stdout] test fbhash::similarities::tests::test_compute_document_scores ... ok [INFO] [stdout] test fbhash::similarities::tests::test_compute_document_frequencies ... ok [INFO] [stdout] test fbhash::similarities::tests::test_cosine_distance ... ok [INFO] [stdout] test fbhash::chunker::tests::test_zero_length_file ... ok [INFO] [stdout] test fbhash::chunker::tests::test_get_all_chunks_from_zero_file ... ok [INFO] [stdout] test fbhash::chunker::tests::test_litmus ... ok [INFO] [stdout] test fbhash::chunker::tests::test_get_all_chunks_from_yes_file ... ok [INFO] [stdout] test fbhash::heap::tests::test_extract_max ... ok [INFO] [stdout] test fbhash::similarities::tests::test_serialization_document_set_state ... ok [INFO] [stdout] test fbhash::index::tests::test_get_files_from_path ... ok [INFO] [stdout] test fbhash::chunker::tests::test_get_three_chunks_from_yes_file ... ok [INFO] [stdout] test fbhash::similarities::tests::test_serialization_of_document ... ok [INFO] [stdout] test fbhash::similarities::tests::test_document_collection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-82d35ee7a5c95c60) [INFO] [stdout] running 5 tests [INFO] [stdout] test test_testdata_integration ... ok [INFO] [stdout] test test_testdata_format_wrong ... ok [INFO] [stdout] test test_testdata_integration_binary ... ok [INFO] [stdout] test test_testdata_wrong_combo ... ok [INFO] [stdout] test test_testdata_format_wrong_json_to_binary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "293449d8af6ccf7c06d83cfca0624c5c106e84faeafc1127f71a7864e1120263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293449d8af6ccf7c06d83cfca0624c5c106e84faeafc1127f71a7864e1120263", kill_on_drop: false }` [INFO] [stdout] 293449d8af6ccf7c06d83cfca0624c5c106e84faeafc1127f71a7864e1120263