[INFO] fetching crate byteutils 0.1.1... [INFO] testing byteutils-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate byteutils 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate byteutils 0.1.1 [INFO] finished tweaking crates.io crate byteutils 0.1.1 [INFO] tweaked toml for crates.io crate byteutils 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate byteutils 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.11.3 [INFO] [stderr] Downloaded regex-syntax v0.8.6 [INFO] [stderr] Downloaded regex-automata v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e777a73a4389599e0a2d7643fe392781dd3a323a6e6de96fd81fe6e94071cb27 [INFO] running `Command { std: "docker" "start" "-a" "e777a73a4389599e0a2d7643fe392781dd3a323a6e6de96fd81fe6e94071cb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e777a73a4389599e0a2d7643fe392781dd3a323a6e6de96fd81fe6e94071cb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e777a73a4389599e0a2d7643fe392781dd3a323a6e6de96fd81fe6e94071cb27", kill_on_drop: false }` [INFO] [stdout] e777a73a4389599e0a2d7643fe392781dd3a323a6e6de96fd81fe6e94071cb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f068e1cbddcc14f22eb65bc18396a375f06cb5c542b650bb123cf056be3556c [INFO] running `Command { std: "docker" "start" "-a" "2f068e1cbddcc14f22eb65bc18396a375f06cb5c542b650bb123cf056be3556c", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling byteutils v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "2f068e1cbddcc14f22eb65bc18396a375f06cb5c542b650bb123cf056be3556c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f068e1cbddcc14f22eb65bc18396a375f06cb5c542b650bb123cf056be3556c", kill_on_drop: false }` [INFO] [stdout] 2f068e1cbddcc14f22eb65bc18396a375f06cb5c542b650bb123cf056be3556c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3545f17c2738b2d62847ca6b8d315a440103c49230fca39317f1c91977ef360c [INFO] running `Command { std: "docker" "start" "-a" "3545f17c2738b2d62847ca6b8d315a440103c49230fca39317f1c91977ef360c", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling byteutils v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "3545f17c2738b2d62847ca6b8d315a440103c49230fca39317f1c91977ef360c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3545f17c2738b2d62847ca6b8d315a440103c49230fca39317f1c91977ef360c", kill_on_drop: false }` [INFO] [stdout] 3545f17c2738b2d62847ca6b8d315a440103c49230fca39317f1c91977ef360c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12d6bd3c5c04eaee838329d658d7bff7ab1ef2155c249e35fa4dfd02cd627bd9 [INFO] running `Command { std: "docker" "start" "-a" "12d6bd3c5c04eaee838329d658d7bff7ab1ef2155c249e35fa4dfd02cd627bd9", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/byteutils-76b3e0fb4ad0c27a) [INFO] [stdout] [INFO] [stdout] running 83 tests [INFO] [stdout] test test::test_dedup_all_same ... ok [INFO] [stdout] test test::test_basic_replacement ... ok [INFO] [stdout] test test::test_all_duplicates ... ok [INFO] [stdout] test test::test_bytes_to_string ... ok [INFO] [stdout] test test::test_dedup_strings ... ok [INFO] [stdout] test test::test_dedup_all_unique ... ok [INFO] [stdout] test test::test_dedup_empty_vec ... ok [INFO] [stdout] test test::test_dedup_integers ... ok [INFO] [stdout] test test::test_bytes_to_hex ... ok [INFO] [stdout] test test::test_empty_replacement ... ok [INFO] [stdout] test test::test_empty_map ... ok [INFO] [stdout] test test::test_empty_template ... ok [INFO] [stdout] test test::test_empty_vector ... ok [INFO] [stdout] test test::test_enclose_quotes_basic ... ok [INFO] [stdout] test test::test_escape_sql_with_backslashes ... ok [INFO] [stdout] test test::test_escape_sql_with_both ... ok [INFO] [stdout] test test::test_escape_sql_with_single_quotes ... ok [INFO] [stdout] test test::test_enclose_quotes_empty_string ... ok [INFO] [stdout] test test::test_enclose_quotes_with_spaces ... ok [INFO] [stdout] test test::test_escape_sql_basic ... ok [INFO] [stdout] test test::test_escape_sql_empty_string ... ok [INFO] [stdout] test test::test_empty_vec ... ok [INFO] [stdout] test test::test_hex_to_bytes ... ok [INFO] [stdout] test test::test_mixed_duplicates ... ok [INFO] [stdout] test test::test_hex_to_string ... ok [INFO] [stdout] test test::test_multiple_occurrences ... ok [INFO] [stdout] test test::test_large_input ... ok [INFO] [stdout] test test::test_no_duplicates ... ok [INFO] [stdout] test test::test_nested_placeholders ... ok [INFO] [stdout] test test::test_nested_replacement ... ok [INFO] [stdout] test test::test_missing_placeholder ... ok [INFO] [stdout] test test::test_multiple_replacements ... ok [INFO] [stdout] test test::test_repeated_placeholders ... ok [INFO] [stdout] test test::test_retain_even_numbers ... ok [INFO] [stdout] test test::test_retain_greater_than_threshold ... ok [INFO] [stdout] test test::test_no_placeholder_present ... ok [INFO] [stdout] test test::test_retain_odd_numbers ... ok [INFO] [stdout] test test::test_placeholder_with_spaces ... ok [INFO] [stdout] test test::test_preserves_order ... ok [INFO] [stdout] test test::test_retain_all ... ok [INFO] [stdout] test test::test_reverse_even_length_vector ... ok [INFO] [stdout] test test::test_retain_custom_struct ... ok [INFO] [stdout] test test::test_reverse_odd_length_vector ... ok [INFO] [stdout] test test::test_reverse_large_vector ... ok [INFO] [stdout] test test::test_reverse_preserves_elements ... ok [INFO] [stdout] test test::test_has_contain_words ... ok [INFO] [stdout] test test::test_reverse_single_element_vector ... ok [INFO] [stdout] test test::test_reverse_vector_of_options ... ok [INFO] [stdout] test test::test_reverse_string_vector ... ok [INFO] [stdout] test test::test_reverse_empty_vector ... ok [INFO] [stdout] test test::test_retain_none ... ok [INFO] [stdout] test test::test_reverse_vector_of_vectors ... ok [INFO] [stdout] test test::test_roundtrip_conversions ... ok [INFO] [stdout] test test::test_split_at_end ... ok [INFO] [stdout] test test::test_split_at_length ... ok [INFO] [stdout] test test::test_split_at_middle ... ok [INFO] [stdout] test test::test_split_empty_vector ... ok [INFO] [stdout] test test::test_special_characters ... ok [INFO] [stdout] test test::test_special_characters_in_replacement ... ok [INFO] [stdout] test test::test_split_at_start ... ok [INFO] [stdout] test test::test_split_large_vector ... ok [INFO] [stdout] test test::test_split_preserves_elements ... ok [INFO] [stdout] test test::test_split_with_non_copy_type ... ok [INFO] [stdout] test test::test_split_string_vector ... ok [INFO] [stdout] test test::test_split_vector_of_options ... ok [INFO] [stdout] test test::test_to_array_basic ... ok [INFO] [stdout] test test::test_string_to_bytes ... ok [INFO] [stdout] test test::test_is_contain_word ... ok [INFO] [stdout] test test::test_string_to_hex ... ok [INFO] [stdout] test test::test_to_array_preserves_inner_spaces ... ok [INFO] [stdout] test test::test_to_array_with_empty_string ... ok [INFO] [stdout] test test::test_to_array_with_empty_elements ... ok [INFO] [stdout] test test::test_to_array_with_only_commas ... ok [INFO] [stdout] test test::test_to_array_with_special_characters ... ok [INFO] [stdout] test test::test_to_array_with_spaces ... ok [INFO] [stdout] test test::test_to_array_with_mixed_whitespace ... ok [INFO] [stdout] test test::test_to_array_single_element ... ok [INFO] [stdout] test test::test_retain_strings_by_length ... ok [INFO] [stdout] test test::test_to_array_with_whitespace_only_elements ... ok [INFO] [stdout] test test::test_with_strings ... ok [INFO] [stdout] test test::test_unicode_characters ... ok [INFO] [stdout] test test::test_with_custom_type ... ok [INFO] [stdout] test test::test_split_out_of_bounds - should panic ... ok [INFO] [stderr] Doc-tests byteutils [INFO] [stdout] [INFO] [stdout] test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/string.rs - string::escape_sql (line 48) ... ok [INFO] [stdout] test src/string.rs - string::enclose_quotes (line 69) ... ok [INFO] [stdout] test src/lib.rs - hex_to_string (line 166) ... ok [INFO] [stdout] test src/lib.rs - string_to_bytes (line 115) ... ok [INFO] [stdout] test src/lib.rs - bytes_to_hex (line 24) ... ok [INFO] [stdout] test src/lib.rs - string_to_hex (line 139) ... ok [INFO] [stdout] test src/string.rs - string::is_contain_word (line 96) ... ok [INFO] [stdout] test src/string.rs - string::has_contain_words (line 125) ... ok [INFO] [stdout] test src/lib.rs - hex_to_bytes (line 56) ... ok [INFO] [stdout] test src/lib.rs - bytes_to_string (line 91) ... ok [INFO] [stdout] test src/string.rs - string::replace_placeholder (line 155) ... ok [INFO] [stdout] test src/string.rs - string::replace_multiple_placeholders (line 194) ... ok [INFO] [stdout] test src/string.rs - string::to_array (line 21) ... ok [INFO] [stdout] test src/vec.rs - vec::dedup (line 20) ... ok [INFO] [stdout] test src/vec.rs - vec::reverse_in_place (line 69) ... ok [INFO] [stdout] test src/vec.rs - vec::retain_if (line 49) ... ok [INFO] [stdout] test src/vec.rs - vec::split_at_vec (line 112) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 167) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 174) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 160) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12d6bd3c5c04eaee838329d658d7bff7ab1ef2155c249e35fa4dfd02cd627bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d6bd3c5c04eaee838329d658d7bff7ab1ef2155c249e35fa4dfd02cd627bd9", kill_on_drop: false }` [INFO] [stdout] 12d6bd3c5c04eaee838329d658d7bff7ab1ef2155c249e35fa4dfd02cd627bd9