[INFO] cloning repository https://github.com/dprint/dprint-plugin-json [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-json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-json", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-json'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 607b8ca8630ff6fff597d41e6ed14f81a0d50f1a [INFO] testing dprint/dprint-plugin-json against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-json" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-json on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dprint/dprint-plugin-json [INFO] finished tweaking git repo https://github.com/dprint/dprint-plugin-json [INFO] tweaked toml for git repo https://github.com/dprint/dprint-plugin-json written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dprint/dprint-plugin-json 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dprint-core-macros v0.1.0 [INFO] [stderr] Downloaded file_test_runner v0.5.0 [INFO] [stderr] Downloaded deno_terminal v0.1.1 [INFO] [stderr] Downloaded debug-here v0.2.2 [INFO] [stderr] Downloaded dprint-development v0.10.1 [INFO] [stderr] Downloaded text_lines v0.6.0 [INFO] [stderr] Downloaded dprint-core v0.67.4 [INFO] [stderr] Downloaded similar v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f18db2cb8e6084a7fea3a0614bd7b69ffc602d449111a4de089cea1134b0c940 [INFO] running `Command { std: "docker" "start" "-a" "f18db2cb8e6084a7fea3a0614bd7b69ffc602d449111a4de089cea1134b0c940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f18db2cb8e6084a7fea3a0614bd7b69ffc602d449111a4de089cea1134b0c940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18db2cb8e6084a7fea3a0614bd7b69ffc602d449111a4de089cea1134b0c940", kill_on_drop: false }` [INFO] [stdout] f18db2cb8e6084a7fea3a0614bd7b69ffc602d449111a4de089cea1134b0c940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 247bfcc0fd55199682d1617ec3ad7dac456ca610781f1307edb542b6dbc31744 [INFO] running `Command { std: "docker" "start" "-a" "247bfcc0fd55199682d1617ec3ad7dac456ca610781f1307edb542b6dbc31744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling jsonc-parser v0.26.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling dprint-core v0.67.4 [INFO] [stderr] Compiling dprint-plugin-json v0.20.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.06s [INFO] running `Command { std: "docker" "inspect" "247bfcc0fd55199682d1617ec3ad7dac456ca610781f1307edb542b6dbc31744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247bfcc0fd55199682d1617ec3ad7dac456ca610781f1307edb542b6dbc31744", kill_on_drop: false }` [INFO] [stdout] 247bfcc0fd55199682d1617ec3ad7dac456ca610781f1307edb542b6dbc31744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e799ff1501f442425f1ff840d4551a6f2805ac8382e1ebe2d6506714da204c07 [INFO] running `Command { std: "docker" "start" "-a" "e799ff1501f442425f1ff840d4551a6f2805ac8382e1ebe2d6506714da204c07", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling deno_terminal v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling debug-here v0.2.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling file_test_runner v0.5.0 [INFO] [stderr] Compiling dprint-development v0.10.1 [INFO] [stderr] Compiling dprint-plugin-json v0.20.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.15s [INFO] running `Command { std: "docker" "inspect" "e799ff1501f442425f1ff840d4551a6f2805ac8382e1ebe2d6506714da204c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e799ff1501f442425f1ff840d4551a6f2805ac8382e1ebe2d6506714da204c07", kill_on_drop: false }` [INFO] [stdout] e799ff1501f442425f1ff840d4551a6f2805ac8382e1ebe2d6506714da204c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45deadb9543a88e821f563f9cce2d7fc96f535e319a5bebcee1f3f7a8c81a746 [INFO] running `Command { std: "docker" "start" "-a" "45deadb9543a88e821f563f9cce2d7fc96f535e319a5bebcee1f3f7a8c81a746", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dprint_plugin_json-190243d30f5d75dc) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test configuration::builder::tests::support_deno_config ... ok [INFO] [stdout] test configuration::builder::tests::use_json_defaults_when_global_not_set ... ok [INFO] [stdout] test configuration::builder::tests::handle_global_config ... ok [INFO] [stdout] test configuration::resolve_config::test::json_trailing_comma_files ... ok [INFO] [stdout] test format_text::tests::no_panic_diagnostic_multiple_values ... ok [INFO] [stdout] test configuration::builder::tests::support_prefer_single_line_config ... ok [INFO] [stdout] test format_text::tests::should_strip_bom ... ok [INFO] [stdout] test format_text::tests::should_error_on_syntax_diagnostic ... ok [INFO] [stdout] test format_text::tests::test_is_jsonc_file ... ok [INFO] [stdout] test format_text::tests::no_panic_diagnostic_at_multibyte_char ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-32d66c727649369e) [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 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests dprint_plugin_json [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/configuration/resolve_config.rs - configuration::resolve_config::resolve_config (line 10) ... ok [INFO] [stdout] test src/configuration/builder.rs - configuration::builder::ConfigurationBuilder (line 9) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45deadb9543a88e821f563f9cce2d7fc96f535e319a5bebcee1f3f7a8c81a746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45deadb9543a88e821f563f9cce2d7fc96f535e319a5bebcee1f3f7a8c81a746", kill_on_drop: false }` [INFO] [stdout] 45deadb9543a88e821f563f9cce2d7fc96f535e319a5bebcee1f3f7a8c81a746