[INFO] cloning repository https://github.com/Joshua-Wright/hardlink-deduplicator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joshua-Wright/hardlink-deduplicator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshua-Wright%2Fhardlink-deduplicator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshua-Wright%2Fhardlink-deduplicator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da207b3f7c6dc3b027f1aee3b022db061bd8454a [INFO] testing Joshua-Wright/hardlink-deduplicator against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshua-Wright%2Fhardlink-deduplicator" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joshua-Wright/hardlink-deduplicator 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 git repo https://github.com/Joshua-Wright/hardlink-deduplicator [INFO] finished tweaking git repo https://github.com/Joshua-Wright/hardlink-deduplicator [INFO] tweaked toml for git repo https://github.com/Joshua-Wright/hardlink-deduplicator written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Joshua-Wright/hardlink-deduplicator 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 80419d005f8233338bf7e3882ebf7eaac6552df880f227ff531dbde872c65281 [INFO] running `Command { std: "docker" "start" "-a" "80419d005f8233338bf7e3882ebf7eaac6552df880f227ff531dbde872c65281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80419d005f8233338bf7e3882ebf7eaac6552df880f227ff531dbde872c65281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80419d005f8233338bf7e3882ebf7eaac6552df880f227ff531dbde872c65281", kill_on_drop: false }` [INFO] [stdout] 80419d005f8233338bf7e3882ebf7eaac6552df880f227ff531dbde872c65281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 72013aae0782fbfc0a88197e72ac5db74b1ffebd7ec0bf62349355ef9ee4e9fe [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" "72013aae0782fbfc0a88197e72ac5db74b1ffebd7ec0bf62349355ef9ee4e9fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling seahash v3.0.7 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling fasthash-sys v0.3.2 (https://github.com/Joshua-Wright/rust-fasthash/?rev=bd0ef9b9391ca80d1a115c3207e1f8417bb4c6b9#bd0ef9b9) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling xoroshiro128 v0.3.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling fasthash v0.4.0 (https://github.com/Joshua-Wright/rust-fasthash/?rev=bd0ef9b9391ca80d1a115c3207e1f8417bb4c6b9#bd0ef9b9) [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling mockall_derive v0.7.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling mockall v0.7.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling humantime-serde v1.0.0 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling hardlink-deduplicator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `accessed` [INFO] [stdout] --> src/lib/file_entry.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let (size, modified, accessed, created, inode) = fs.metadata(&absolute_path)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_to_hex_str` [INFO] [stdout] --> src/lib/fast_hash.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn hash_to_hex_str(hash: u128) -> String { [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: `reload_from_disk` [INFO] [stdout] --> src/lib/file_entry.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn reload_from_disk>(&self, fs: &F, base_path: P1) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_folder` [INFO] [stdout] --> src/lib/file_entry.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn relative_folder(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "72013aae0782fbfc0a88197e72ac5db74b1ffebd7ec0bf62349355ef9ee4e9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72013aae0782fbfc0a88197e72ac5db74b1ffebd7ec0bf62349355ef9ee4e9fe", kill_on_drop: false }` [INFO] [stdout] 72013aae0782fbfc0a88197e72ac5db74b1ffebd7ec0bf62349355ef9ee4e9fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b8f3392005f1ec6e9ef89bdce0d5258c945ceba568b27e710d620f72722871b0 [INFO] running `Command { std: "docker" "start" "-a" "b8f3392005f1ec6e9ef89bdce0d5258c945ceba568b27e710d620f72722871b0", kill_on_drop: false }` [INFO] [stderr] Compiling hardlink-deduplicator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `accessed` [INFO] [stdout] --> src/lib/file_entry.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let (size, modified, accessed, created, inode) = fs.metadata(&absolute_path)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reload_from_disk` [INFO] [stdout] --> src/lib/file_entry.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn reload_from_disk>(&self, fs: &F, base_path: P1) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "b8f3392005f1ec6e9ef89bdce0d5258c945ceba568b27e710d620f72722871b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f3392005f1ec6e9ef89bdce0d5258c945ceba568b27e710d620f72722871b0", kill_on_drop: false }` [INFO] [stdout] b8f3392005f1ec6e9ef89bdce0d5258c945ceba568b27e710d620f72722871b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 3c0f0dbd512e355c169164a0c4bd4d9171118ad014484885985c3d83b8783f5d [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" "3c0f0dbd512e355c169164a0c4bd4d9171118ad014484885985c3d83b8783f5d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `accessed` [INFO] [stderr] --> src/lib/file_entry.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | let (size, modified, accessed, created, inode) = fs.metadata(&absolute_path)?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reload_from_disk` [INFO] [stderr] --> src/lib/file_entry.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn reload_from_disk>(&self, fs: &F, base_path: P1) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hardlink_deduplicator-48e66449c5a4ce83 [INFO] [stdout] running 10 tests [INFO] [stdout] test lib::fast_hash::test::test_hash_to_string ... ok [INFO] [stdout] test lib::files_index::test::test_construct ... ok [INFO] [stdout] test lib::files_index::test::test_add_unique_file ... ok [INFO] [stdout] test lib::file_entry::test::test_new_file_entry ... ok [INFO] [stdout] test lib::files_index::test::test_write_to_csv ... ok [INFO] [stdout] test lib::files_index::test::test_one_duplicate ... ok [INFO] [stdout] test lib::files_index::test::test_two_duplicates ... ok [INFO] [stdout] test lib::files_index::test::test_read_from_csv ... ok [INFO] [stdout] test lib::files_index::test::test_stress_test ... ok [INFO] [stdout] test lib::fast_hash::test::test_hash_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c0f0dbd512e355c169164a0c4bd4d9171118ad014484885985c3d83b8783f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c0f0dbd512e355c169164a0c4bd4d9171118ad014484885985c3d83b8783f5d", kill_on_drop: false }` [INFO] [stdout] 3c0f0dbd512e355c169164a0c4bd4d9171118ad014484885985c3d83b8783f5d