[INFO] cloning repository https://github.com/dprint/dprint-plugin-typescript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dprint/dprint-plugin-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 059d0b91b792353030bedac1f861b73a306796cc [INFO] testing dprint/dprint-plugin-typescript against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-typescript on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-18/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dprint/dprint-plugin-typescript [INFO] finished tweaking git repo https://github.com/dprint/dprint-plugin-typescript [INFO] tweaked toml for git repo https://github.com/dprint/dprint-plugin-typescript written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/dprint/dprint-plugin-typescript already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deno_ast v0.14.0 [INFO] [stderr] Downloaded string_cache v0.8.4 [INFO] [stderr] Downloaded swc_visit_macros v0.3.1 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Downloaded swc_macros_common v0.3.3 [INFO] [stderr] Downloaded string_cache_codegen v0.5.2 [INFO] [stderr] Downloaded swc_atoms v0.2.11 [INFO] [stderr] Downloaded lexical-write-integer v0.8.3 [INFO] [stderr] Downloaded enum_kind v0.2.1 [INFO] [stderr] Downloaded dprint-swc-ecma-ast-view v0.55.0 [INFO] [stderr] Downloaded string_enum v0.3.1 [INFO] [stderr] Downloaded swc_visit v0.3.0 [INFO] [stderr] Downloaded from_variant v0.1.3 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.3 [INFO] [stderr] Downloaded lexical-util v0.8.3 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded swc_ecmascript v0.143.0 [INFO] [stderr] Downloaded swc_common v0.17.19 [INFO] [stderr] Downloaded swc_ecma_ast v0.75.0 [INFO] [stderr] Downloaded unicode-id v0.3.0 [INFO] [stderr] Downloaded dprint-core v0.55.2 [INFO] [stderr] Downloaded lexical-parse-float v0.8.3 [INFO] [stderr] Downloaded lexical-core v0.8.3 [INFO] [stderr] Downloaded lexical-write-float v0.8.3 [INFO] [stderr] Downloaded lexical v6.1.0 [INFO] [stderr] Downloaded is-macro v0.2.0 [INFO] [stderr] Downloaded ast_node v0.7.7 [INFO] [stderr] Downloaded better_scoped_tls v0.1.0 [INFO] [stderr] Downloaded swc_ecma_parser v0.100.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f36c9e751a1b637d1719354fb15d1cc05d8f8b5952f891f32ff4624f21cac67 [INFO] running `Command { std: "docker" "start" "-a" "1f36c9e751a1b637d1719354fb15d1cc05d8f8b5952f891f32ff4624f21cac67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f36c9e751a1b637d1719354fb15d1cc05d8f8b5952f891f32ff4624f21cac67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f36c9e751a1b637d1719354fb15d1cc05d8f8b5952f891f32ff4624f21cac67", kill_on_drop: false }` [INFO] [stdout] 1f36c9e751a1b637d1719354fb15d1cc05d8f8b5952f891f32ff4624f21cac67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e8f432a97914689a752bccdbba075c36b2d398af798600da421f245fe8c3040 [INFO] running `Command { std: "docker" "start" "-a" "4e8f432a97914689a752bccdbba075c36b2d398af798600da421f245fe8c3040", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-id v0.3.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling better_scoped_tls v0.1.0 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling lexical-write-float v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling swc_atoms v0.2.11 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling swc_visit_macros v0.3.1 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling is-macro v0.2.0 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.7 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling swc_visit v0.3.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling text_lines v0.4.1 [INFO] [stderr] Compiling dprint-core v0.55.2 [INFO] [stderr] Compiling swc_common v0.17.19 [INFO] [stderr] Compiling swc_ecma_ast v0.75.0 [INFO] [stderr] Compiling swc_ecma_parser v0.100.0 [INFO] [stderr] Compiling swc_ecmascript v0.143.0 [INFO] [stderr] Compiling dprint-swc-ecma-ast-view v0.55.0 [INFO] [stderr] Compiling deno_ast v0.14.0 [INFO] [stderr] Compiling dprint-plugin-typescript v0.67.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "4e8f432a97914689a752bccdbba075c36b2d398af798600da421f245fe8c3040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8f432a97914689a752bccdbba075c36b2d398af798600da421f245fe8c3040", kill_on_drop: false }` [INFO] [stdout] 4e8f432a97914689a752bccdbba075c36b2d398af798600da421f245fe8c3040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a993d579afe18433c46cb700277ca40bbfab3ea870795eab44b468d99629bd0b [INFO] running `Command { std: "docker" "start" "-a" "a993d579afe18433c46cb700277ca40bbfab3ea870795eab44b468d99629bd0b", 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] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dprint-development v0.9.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling debug-here v0.2.2 [INFO] [stderr] Compiling dprint-plugin-typescript v0.67.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "a993d579afe18433c46cb700277ca40bbfab3ea870795eab44b468d99629bd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a993d579afe18433c46cb700277ca40bbfab3ea870795eab44b468d99629bd0b", kill_on_drop: false }` [INFO] [stdout] a993d579afe18433c46cb700277ca40bbfab3ea870795eab44b468d99629bd0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48b316cca3d97b23733a87577b90025a1da506e946352984b3f051f07d248322 [INFO] running `Command { std: "docker" "start" "-a" "48b316cca3d97b23733a87577b90025a1da506e946352984b3f051f07d248322", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-42d1c9a8eb23235b) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config_with_overwrites ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config ... ok [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_compare_module_specifiers ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_absolute ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_relative ... ok [INFO] [stdout] test format_text::test::it_should_error_for_exected_close_brace ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_when_empty ... ok [INFO] [stdout] test format_text::test::it_should_error_for_exected_expr_issue_121 ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_first_comment_in_file ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_multi_line_comment ... ok [INFO] [stdout] test format_text::test::it_should_error_for_no_equals_sign_in_var_decl ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_multi_line_comment_and_new_lines_before ... ok [INFO] [stdout] test format_text::test::it_should_error_when_var_stmts_sep_by_comma ... ok [INFO] [stdout] test swc::tests::should_error_on_syntax_diagnostic ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_not_first_and_other_types_of_comments ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_skip_over_shebang ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_empty_last_line ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_non_empty_last_line ... ok [INFO] [stdout] test swc::tests::it_should_error_without_issue_when_there_exists_multi_byte_char_on_line_with_syntax_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-3b14751a892cd371) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests dprint-plugin-typescript [INFO] [stdout] test test_specs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.66s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/configuration/builder.rs - configuration::builder::ConfigurationBuilder (line 9) ... ok [INFO] [stdout] test src/configuration/resolve_config.rs - configuration::resolve_config::resolve_config (line 9) ... ok [INFO] [stdout] test src/format_text.rs - format_text::format_text (line 20) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48b316cca3d97b23733a87577b90025a1da506e946352984b3f051f07d248322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b316cca3d97b23733a87577b90025a1da506e946352984b3f051f07d248322", kill_on_drop: false }` [INFO] [stdout] 48b316cca3d97b23733a87577b90025a1da506e946352984b3f051f07d248322