This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running unittests src/lib.rs (target/debug/deps/fclones-60f140ff6898185c) | |
running 7 tests [0/1927] | |
test hasher::test::test_file_hash_xxh3 ... FAILED | |
test hasher::test::test_file_hash_sha256 ... FAILED | |
test hasher::test::test_file_hash_sha3_512 ... FAILED | |
test hasher::test::test_file_hash_sha512 ... FAILED | |
test hasher::test::test_file_hash_metro_128 ... FAILED | |
test hasher::test::test_file_hash_blake3 ... FAILED | |
test hasher::test::test_file_hash_sha3_256 ... ok | |
failures: | |
---- hasher::test::test_file_hash_xxh3 stdout ---- | |
thread 'hasher::test::test_file_hash_xxh3' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([127, 73, 141, 70, 36, 195, 1, 96, 216, 152, 71, 1, 211, 6, 170, 153])`, | |
right: `FileHash([127, 73, 141, 70, 36, 195, 1, 96, 216, 152, 71, 1, 211, 6, 170, 153])`', src/hasher.rs:671:9 | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
---- hasher::test::test_file_hash_sha256 stdout ---- | |
thread 'hasher::test::test_file_hash_sha256' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([227, 176, 196, 66, 152, 252, 28, 20, 154, 251, 244, 200, 153, 111, 185, 36, 39, 174, 65, 228, 100, 155, 147, 76, 164, 149, 153, 27, 120, 82, 184, 85])`, | |
right: `FileHash([227, 176, 196, 66, 152, 252, 28, 20, 154, 251, 244, 200, 153, 111, 185, 36, 39, 174, 65, 228, 100, 155, 147, 76, 164, 149, 153, 27, 120, 82, 184, 85])`', src/hasher.rs:671:9 | |
---- hasher::test::test_file_hash_sha3_512 stdout ---- | |
thread 'hasher::test::test_file_hash_sha3_512' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([166, 159, 115, 204, 162, 58, 154, 197, 200, 181, 103, 220, 24, 90, 117, 110, 151, 201, 130, 22, 79, 226, 88, 89, 224, 209, 220, 193, 71, 92, 128, 166, 21, 178, 18, 58, 241, 245, 249, 76, 17, 227, 233, 64, 44, 58, 197, 88, 245, 0, 25, 157, 149, 182, 211, 227, 1, 117, 133, 134, 40, 29, 205, 38])`, | |
right: `FileHash([166, 159, 115, 204, 162, 58, 154, 197, 200, 181, 103, 220, 24, 90, 117, 110, 151, 201, 130, 22, 79, 226, 88, 89, 224, 209, 220, 193, 71, 92, 128, 166, 21, 178, 18, 58, 241, 245, 249, 76, 17, 227, 233, 64, 44, 58, 197, 88, 245, 0, 25, 157, 149, 182, 211, 227, 1, 117, 133, 134, 40, 29, 205, 38])`', src/hasher.rs:671:9 | |
---- hasher::test::test_file_hash_sha512 stdout ---- | |
thread 'hasher::test::test_file_hash_sha512' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([207, 131, 225, 53, 126, 239, 184, 189, 241, 84, 40, 80, 214, 109, 128, 7, 214, 32, 228, 5, 11, 87, 21, 220, 131, 244, 169, 33, 211, 108, 233, 206, 71, 208, 209, 60, 93, 133, 242, 176, 255, 131, 24, 210, 135, 126, 236, 47, 99, 185, 49, 189, 71, 65, 122, 129, 165, 56, 50, 122, 249, 39, 218, 62])`, | |
right: `FileHash([207, 131, 225, 53, 126, 239, 184, 189, 241, 84, 40, 80, 214, 109, 128, 7, 214, 32, 228, 5, 11, 87, 21, 220, 131, 244, 169, 33, 211, 108, 233, 206, 71, 208, 209, 60, 93, 133, 242, 176, 255, 131, 24, 210, 135, 126, 236, 47, 99, 185, 49, 189, 71, 65, 122, 129, 165, 56, 50, 122, 249, 39, 218, 62])`', src/hasher.rs:671:9 | |
---- hasher::test::test_file_hash_metro_128 stdout ---- | |
thread 'hasher::test::test_file_hash_metro_128' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([182, 95, 198, 132, 70, 177, 6, 70, 203, 209, 65, 61, 202, 243, 5, 0])`, | |
right: `FileHash([182, 95, 198, 132, 70, 177, 6, 70, 203, 209, 65, 61, 202, 243, 5, 0])`', src/hasher.rs:671:9 | |
---- hasher::test::test_file_hash_blake3 stdout ---- | |
thread 'hasher::test::test_file_hash_blake3' panicked at 'assertion failed: `(left != right)` | |
left: `FileHash([175, 19, 73, 185, 245, 249, 161, 166, 160, 64, 77, 234, 54, 220, 201, 73, 155, 203, 37, 201, 173, 193, 18, 183, 204, 154, 147, 202, 228, 31, 50, 98])`, | |
right: `FileHash([175, 19, 73, 185, 245, 249, 161, 166, 160, 64, 77, 234, 54, 220, 201, 73, 155, 203, 37, 201, 173, 193, 18, 183, 204, 154, 147, 202, 228, 31, 50, 98])`', src/hasher.rs:671:9 | |
failures: | |
hasher::test::test_file_hash_blake3 | |
hasher::test::test_file_hash_metro_128 | |
hasher::test::test_file_hash_sha256 | |
hasher::test::test_file_hash_sha3_512 | |
hasher::test::test_file_hash_sha512 | |
hasher::test::test_file_hash_xxh3 | |
test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 152 filtered out; finished in 0.01s | |
error: test failed, to rerun pass `--lib` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment