[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] c47647b08a87e0d1d57d56e5d3cb2c25aaed5d69 [INFO] testing dprint/dprint-plugin-typescript against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-typescript on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded text_lines v0.3.0 [INFO] [stderr] Downloaded swc_visit_macros v0.2.3 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded from_variant v0.1.3 [INFO] [stderr] Downloaded swc_atoms v0.2.7 [INFO] [stderr] Downloaded is-macro v0.1.9 [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] [stderr] Downloaded enum_kind v0.2.1 [INFO] [stderr] Downloaded dprint-swc-ecma-ast-view v0.35.0 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded dprint-core v0.46.1 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded swc_common v0.12.0 [INFO] [stderr] Downloaded swc_macros_common v0.3.3 [INFO] [stderr] Downloaded swc_visit v0.2.6 [INFO] [stderr] Downloaded swc_ecmascript v0.63.1 [INFO] [stderr] Downloaded swc_ecma_parser v0.70.2 [INFO] [stderr] Downloaded string_enum v0.3.1 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Downloaded ast_node v0.7.3 [INFO] [stderr] Downloaded swc_ecma_ast v0.52.0 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded swc_ecma_visit v0.38.1 [INFO] [stderr] Downloaded debug-here v0.2.2 [INFO] [stderr] Downloaded dprint-development v0.4.1 [INFO] [stderr] Downloaded similar v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 2feafa3f140499ba951873af2b8780271acbf00989b4373af8c9289c1b645d23 [INFO] running `Command { std: "docker" "start" "-a" "2feafa3f140499ba951873af2b8780271acbf00989b4373af8c9289c1b645d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2feafa3f140499ba951873af2b8780271acbf00989b4373af8c9289c1b645d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2feafa3f140499ba951873af2b8780271acbf00989b4373af8c9289c1b645d23", kill_on_drop: false }` [INFO] [stdout] 2feafa3f140499ba951873af2b8780271acbf00989b4373af8c9289c1b645d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d4ac6977ce1a0e9a303f4e183135bd51e1c8b407ab1d4c6d2026b513339d553 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9d4ac6977ce1a0e9a303f4e183135bd51e1c8b407ab1d4c6d2026b513339d553", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling text_lines v0.3.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling swc_atoms v0.2.7 [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.130 [INFO] [stderr] Compiling swc_visit_macros v0.2.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling is-macro v0.1.9 [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.3 [INFO] [stderr] Compiling swc_visit v0.2.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling dprint-core v0.46.1 [INFO] [stderr] Compiling swc_common v0.12.0 [INFO] [stderr] Compiling swc_ecma_ast v0.52.0 [INFO] [stderr] Compiling swc_ecma_visit v0.38.1 [INFO] [stderr] Compiling swc_ecma_parser v0.70.2 [INFO] [stderr] Compiling swc_ecmascript v0.63.1 [INFO] [stderr] Compiling dprint-swc-ecma-ast-view v0.35.0 [INFO] [stderr] Compiling dprint-plugin-typescript v0.55.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "9d4ac6977ce1a0e9a303f4e183135bd51e1c8b407ab1d4c6d2026b513339d553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4ac6977ce1a0e9a303f4e183135bd51e1c8b407ab1d4c6d2026b513339d553", kill_on_drop: false }` [INFO] [stdout] 9d4ac6977ce1a0e9a303f4e183135bd51e1c8b407ab1d4c6d2026b513339d553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9cf7860a1c476c03f3694cd4a415e71526e95d62874aa1b224c79bf0208b17c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9cf7860a1c476c03f3694cd4a415e71526e95d62874aa1b224c79bf0208b17c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling similar v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dprint-development v0.4.1 [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.55.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.99s [INFO] running `Command { std: "docker" "inspect" "f9cf7860a1c476c03f3694cd4a415e71526e95d62874aa1b224c79bf0208b17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9cf7860a1c476c03f3694cd4a415e71526e95d62874aa1b224c79bf0208b17c", kill_on_drop: false }` [INFO] [stdout] f9cf7860a1c476c03f3694cd4a415e71526e95d62874aa1b224c79bf0208b17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eaab2319965b261c4e6504cd40c12fd0b5a129c84be314bacb3e7508c927fdfc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eaab2319965b261c4e6504cd40c12fd0b5a129c84be314bacb3e7508c927fdfc", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-dc453edc1104e057) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test parsing::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_absolute ... ok [INFO] [stdout] test parsing::sorting::module_specifiers::test::it_should_compare_module_specifiers ... ok [INFO] [stdout] test parsing::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_relative ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config ... ok [INFO] [stdout] test parsing::sorting::module_specifiers::test::it_should_get_module_specifier_info_when_empty ... ok [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 utils::file_text_has_ignore_comment::tests::it_should_be_true_when_multi_line_comment_and_new_lines_before ... 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_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 utils::file_text_has_ignore_comment::tests::it_should_skip_over_shebang ... ok [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test swc::parse_swc_ast::tests::should_error_on_syntax_diagnostic ... ok [INFO] [stdout] test swc::parse_swc_ast::tests::it_should_error_for_exected_expr_issue_121 ... ok [INFO] [stdout] test swc::parse_swc_ast::tests::it_should_error_when_var_stmts_sep_by_comma ... ok [INFO] [stdout] test swc::parse_swc_ast::tests::it_should_error_for_no_equals_sign_in_var_decl ... ok [INFO] [stdout] test swc::parse_swc_ast::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. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-135ef7097dfaf9e0) [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 2.60s [INFO] [stdout] [INFO] [stderr] Doc-tests dprint-plugin-typescript [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/configuration/resolve_config.rs - configuration::resolve_config::resolve_config (line 9) ... ok [INFO] [stdout] test src/configuration/builder.rs - configuration::builder::ConfigurationBuilder (line 10) ... ok [INFO] [stdout] test src/format_text.rs - format_text::format_text (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eaab2319965b261c4e6504cd40c12fd0b5a129c84be314bacb3e7508c927fdfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaab2319965b261c4e6504cd40c12fd0b5a129c84be314bacb3e7508c927fdfc", kill_on_drop: false }` [INFO] [stdout] eaab2319965b261c4e6504cd40c12fd0b5a129c84be314bacb3e7508c927fdfc