[INFO] fetching crate dprint-swc-ext 0.24.0... [INFO] testing dprint-swc-ext-0.24.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate dprint-swc-ext 0.24.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dprint-swc-ext 0.24.0 [INFO] finished tweaking crates.io crate dprint-swc-ext 0.24.0 [INFO] tweaked toml for crates.io crate dprint-swc-ext 0.24.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dprint-swc-ext 0.24.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dprint-swc-ext 0.24.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_allocator v4.0.0 [INFO] [stderr] Downloaded text_lines v0.6.0 [INFO] [stderr] Downloaded sourcemap v9.2.0 [INFO] [stderr] Downloaded swc_atoms v5.0.0 [INFO] [stderr] Downloaded hstr v1.0.0 [INFO] [stderr] Downloaded psm v0.1.25 [INFO] [stderr] Downloaded swc_ecma_ast v9.0.0 [INFO] [stderr] Downloaded uuid v1.14.0 [INFO] [stderr] Downloaded swc_ecma_lexer v12.0.0 [INFO] [stderr] Downloaded swc_common v9.2.0 [INFO] [stderr] Downloaded swc_ecma_parser v12.0.0 [INFO] [stderr] Downloaded stacker v0.1.19 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd8b6143fd219103a781f0a6c98b619bc75f80895e7e7d83ec709dd24538a6b [INFO] running `Command { std: "docker" "start" "-a" "2fd8b6143fd219103a781f0a6c98b619bc75f80895e7e7d83ec709dd24538a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd8b6143fd219103a781f0a6c98b619bc75f80895e7e7d83ec709dd24538a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd8b6143fd219103a781f0a6c98b619bc75f80895e7e7d83ec709dd24538a6b", kill_on_drop: false }` [INFO] [stdout] 2fd8b6143fd219103a781f0a6c98b619bc75f80895e7e7d83ec709dd24538a6b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c576be4dbf68b63418cc2a38201362a2406ae024709fcc33fe59e4dce1d6f441 [INFO] running `Command { std: "docker" "start" "-a" "c576be4dbf68b63418cc2a38201362a2406ae024709fcc33fe59e4dce1d6f441", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v9.2.0 [INFO] [stderr] Compiling swc_ecma_ast v9.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v12.0.0 [INFO] [stderr] Compiling swc_ecma_parser v12.0.0 [INFO] [stderr] Compiling dprint-swc-ext v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/text_info.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.85s [INFO] running `Command { std: "docker" "inspect" "c576be4dbf68b63418cc2a38201362a2406ae024709fcc33fe59e4dce1d6f441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c576be4dbf68b63418cc2a38201362a2406ae024709fcc33fe59e4dce1d6f441", kill_on_drop: false }` [INFO] [stdout] c576be4dbf68b63418cc2a38201362a2406ae024709fcc33fe59e4dce1d6f441 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b029fbe23aab3b1903d964cbb4682c49eabd50d802fac4a742f7263ab5ad8cd5 [INFO] running `Command { std: "docker" "start" "-a" "b029fbe23aab3b1903d964cbb4682c49eabd50d802fac4a742f7263ab5ad8cd5", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/text_info.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling dprint-swc-ext v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/text_info.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_string_input(&self) -> StringInput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "b029fbe23aab3b1903d964cbb4682c49eabd50d802fac4a742f7263ab5ad8cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b029fbe23aab3b1903d964cbb4682c49eabd50d802fac4a742f7263ab5ad8cd5", kill_on_drop: false }` [INFO] [stdout] b029fbe23aab3b1903d964cbb4682c49eabd50d802fac4a742f7263ab5ad8cd5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 31c09829570e13c50f00752e1db46aa127b1e8be440c87369b85d44bdddc1429 [INFO] running `Command { std: "docker" "start" "-a" "31c09829570e13c50f00752e1db46aa127b1e8be440c87369b85d44bdddc1429", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/common/text_info.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn as_string_input(&self) -> StringInput { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn as_string_input(&self) -> StringInput<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dprint-swc-ext` (lib) generated 1 warning (run `cargo fix --lib -p dprint-swc-ext` to apply 1 suggestion) [INFO] [stderr] warning: `dprint-swc-ext` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dprint_swc_ext-9cee82798d1012fd) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test common::pos::test::source_range_contains ... ok [INFO] [stdout] test common::text_encoding::test::strip_bom_mut_with_bom ... ok [INFO] [stdout] test common::text_encoding::test::strip_bom_mut_without_bom ... ok [INFO] [stdout] test common::text_info::test::line_and_column_index ... ok [INFO] [stdout] test common::text_info::test::line_start ... ok [INFO] [stdout] test common::text_info::test::line_end ... ok [INFO] [stdout] test common::tokens::test::get_next_token ... ok [INFO] [stdout] test common::text_info::test::line_and_column_index_panic_greater_than - should panic ... ok [INFO] [stdout] test common::text_info::test::line_and_column_index_panic_less_than - should panic ... ok [INFO] [stdout] test common::text_info::test::line_start_equal_number_lines - should panic ... ok [INFO] [stdout] test common::text_info::test::line_end_equal_number_lines - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31c09829570e13c50f00752e1db46aa127b1e8be440c87369b85d44bdddc1429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c09829570e13c50f00752e1db46aa127b1e8be440c87369b85d44bdddc1429", kill_on_drop: false }` [INFO] [stdout] 31c09829570e13c50f00752e1db46aa127b1e8be440c87369b85d44bdddc1429