[INFO] fetching crate byteutils 0.1.0... [INFO] testing byteutils-0.1.0 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate byteutils 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate byteutils 0.1.0 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate byteutils 0.1.0 [INFO] finished tweaking crates.io crate byteutils 0.1.0 [INFO] tweaked toml for crates.io crate byteutils 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f964d1a549e6ebe2e520bbda12e30fee2af725c20611f003a31807a4cdc774e [INFO] running `Command { std: "docker" "start" "-a" "5f964d1a549e6ebe2e520bbda12e30fee2af725c20611f003a31807a4cdc774e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f964d1a549e6ebe2e520bbda12e30fee2af725c20611f003a31807a4cdc774e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f964d1a549e6ebe2e520bbda12e30fee2af725c20611f003a31807a4cdc774e", kill_on_drop: false }` [INFO] [stdout] 5f964d1a549e6ebe2e520bbda12e30fee2af725c20611f003a31807a4cdc774e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d5f73eb1630e7dcf8301a418e1711f3bab7966b4c975c3b86f3c7a0116b17b5 [INFO] running `Command { std: "docker" "start" "-a" "3d5f73eb1630e7dcf8301a418e1711f3bab7966b4c975c3b86f3c7a0116b17b5", 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.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling byteutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "3d5f73eb1630e7dcf8301a418e1711f3bab7966b4c975c3b86f3c7a0116b17b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5f73eb1630e7dcf8301a418e1711f3bab7966b4c975c3b86f3c7a0116b17b5", kill_on_drop: false }` [INFO] [stdout] 3d5f73eb1630e7dcf8301a418e1711f3bab7966b4c975c3b86f3c7a0116b17b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1688e476dc4ecf1e400f5c1379f33a253dc604728fe22baaba0f28023abd4d3 [INFO] running `Command { std: "docker" "start" "-a" "e1688e476dc4ecf1e400f5c1379f33a253dc604728fe22baaba0f28023abd4d3", 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.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "e1688e476dc4ecf1e400f5c1379f33a253dc604728fe22baaba0f28023abd4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1688e476dc4ecf1e400f5c1379f33a253dc604728fe22baaba0f28023abd4d3", kill_on_drop: false }` [INFO] [stdout] e1688e476dc4ecf1e400f5c1379f33a253dc604728fe22baaba0f28023abd4d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e49878b122a7900d78c9777e42fb82a0bfd23e39e02994dfc03ece3586fb0b40 [INFO] running `Command { std: "docker" "start" "-a" "e49878b122a7900d78c9777e42fb82a0bfd23e39e02994dfc03ece3586fb0b40", 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-5ab5a1523f2e2129) [INFO] [stdout] [INFO] [stdout] running 83 tests [INFO] [stdout] test test::test_all_duplicates ... ok [INFO] [stdout] test test::test_bytes_to_hex ... ok [INFO] [stdout] test test::test_dedup_all_unique ... ok [INFO] [stdout] test test::test_dedup_empty_vec ... ok [INFO] [stdout] test test::test_basic_replacement ... ok [INFO] [stdout] test test::test_dedup_integers ... ok [INFO] [stdout] test test::test_bytes_to_string ... ok [INFO] [stdout] test test::test_dedup_strings ... ok [INFO] [stdout] test test::test_empty_map ... ok [INFO] [stdout] test test::test_empty_replacement ... ok [INFO] [stdout] test test::test_dedup_all_same ... ok [INFO] [stdout] test test::test_empty_vec ... ok [INFO] [stdout] test test::test_empty_vector ... ok [INFO] [stdout] test test::test_empty_template ... ok [INFO] [stdout] test test::test_enclose_quotes_basic ... 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_with_single_quotes ... ok [INFO] [stdout] test test::test_escape_sql_with_both ... ok [INFO] [stdout] test test::test_nested_replacement ... ok [INFO] [stdout] test test::test_no_duplicates ... ok [INFO] [stdout] test test::test_placeholder_with_spaces ... ok [INFO] [stdout] test test::test_preserves_order ... ok [INFO] [stdout] test test::test_retain_custom_struct ... ok [INFO] [stdout] test test::test_retain_even_numbers ... ok [INFO] [stdout] test test::test_escape_sql_with_backslashes ... ok [INFO] [stdout] test test::test_retain_greater_than_threshold ... ok [INFO] [stdout] test test::test_missing_placeholder ... ok [INFO] [stdout] test test::test_hex_to_bytes ... ok [INFO] [stdout] test test::test_hex_to_string ... ok [INFO] [stdout] test test::test_no_placeholder_present ... ok [INFO] [stdout] test test::test_retain_odd_numbers ... ok [INFO] [stdout] test test::test_retain_strings_by_length ... ok [INFO] [stdout] test test::test_reverse_empty_vector ... ok [INFO] [stdout] test test::test_repeated_placeholders ... ok [INFO] [stdout] test test::test_retain_all ... ok [INFO] [stdout] test test::test_retain_none ... ok [INFO] [stdout] test test::test_large_input ... ok [INFO] [stdout] test test::test_nested_placeholders ... ok [INFO] [stdout] test test::test_multiple_occurrences ... 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_roundtrip_conversions ... ok [INFO] [stdout] test test::test_reverse_vector_of_options ... ok [INFO] [stdout] test test::test_split_at_start ... ok [INFO] [stdout] test test::test_split_empty_vector ... ok [INFO] [stdout] test test::test_has_contain_words ... ok [INFO] [stdout] test test::test_special_characters ... ok [INFO] [stdout] test test::test_reverse_even_length_vector ... ok [INFO] [stdout] test test::test_split_at_middle ... ok [INFO] [stdout] test test::test_reverse_vector_of_vectors ... ok [INFO] [stdout] test test::test_mixed_duplicates ... ok [INFO] [stdout] test test::test_multiple_replacements ... ok [INFO] [stdout] test test::test_split_at_end ... ok [INFO] [stdout] test test::test_escape_sql_empty_string ... ok [INFO] [stdout] test test::test_reverse_single_element_vector ... ok [INFO] [stdout] test test::test_special_characters_in_replacement ... ok [INFO] [stdout] test test::test_split_at_length ... 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_string_vector ... ok [INFO] [stdout] test test::test_string_to_bytes ... ok [INFO] [stdout] test test::test_to_array_single_element ... ok [INFO] [stdout] test test::test_to_array_with_empty_string ... ok [INFO] [stdout] test test::test_to_array_preserves_inner_spaces ... ok [INFO] [stdout] test test::test_string_to_hex ... ok [INFO] [stdout] test test::test_to_array_with_special_characters ... ok [INFO] [stdout] test test::test_to_array_basic ... ok [INFO] [stdout] test test::test_to_array_with_whitespace_only_elements ... ok [INFO] [stdout] test test::test_to_array_with_only_commas ... ok [INFO] [stdout] test test::test_split_with_non_copy_type ... ok [INFO] [stdout] test test::test_unicode_characters ... ok [INFO] [stdout] test test::test_with_strings ... ok [INFO] [stdout] test test::test_with_custom_type ... ok [INFO] [stdout] test test::test_is_contain_word ... ok [INFO] [stdout] test test::test_to_array_with_empty_elements ... 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_reverse_string_vector ... ok [INFO] [stdout] test test::test_split_vector_of_options ... ok [INFO] [stdout] test test::test_split_out_of_bounds - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests byteutils [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - hex_to_string (line 166) ... ok [INFO] [stdout] test src/string.rs - string::escape_sql (line 48) ... ok [INFO] [stdout] test src/lib.rs - string_to_hex (line 139) ... ok [INFO] [stdout] test src/lib.rs - bytes_to_string (line 91) ... ok [INFO] [stdout] test src/string.rs - string::is_contain_word (line 96) ... ok [INFO] [stdout] test src/string.rs - string::enclose_quotes (line 69) ... ok [INFO] [stdout] test src/string.rs - string::to_array (line 21) ... ok [INFO] [stdout] test src/lib.rs - hex_to_bytes (line 56) ... ok [INFO] [stdout] test src/string.rs - string::has_contain_words (line 125) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 160) ... ok [INFO] [stdout] test src/lib.rs - bytes_to_hex (line 24) ... ok [INFO] [stdout] test src/string.rs - string::replace_placeholder (line 155) ... ok [INFO] [stdout] test src/lib.rs - string_to_bytes (line 115) ... ok [INFO] [stdout] test src/vec.rs - vec::dedup (line 20) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 167) ... ok [INFO] [stdout] test src/string.rs - string::replace_multiple_placeholders (line 194) ... ok [INFO] [stdout] test src/vec.rs - vec::retain_if (line 49) ... ok [INFO] [stdout] test src/vec.rs - vec::reverse_in_place (line 69) ... ok [INFO] [stdout] test src/vec.rs - vec::split_at_vec (line 112) ... ok [INFO] [stdout] test src/vec.rs - vec::get_unique (line 174) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e49878b122a7900d78c9777e42fb82a0bfd23e39e02994dfc03ece3586fb0b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49878b122a7900d78c9777e42fb82a0bfd23e39e02994dfc03ece3586fb0b40", kill_on_drop: false }` [INFO] [stdout] e49878b122a7900d78c9777e42fb82a0bfd23e39e02994dfc03ece3586fb0b40