[INFO] fetching crate string_wizard 0.0.26... [INFO] testing string_wizard-0.0.26 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate string_wizard 0.0.26 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate string_wizard 0.0.26 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate string_wizard 0.0.26 [INFO] tweaked toml for crates.io crate string_wizard 0.0.26 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate string_wizard 0.0.26 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate string_wizard 0.0.26 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2bfce7951d8e3b12ccde1082b606be887697a0cb1ff23b4afeb93e14d4c629e [INFO] running `Command { std: "docker" "start" "-a" "d2bfce7951d8e3b12ccde1082b606be887697a0cb1ff23b4afeb93e14d4c629e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2bfce7951d8e3b12ccde1082b606be887697a0cb1ff23b4afeb93e14d4c629e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bfce7951d8e3b12ccde1082b606be887697a0cb1ff23b4afeb93e14d4c629e", kill_on_drop: false }` [INFO] [stdout] d2bfce7951d8e3b12ccde1082b606be887697a0cb1ff23b4afeb93e14d4c629e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04288a253ce036f71caa6ad370759ffafa8f3a5bd77ee53c913691c0e0e835e9 [INFO] running `Command { std: "docker" "start" "-a" "04288a253ce036f71caa6ad370759ffafa8f3a5bd77ee53c913691c0e0e835e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling oxc_index v2.0.0 [INFO] [stderr] Compiling oxc_sourcemap v1.0.6 [INFO] [stderr] Compiling string_wizard v0.0.26 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/magic_string/mod.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.28s [INFO] running `Command { std: "docker" "inspect" "04288a253ce036f71caa6ad370759ffafa8f3a5bd77ee53c913691c0e0e835e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04288a253ce036f71caa6ad370759ffafa8f3a5bd77ee53c913691c0e0e835e9", kill_on_drop: false }` [INFO] [stdout] 04288a253ce036f71caa6ad370759ffafa8f3a5bd77ee53c913691c0e0e835e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8eb56ae7f932473a2758b87ec0bf133c0813d5458679deef06528cef3b1918a [INFO] running `Command { std: "docker" "start" "-a" "b8eb56ae7f932473a2758b87ec0bf133c0813d5458679deef06528cef3b1918a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/magic_string/mod.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling insta v1.41.1 [INFO] [stderr] Compiling string_wizard v0.0.26 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/magic_string/mod.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn iter_chunks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.88s [INFO] running `Command { std: "docker" "inspect" "b8eb56ae7f932473a2758b87ec0bf133c0813d5458679deef06528cef3b1918a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8eb56ae7f932473a2758b87ec0bf133c0813d5458679deef06528cef3b1918a", kill_on_drop: false }` [INFO] [stdout] b8eb56ae7f932473a2758b87ec0bf133c0813d5458679deef06528cef3b1918a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b5372ca3b6b08ad49ad4a5ceb4c7fabc3577b84edd856445bc290066ea8c406 [INFO] running `Command { std: "docker" "start" "-a" "8b5372ca3b6b08ad49ad4a5ceb4c7fabc3577b84edd856445bc290066ea8c406", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/magic_string/mod.rs:107:18 [INFO] [stderr] | [INFO] [stderr] 107 | fn iter_chunks(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 107 | fn iter_chunks(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `string_wizard` (lib) generated 1 warning (run `cargo fix --lib -p string_wizard` to apply 1 suggestion) [INFO] [stderr] warning: `string_wizard` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/string_wizard-ff5aba46996c94a0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test source_map::locator::basic ... ok [INFO] [stdout] test source_map::locator::special_chars ... ok [INFO] [stdout] test source_map::locator::edge_cases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/joiner.rs (/opt/rustwide/target/debug/deps/joiner-89e6de7e5e9b7a31) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test append::should_append_content ... ok [INFO] [stdout] test separator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/magic_string.rs (/opt/rustwide/target/debug/deps/magic_string-af18b0911795dfbf) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test clone::should_clone_a_magic_string ... ok [INFO] [stdout] test append::should_append_content ... ok [INFO] [stdout] test indent::should_disregard_single_space_indentation_when_auto_indenting ... ok [INFO] [stdout] test indent::should_indent_content_using_the_supplied_indent_string ... ok [INFO] [stdout] test indent::should_indent_content_with_a_single_tab_character_by_default ... ok [INFO] [stdout] test indent::should_ignore_the_end_of_each_exclude_range ... ok [INFO] [stdout] test indent::should_not_add_characters_to_empty_lines ... ok [INFO] [stdout] test indent::should_not_add_characters_to_empty_lines_even_on_windows ... ok [INFO] [stdout] test indent::should_indent_content_with_removals ... ok [INFO] [stdout] test indent::should_indent_content_with_a_single_tab_character_by_default2 ... ok [INFO] [stdout] test indent::should_not_indent_patches_in_the_middle_of_a_line ... ok [INFO] [stdout] test indent::should_prevent_excluded_characters_from_being_indented ... ok [INFO] [stdout] test misc::allow_empty_input ... ok [INFO] [stdout] test misc::has_changed ... ok [INFO] [stdout] test options::stores_source_file_information ... ok [INFO] [stdout] test prepend_append_left_right::preserves_intended_order_at_end_of_string ... ok [INFO] [stdout] test prepend_append_left_right::preserves_intended_order_at_beginning_of_string ... ok [INFO] [stdout] test relocate::handles_multiple_moves_of_the_same_snippet ... ok [INFO] [stdout] test prepend_append_left_right::preserves_intended_order ... ok [INFO] [stdout] test relocate::ignores_redundant_move ... ok [INFO] [stdout] test relocate::handles_moves_of_adjacent_snippets ... ok [INFO] [stdout] test relocate::allows_edits_of_moved_content ... ok [INFO] [stdout] test relocate::moves_content_to_the_middle ... ok [INFO] [stdout] test relocate::moves_content_to_the_start ... ok [INFO] [stdout] test misc::remove ... ok [INFO] [stdout] test relocate::moves_content_to_the_end ... ok [INFO] [stdout] test misc::should_append_content ... ok [INFO] [stdout] test overwrite::should_replace_characters ... ok [INFO] [stdout] test relocate::handles_moves_to_same_index ... ok [INFO] [stdout] test relocate::moves_content_from_the_end ... ok [INFO] [stdout] test relocate::moves_content_inserted_at_end_of_range ... ok [INFO] [stdout] test indent::should_indent_content_using_the_empty_string_if_specified ... ok [INFO] [stdout] test indent::should_indent_content_using_existing_indentation_as_a_guide ... ok [INFO] [stdout] test relocate::moves_content_from_the_start ... ok [INFO] [stdout] test relocate::refuses_to_move_a_selection_to_inside_itself - should panic ... ok [INFO] [stdout] test relocate::refuses_to_move_a_selection_to_inside_itself2 - should panic ... ok [INFO] [stdout] test relocate::refuses_to_move_a_selection_to_inside_itself3 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/magic_string_replace.rs (/opt/rustwide/target/debug/deps/magic_string_replace-a91c1906c5e6fa85) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test replace_all::works_with_string_replace ... ok [INFO] [stdout] test replace_all::should_not_search_back ... ok [INFO] [stdout] test should_not_search_back ... ok [INFO] [stdout] test works_with_string_replace ... ok [INFO] [stdout] test replace_sourcemap ... ok [INFO] [stdout] test replace_sourcemap_with_chinese ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/magic_string_source_map.rs (/opt/rustwide/target/debug/deps/magic_string_source_map-f98c3df2c19ae630) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test basic ... ok [INFO] [stdout] test test_hires ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests string_wizard [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/magic_string/append.rs - magic_string::append::MagicString<'text>::append_right (line 30) ... ok [INFO] [stdout] test src/magic_string/append.rs - magic_string::append::MagicString<'text>::append_left (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b5372ca3b6b08ad49ad4a5ceb4c7fabc3577b84edd856445bc290066ea8c406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5372ca3b6b08ad49ad4a5ceb4c7fabc3577b84edd856445bc290066ea8c406", kill_on_drop: false }` [INFO] [stdout] 8b5372ca3b6b08ad49ad4a5ceb4c7fabc3577b84edd856445bc290066ea8c406