[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] e9aadc9753b48d1e2f3f93892c8d5f31070f7001 [INFO] testing dprint/dprint-plugin-typescript against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-typescript on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] c22d7420d038a56731eabfb831a3f4e2d35b8bf0bca7b493bc5ccd0d5f987cdf [INFO] running `Command { std: "docker" "start" "-a" "c22d7420d038a56731eabfb831a3f4e2d35b8bf0bca7b493bc5ccd0d5f987cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c22d7420d038a56731eabfb831a3f4e2d35b8bf0bca7b493bc5ccd0d5f987cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22d7420d038a56731eabfb831a3f4e2d35b8bf0bca7b493bc5ccd0d5f987cdf", kill_on_drop: false }` [INFO] [stdout] c22d7420d038a56731eabfb831a3f4e2d35b8bf0bca7b493bc5ccd0d5f987cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee0b0326943c6f2166804e65edbb01bab6052abfda58eecbeca9e5b05e2defb8 [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" "ee0b0326943c6f2166804e65edbb01bab6052abfda58eecbeca9e5b05e2defb8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.65 [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 lexical v5.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling swc_atoms v0.2.6 [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 swc_visit_macros v0.2.3 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [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.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling dprint-core v0.43.0 [INFO] [stderr] Compiling swc_common v0.11.1 [INFO] [stderr] Compiling swc_ecma_ast v0.49.0 [INFO] [stderr] Compiling swc_ecma_visit v0.35.0 [INFO] [stderr] Compiling swc_ecma_parser v0.63.0 [INFO] [stderr] Compiling swc_ecmascript v0.46.0 [INFO] [stderr] Compiling dprint-swc-ecma-ast-view v0.24.0 [INFO] [stderr] Compiling dprint-plugin-typescript v0.49.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parsing/parser.rs:1136:5 [INFO] [stdout] | [INFO] [stdout] 1136 | pub span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "ee0b0326943c6f2166804e65edbb01bab6052abfda58eecbeca9e5b05e2defb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0b0326943c6f2166804e65edbb01bab6052abfda58eecbeca9e5b05e2defb8", kill_on_drop: false }` [INFO] [stdout] ee0b0326943c6f2166804e65edbb01bab6052abfda58eecbeca9e5b05e2defb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] f90c9645de0d770dd028ea1b2fd1fdd885749b685457a36fb680add89eaf66fb [INFO] running `Command { std: "docker" "start" "-a" "f90c9645de0d770dd028ea1b2fd1fdd885749b685457a36fb680add89eaf66fb", kill_on_drop: false }` [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling similar v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parsing/parser.rs:1136:5 [INFO] [stdout] | [INFO] [stdout] 1136 | pub span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dprint-development v0.4.1 [INFO] [stderr] Compiling addr2line v0.15.2 [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.49.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `span` [INFO] [stdout] --> src/parsing/parser.rs:1136:5 [INFO] [stdout] | [INFO] [stdout] 1136 | pub span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.99s [INFO] running `Command { std: "docker" "inspect" "f90c9645de0d770dd028ea1b2fd1fdd885749b685457a36fb680add89eaf66fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90c9645de0d770dd028ea1b2fd1fdd885749b685457a36fb680add89eaf66fb", kill_on_drop: false }` [INFO] [stdout] f90c9645de0d770dd028ea1b2fd1fdd885749b685457a36fb680add89eaf66fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff592a07e0757f6c7173e69ebac190652eb9ba35c3cd638139876af0b71c3ea6 [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" "ff592a07e0757f6c7173e69ebac190652eb9ba35c3cd638139876af0b71c3ea6", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `span` [INFO] [stderr] --> src/parsing/parser.rs:1136:5 [INFO] [stderr] | [INFO] [stderr] 1136 | pub span: Span, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `span` [INFO] [stderr] --> src/parsing/parser.rs:1136:5 [INFO] [stderr] | [INFO] [stderr] 1136 | pub span: Span, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-4e29cec2781a3781) [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_when_empty ... 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 ... 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_multi_line_comment_and_new_lines_before ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_first_comment_in_file ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config_with_overwrites ... 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_for_relative ... ok [INFO] [stdout] test swc::parse_swc_ast::tests::it_should_error_when_var_stmts_sep_by_comma ... ok [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... 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_for_no_equals_sign_in_var_decl ... 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_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-7c5a7d1d76af75a7) [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.32s [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 10) ... 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 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff592a07e0757f6c7173e69ebac190652eb9ba35c3cd638139876af0b71c3ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff592a07e0757f6c7173e69ebac190652eb9ba35c3cd638139876af0b71c3ea6", kill_on_drop: false }` [INFO] [stdout] ff592a07e0757f6c7173e69ebac190652eb9ba35c3cd638139876af0b71c3ea6