[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] 8bd7c490c1a17c983d4f980d66ee8881c3db6321 [INFO] testing dprint/dprint-plugin-typescript against 1.62.0 for beta-1.63-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-typescript on toolchain 1.62.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/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-1/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.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_lines v0.4.1 [INFO] [stderr] Downloaded deno_ast v0.17.0 [INFO] [stderr] Downloaded dprint-swc-ext v0.3.0 [INFO] [stderr] Downloaded debug-here v0.2.2 [INFO] [stderr] Downloaded lexical-write-float v0.8.3 [INFO] [stderr] Downloaded unicode-id v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a455301ad7d0deb9dd33f2b01af5cc6f69322dfb01b87ef3d86a5c4504599497 [INFO] running `Command { std: "docker" "start" "-a" "a455301ad7d0deb9dd33f2b01af5cc6f69322dfb01b87ef3d86a5c4504599497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a455301ad7d0deb9dd33f2b01af5cc6f69322dfb01b87ef3d86a5c4504599497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a455301ad7d0deb9dd33f2b01af5cc6f69322dfb01b87ef3d86a5c4504599497", kill_on_drop: false }` [INFO] [stdout] a455301ad7d0deb9dd33f2b01af5cc6f69322dfb01b87ef3d86a5c4504599497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5a60f0327adb0d07588ced9adbb8eae67365523aa5732b15233ca03b4b31dd0 [INFO] running `Command { std: "docker" "start" "-a" "b5a60f0327adb0d07588ced9adbb8eae67365523aa5732b15233ca03b4b31dd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [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 tinyvec_macros v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-id v0.3.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling hashbrown v0.12.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 tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling better_scoped_tls v0.1.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling lexical-write-float v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling swc_atoms v0.2.13 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling swc_macros_common v0.3.5 [INFO] [stderr] Compiling swc_visit_macros v0.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling is-macro v0.2.0 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling ast_node v0.8.1 [INFO] [stderr] Compiling swc_visit v0.4.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling text_lines v0.4.1 [INFO] [stderr] Compiling dprint-core v0.58.3 [INFO] [stderr] Compiling swc_common v0.23.0 [INFO] [stderr] Compiling swc_ecma_ast v0.84.0 [INFO] [stderr] Compiling swc_ecma_parser v0.111.0 [INFO] [stderr] Compiling dprint-swc-ext v0.3.0 [INFO] [stderr] Compiling deno_ast v0.17.0 [INFO] [stderr] Compiling dprint-plugin-typescript v0.70.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 45s [INFO] running `Command { std: "docker" "inspect" "b5a60f0327adb0d07588ced9adbb8eae67365523aa5732b15233ca03b4b31dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a60f0327adb0d07588ced9adbb8eae67365523aa5732b15233ca03b4b31dd0", kill_on_drop: false }` [INFO] [stdout] b5a60f0327adb0d07588ced9adbb8eae67365523aa5732b15233ca03b4b31dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4e945bf723374f5b7c9fce0dce201baef33ab72191d57dc027daad529952633 [INFO] running `Command { std: "docker" "start" "-a" "d4e945bf723374f5b7c9fce0dce201baef33ab72191d57dc027daad529952633", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [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 console v0.14.1 [INFO] [stderr] Compiling dprint-development v0.9.1 [INFO] [stderr] Compiling addr2line v0.17.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.70.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-1330d5abae5e441d) [INFO] [stderr] Executable tests/test.rs (/opt/rustwide/target/debug/deps/test-8d12eac3402d1f9f) [INFO] running `Command { std: "docker" "inspect" "d4e945bf723374f5b7c9fce0dce201baef33ab72191d57dc027daad529952633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e945bf723374f5b7c9fce0dce201baef33ab72191d57dc027daad529952633", kill_on_drop: false }` [INFO] [stdout] d4e945bf723374f5b7c9fce0dce201baef33ab72191d57dc027daad529952633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0d437b6e8ee2001f1fbdb30f1e1f72cb17d474d98a7da57ce50f24222aaa53d [INFO] running `Command { std: "docker" "start" "-a" "d0d437b6e8ee2001f1fbdb30f1e1f72cb17d474d98a7da57ce50f24222aaa53d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-1330d5abae5e441d) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_when_empty ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config ... ok [INFO] [stdout] test swc::tests::it_should_error_for_exected_close_brace ... ok [INFO] [stdout] test swc::tests::it_should_error_for_exected_expr_issue_121 ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config_with_overwrites ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config_default ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_relative ... ok [INFO] [stdout] test swc::tests::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 ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_first_comment_in_file ... ok [INFO] [stdout] test swc::tests::should_error_on_syntax_diagnostic ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_compare_module_specifiers ... 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] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_absolute ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_empty_last_line ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_skip_over_shebang ... 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_be_true_when_multi_line_comment_and_new_lines_before ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_non_empty_last_line ... ok [INFO] [stdout] test swc::tests::it_should_error_when_var_stmts_sep_by_comma ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-8d12eac3402d1f9f) [INFO] [stdout] [INFO] [stdout] running 1 test [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 4.62s [INFO] [stdout] [INFO] [stderr] Doc-tests dprint-plugin-typescript [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 11.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0d437b6e8ee2001f1fbdb30f1e1f72cb17d474d98a7da57ce50f24222aaa53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d437b6e8ee2001f1fbdb30f1e1f72cb17d474d98a7da57ce50f24222aaa53d", kill_on_drop: false }` [INFO] [stdout] d0d437b6e8ee2001f1fbdb30f1e1f72cb17d474d98a7da57ce50f24222aaa53d