[INFO] fetching crate formatify 0.2.0... [INFO] testing formatify-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate formatify 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate formatify 0.2.0 [INFO] finished tweaking crates.io crate formatify 0.2.0 [INFO] tweaked toml for crates.io crate formatify 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate formatify 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82a83f46d2347d59ffb9a13e5659235da06f6a52c563b9ba0fc7a687b393d47b [INFO] running `Command { std: "docker" "start" "-a" "82a83f46d2347d59ffb9a13e5659235da06f6a52c563b9ba0fc7a687b393d47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82a83f46d2347d59ffb9a13e5659235da06f6a52c563b9ba0fc7a687b393d47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a83f46d2347d59ffb9a13e5659235da06f6a52c563b9ba0fc7a687b393d47b", kill_on_drop: false }` [INFO] [stdout] 82a83f46d2347d59ffb9a13e5659235da06f6a52c563b9ba0fc7a687b393d47b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7ba766b0d850ccbbdc3faca6d19ff76a5e22b902521ac828c22854d9b7c99ce [INFO] running `Command { std: "docker" "start" "-a" "b7ba766b0d850ccbbdc3faca6d19ff76a5e22b902521ac828c22854d9b7c99ce", kill_on_drop: false }` [INFO] [stderr] Compiling formatify v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "b7ba766b0d850ccbbdc3faca6d19ff76a5e22b902521ac828c22854d9b7c99ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ba766b0d850ccbbdc3faca6d19ff76a5e22b902521ac828c22854d9b7c99ce", kill_on_drop: false }` [INFO] [stdout] b7ba766b0d850ccbbdc3faca6d19ff76a5e22b902521ac828c22854d9b7c99ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0ea599e3a8dc8ae16876150aca277676630e1d91348a186b942345dcf872b99 [INFO] running `Command { std: "docker" "start" "-a" "a0ea599e3a8dc8ae16876150aca277676630e1d91348a186b942345dcf872b99", kill_on_drop: false }` [INFO] [stderr] Compiling formatify v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "a0ea599e3a8dc8ae16876150aca277676630e1d91348a186b942345dcf872b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ea599e3a8dc8ae16876150aca277676630e1d91348a186b942345dcf872b99", kill_on_drop: false }` [INFO] [stdout] a0ea599e3a8dc8ae16876150aca277676630e1d91348a186b942345dcf872b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57a2cab523479d34f5227e9c3b4e7e44a6e15f44838e0b65d8b112989412d9f2 [INFO] running `Command { std: "docker" "start" "-a" "57a2cab523479d34f5227e9c3b4e7e44a6e15f44838e0b65d8b112989412d9f2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/formatify-008877c138c76d1e) [INFO] [stdout] [INFO] [stdout] running 61 tests [INFO] [stdout] test tests_extract_placeholder_keys::test_with_empty_input_returns_empty_vec ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_multiple_placeholders_return_two_placeholders ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_plain_string_returns_empty_vec ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_undefined_second_placeholder_returns_two_placeholders ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_single_placeholder_returns_one_placeholder ... ok [INFO] [stdout] test tests_measure_lengths::test_with_empty_input_returns_vec0 ... ok [INFO] [stdout] test tests_measure_lengths::test_with_invalid_token_type_counts_length_of_unreplaced_string ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_align_truncate_placeholder_and_exact_length_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_align_truncate_placeholder_and_shorter_value_with_umlauts_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_alignment_placeholder_and_exact_length_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_align_truncate_placeholder_and_longer_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_alignment_placeholder_and_longer_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_left_alignment_placeholder_and_shorter_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_one_char_token_type_counts_length_of_replaced_char ... ok [INFO] [stdout] test tests_measure_lengths::test_with_multiple_placeholders_return_correct_length_of_string_and_placeholders ... ok [INFO] [stdout] test tests_measure_lengths::test_with_right_alignment_placeholder_and_exact_length_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_plain_string_returns_correct_length ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_empty_input_returns_empty_string ... ok [INFO] [stdout] test tests_measure_lengths::test_with_unicode_string_returns_correct_length ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_unicode_string_returns_empty_vec ... ok [INFO] [stdout] test tests_measure_lengths::test_with_right_align_truncate_placeholder_and_longer_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_undefined_second_placeholder_return_correct_length_of_string_and_placeholders ... ok [INFO] [stdout] test tests_measure_lengths::test_with_single_placeholder_measures_correctly ... ok [INFO] [stdout] test tests_measure_lengths::test_with_right_align_truncate_placeholder_and_shorter_value_with_umlauts_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_right_alignment_placeholder_and_longer_value_returns_correct_length ... ok [INFO] [stdout] test tests_measure_lengths::test_with_right_alignment_placeholder_and_shorter_returns_correct_length ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_escaped_percent_sign_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_incomplete_placeholder_syntax_keeps_it_unreplaced ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_invalid_left_align_placeholder_keeps_format_specifier_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_invalid_token_type_leaves_token_unreplaced ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_left_truncate_placeholder_and_longer_value_truncates_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_truncate_placeholder_and_exact_length_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_truncate_placeholder_and_longer_value_truncates_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_truncate_placeholder_and_exact_length_value_with_spaces_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_truncate_placeholder_and_longer_value_with_umlauts_truncates_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_alignment_placeholder_and_exact_length_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_truncate_placeholder_and_shorter_value_with_umlauts_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_alignment_placeholder_and_longer_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_multiple_placeholders_replaces_all_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_alignment_placeholder_and_shorter_value_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_multiple_placeholders_and_delimiters_replaces_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_align_left_truncate_placeholder_and_longer_value_truncates_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_align_left_truncate_placeholder_and_shorter_value_with_umlauts_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_align_truncate_placeholder_and_exact_length_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_align_truncate_placeholder_and_longer_value_truncates_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_newline_placeholder_at_end_inserts_newline ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_one_char_token_type_replaces_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_alignment_placeholder_and_exact_length_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_align_truncate_placeholder_and_shorter_value_with_umlauts_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_alignment_placeholder_and_longer_value_keeps_it_unchanged ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_single_placeholder_alternative_value_replaces_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_single_placeholder_replaces_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_left_align_left_truncate_placeholder_and_shorter_value_with_umlauts_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_newline_placeholder_inserts_newline ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_right_alignment_placeholder_and_shorter_value_pads_correctly ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_plain_string_returns_same_string ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_unicode_string_returns_same_string ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_incorrect_placeholder_syntax_keeps_it_unreplaced ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_undefined_second_placeholder_keeps_it_unreplaced ... ok [INFO] [stdout] test tests_replace_placeholders::test_with_undefined_first_placeholder_keeps_it_unreplaced ... ok [INFO] [stdout] test tests_extract_placeholder_keys::test_with_incomplete_placeholder_syntax_returns_empty_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 61 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests formatify [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - Formatify (line 200) ... ok [INFO] [stdout] test src/lib.rs - Formatify (line 215) ... ok [INFO] [stdout] test src/placeholder_formatter.rs - placeholder_formatter::PlaceholderFormatter::measure_lengths (line 60) ... ok [INFO] [stdout] test src/lib.rs - Formatify (line 227) ... ok [INFO] [stdout] test src/lib.rs - Formatify (line 239) ... ok [INFO] [stdout] test src/placeholder_formatter.rs - placeholder_formatter::PlaceholderFormatter::extract_placeholder_keys (line 90) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/placeholder_formatter.rs - placeholder_formatter::PlaceholderFormatter::replace_placeholders (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "57a2cab523479d34f5227e9c3b4e7e44a6e15f44838e0b65d8b112989412d9f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a2cab523479d34f5227e9c3b4e7e44a6e15f44838e0b65d8b112989412d9f2", kill_on_drop: false }` [INFO] [stdout] 57a2cab523479d34f5227e9c3b4e7e44a6e15f44838e0b65d8b112989412d9f2