[INFO] cloning repository https://github.com/pjox/oscar-tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pjox/oscar-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Foscar-tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Foscar-tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85448cde9c00958f64d7f77667d5e9fcd81d2c2d [INFO] testing pjox/oscar-tools 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%2Fpjox%2Foscar-tools" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pjox/oscar-tools 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/pjox/oscar-tools [INFO] finished tweaking git repo https://github.com/pjox/oscar-tools [INFO] tweaked toml for git repo https://github.com/pjox/oscar-tools written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pjox/oscar-tools 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcaef0ea78c47f2c212c815af25f90761a8fad76cf1e00abb3a6fa129afbe4ba [INFO] running `Command { std: "docker" "start" "-a" "fcaef0ea78c47f2c212c815af25f90761a8fad76cf1e00abb3a6fa129afbe4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaef0ea78c47f2c212c815af25f90761a8fad76cf1e00abb3a6fa129afbe4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaef0ea78c47f2c212c815af25f90761a8fad76cf1e00abb3a6fa129afbe4ba", kill_on_drop: false }` [INFO] [stdout] fcaef0ea78c47f2c212c815af25f90761a8fad76cf1e00abb3a6fa129afbe4ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc57a250ccaadbf2a0302dd336d37ae8eedc51268a4920c80bbc1ee79f4d156 [INFO] running `Command { std: "docker" "start" "-a" "2bc57a250ccaadbf2a0302dd336d37ae8eedc51268a4920c80bbc1ee79f4d156", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling scalable_bloom_filter v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling bytelines v2.4.0 [INFO] [stderr] Compiling runiq-lib v1.2.2 [INFO] [stderr] Compiling oscar-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `MissingContent` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | MissingContent(serde_json::Value), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_from_doc` [INFO] [stdout] --> src/impls/oscar_doc/oscar_doc.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | fn extract_from_doc(doc: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract` [INFO] [stdout] --> src/impls/oscar_doc/oscar_doc.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | fn extract(src: T, dst: &mut U) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/impls/oscar_txt/dedup.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(filter: Box) -> Self { [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 25.37s [INFO] running `Command { std: "docker" "inspect" "2bc57a250ccaadbf2a0302dd336d37ae8eedc51268a4920c80bbc1ee79f4d156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc57a250ccaadbf2a0302dd336d37ae8eedc51268a4920c80bbc1ee79f4d156", kill_on_drop: false }` [INFO] [stdout] 2bc57a250ccaadbf2a0302dd336d37ae8eedc51268a4920c80bbc1ee79f4d156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5019d2c986c85a415292e74fbb3f0e7fdab600bef5ba583159b7b53aff074af7 [INFO] running `Command { std: "docker" "start" "-a" "5019d2c986c85a415292e74fbb3f0e7fdab600bef5ba583159b7b53aff074af7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling oscar-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/ops/checksum.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/impls/oscar_txt/dedup.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(filter: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_dummy_corpus` [INFO] [stdout] --> src/ops/checksum.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_dummy_corpus() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.05s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/oscar_tools-ce37fb8922edb2c3) [INFO] running `Command { std: "docker" "inspect" "5019d2c986c85a415292e74fbb3f0e7fdab600bef5ba583159b7b53aff074af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5019d2c986c85a415292e74fbb3f0e7fdab600bef5ba583159b7b53aff074af7", kill_on_drop: false }` [INFO] [stdout] 5019d2c986c85a415292e74fbb3f0e7fdab600bef5ba583159b7b53aff074af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89a83a80c838c13612a4f8732e2248b76c96fb12d787efeb47bc5ba6ca9e5634 [INFO] running `Command { std: "docker" "start" "-a" "89a83a80c838c13612a4f8732e2248b76c96fb12d787efeb47bc5ba6ca9e5634", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::ffi::OsStr` [INFO] [stderr] --> src/ops/checksum.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | use std::ffi::OsStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/impls/oscar_txt/dedup.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | fn new(filter: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_dummy_corpus` [INFO] [stderr] --> src/ops/checksum.rs:143:8 [INFO] [stderr] | [INFO] [stderr] 143 | fn gen_dummy_corpus() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oscar-tools` (bin "oscar-tools" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/oscar_tools-ce37fb8922edb2c3) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_exclude ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_complex ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_complex_filtered ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_excluded ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_excluded_ ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_no_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_no_tag ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_included ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_verycomplex ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_1 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_3 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_4 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_2 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_5a ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_same_exclude_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_5b ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write_clean ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write_overlap ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::extract_bad_content ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::extract_no_content ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_extract_multiple ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_extract_single ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::text_extract_from_doc ... ok [INFO] [stdout] test ops::compress::test::test_dst_exists ... ok [INFO] [stdout] test ops::checksum::tests::test_get_write_hashes ... ok [INFO] [stdout] test ops::split::tests::file_name_single ... ok [INFO] [stdout] test ops::compress::test::test_dst_not_directory ... ok [INFO] [stdout] test impls::oscar_txt::dedup::tests::test_simple ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_text ... ok [INFO] [stdout] test ops::compress::test::test_compress ... ok [INFO] [stdout] test ops::split::tests::file_name_multiple ... ok [INFO] [stdout] test ops::checksum::tests::test_write_checksum ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_json ... ok [INFO] [stdout] test impls::oscar_txt::dedup::tests::test_multi_doc ... ok [INFO] [stdout] test ops::extract_text::tests::test_not_string ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_lang ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_folder ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_split_file ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_compress ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89a83a80c838c13612a4f8732e2248b76c96fb12d787efeb47bc5ba6ca9e5634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a83a80c838c13612a4f8732e2248b76c96fb12d787efeb47bc5ba6ca9e5634", kill_on_drop: false }` [INFO] [stdout] 89a83a80c838c13612a4f8732e2248b76c96fb12d787efeb47bc5ba6ca9e5634