Skip to content

Panic The content { } contains an unsupported \r line terminator character but ... in src/builders.rs #23672

Description

@qarmin

File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):

//prettier-ignore
{
}

command

timeout -v 40 oxfmt_normal --check TEST___FILE.js

cause this

Checking formatting...



thread '<unnamed>' (3112318) panicked at crates/oxc_formatter_core/src/builders.rs:201:5:
The content `{
}` contains an unsupported `\r` line terminator character but text must only use line feeds `\n` as line separator. Use `\n` instead of `\r` and `\r\n` to insert a line break in strings.
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/f428d123ab0ea5431ec4256ff8838b9342866446/library/std/src/panicking.rs:678:5
   1: core::panicking::panic_fmt
             at /rustc/f428d123ab0ea5431ec4256ff8838b9342866446/library/core/src/panicking.rs:80:14
   2: oxc_formatter_core::builders::debug_assert_no_cr_line_break
             at ./oxc-main/crates/oxc_formatter_core/src/builders.rs:247:5
   3: oxc_formatter_core::builders::text
             at ./oxc-main/crates/oxc_formatter_core/src/builders.rs:201:5
   4: <oxc_formatter::utils::suppressed::FormatSuppressedNode as oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext>>::fmt
             at ./oxc-main/crates/oxc_formatter/src/utils/suppressed.rs:9:20
   5: <oxc_formatter::ast_nodes::node::AstNode<oxc_ast::ast::js::BlockStatement> as oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext>>::fmt
             at ./oxc-main/crates/oxc_formatter/src/ast_nodes/generated/format.rs:1852:47
   6: <&dyn oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext> as oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext>>::fmt
             at ./oxc-main/crates/oxc_formatter_core/src/format.rs:45:9
   7: <oxc_formatter_core::arguments::Argument<_>>::new::formatter::<oxc_formatter::formatter::context::JsFormatContext, &dyn oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext>>
             at ./oxc-main/crates/oxc_formatter_core/src/arguments.rs:42:13
   8: <oxc_formatter_core::arguments::Argument<oxc_formatter::formatter::context::JsFormatContext>>::format
             at ./oxc-main/crates/oxc_formatter_core/src/arguments.rs:55:9
   9: <oxc_formatter_core::formatter::Formatter<oxc_formatter::formatter::context::JsFormatContext> as oxc_formatter_core::buffer::Buffer<oxc_formatter::formatter::context::JsFormatContext>>::write_fmt
             at ./oxc-main/crates/oxc_formatter_core/src/formatter.rs:108:22
  10: <oxc_formatter::formatter::builders::JoinNodesBuilder<oxc_formatter_core::builders::Line>>::entry
             at ./oxc-main/crates/oxc_formatter/src/formatter/builders.rs:106:9
  11: <oxc_formatter::print::program::FormatStatementsWithImports as oxc_formatter_core::format::Format<oxc_formatter::formatter::context::JsFormatContext>>::fmt
             at ./oxc-main/crates/oxc_formatter/src/print/program.rs:108:18
  12: <oxc_formatter_core::arguments::Argument<_>>::new::formatter::<oxc_formatter::formatter::context::JsFormatContext, oxc_formatter::print::program::FormatStatementsWithImports>
             at ./oxc-main/crates/oxc_formatter_core/src/arguments.rs:42:13
  13: <oxc_formatter_core::arguments::Argument<oxc_formatter::formatter::context::JsFormatContext>>::format
             at ./oxc-main/crates/oxc_formatter_core/src/arguments.rs:55:9
  14: <oxc_formatter_core::formatter::Formatter<oxc_formatter::formatter::context::JsFormatContext> as oxc_formatter_core::buffer::Buffer<oxc_formatter::formatter::context::JsFormatContext>>::write_fmt
             at ./oxc-main/crates/oxc_formatter_core/src/formatter.rs:108:22
  15: <oxc_formatter::ast_nodes::node::AstNode<oxc_ast::ast::js::Program> as oxc_formatter::print::FormatWrite>::write
             at ./oxc-main/crates/oxc_formatter/src/print/program.rs:29:9
  16: <oxc_formatter_core::arguments::Argument<oxc_formatter::formatter::context::JsFormatContext>>::format
             at ./oxc-main/crates/oxc_formatter_core/src/arguments.rs:55:9
  17: <oxc_formatter_core::formatter::Formatter<oxc_formatter::formatter::context::JsFormatContext> as oxc_formatter_core::buffer::Buffer<oxc_formatter::formatter::context::JsFormatContext>>::write_fmt
             at ./oxc-main/crates/oxc_formatter_core/src/formatter.rs:108:22
  18: oxc_formatter_core::format::write::<oxc_formatter::formatter::context::JsFormatContext>
             at ./oxc-main/crates/oxc_formatter_core/src/format.rs:82:28
  19: <oxc_formatter_core::buffer::VecBuffer<oxc_formatter::formatter::context::JsFormatContext> as oxc_formatter_core::buffer::Buffer<oxc_formatter::formatter::context::JsFormatContext>>::write_fmt
             at ./oxc-main/crates/oxc_formatter_core/src/buffer.rs:36:9
  20: oxc_formatter::formatter::format
             at ./oxc-main/crates/oxc_formatter/src/formatter/mod.rs:79:12
  21: oxc_formatter::format_node::<oxc_formatter::ast_nodes::node::AstNode<oxc_ast::ast::js::Program>>
             at ./oxc-main/crates/oxc_formatter/src/lib.rs:247:5
  22: oxc_formatter::format_program
             at ./oxc-main/crates/oxc_formatter/src/lib.rs:182:5
  23: oxc_formatter::format
             at ./oxc-main/crates/oxc_formatter/src/lib.rs:88:8
  24: <oxfmt::core::format::SourceFormatter>::format_by_oxc_formatter
             at ./oxc-main/apps/oxfmt/src/core/format.rs:292:25
  25: <oxfmt::core::format::SourceFormatter>::format
             at ./oxc-main/apps/oxfmt/src/core/format.rs:200:22
  26: <oxfmt::cli::service::FormatService>::run_streaming::{closure#0}
             at ./oxc-main/apps/oxfmt/src/cli/service.rs:65:59
  27: <rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}> as rayon::iter::plumbing::Folder<oxfmt::core::format::FormatStrategy>>::consume
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/for_each.rs:47:9
  28: <&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>> as rayon::iter::plumbing::UnindexedProducer>::fold_with::<rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/par_bridge.rs:143:37
  29: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:466:31
  30: rayon_core::join::join_context::call_a::<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:124:17
  31: <core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:275:9
  32: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:43
  33: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:543:19
  34: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  35: rayon_core::unwind::halt_unwinding::<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}, ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/unwind.rs:17:5
  36: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:142:24
  37: rayon_core::registry::in_worker::<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>
  38: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:132:5
  39: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:465:51
  40: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:466:31
  41: rayon_core::join::join_context::call_a::<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:124:17
  42: <core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:275:9
  43: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:43
  44: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:543:19
  45: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  46: rayon_core::unwind::halt_unwinding::<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}, ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/unwind.rs:17:5
  47: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:142:24
  48: rayon_core::registry::in_worker::<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>
  49: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:132:5
  50: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:465:51
  51: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:466:31
  52: rayon_core::join::join_context::call_a::<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:124:17
  53: <core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:275:9
  54: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:43
  55: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:543:19
  56: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  57: rayon_core::unwind::halt_unwinding::<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}, ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/unwind.rs:17:5
  58: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:142:24
  59: rayon_core::registry::in_worker::<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>
  60: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:132:5
  61: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:465:51
  62: rayon::iter::plumbing::bridge_unindexed_producer_consumer::<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.12.0/src/iter/plumbing/mod.rs:466:31
  63: rayon_core::join::join_context::call_a::<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:124:17
  64: <core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:275:9
  65: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:43
  66: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:543:19
  67: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}>, ()>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  68: rayon_core::unwind::halt_unwinding::<rayon_core::join::join_context::call_a<(), rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}>::{closure#0}, ()>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/unwind.rs:17:5
  69: rayon_core::join::join_context::<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/join/mod.rs:142:24
  70: <rayon_core::registry::Registry>::in_worker_cold::<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:531:21
  71: <rayon_core::job::JobResult<((), ())>>::call::<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/job.rs:218:41
  72: <core::panic::unwind_safe::AssertUnwindSafe<<rayon_core::job::JobResult<((), ())>>::call<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:275:9
  73: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<<rayon_core::job::JobResult<((), ())>>::call<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}>, ((), ())>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:43
  74: std::panicking::catch_unwind::<((), ()), core::panic::unwind_safe::AssertUnwindSafe<<rayon_core::job::JobResult<((), ())>>::call<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}>>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:543:19
  75: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<<rayon_core::job::JobResult<((), ())>>::call<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}>, ((), ())>
             at /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  76: rayon_core::unwind::halt_unwinding::<<rayon_core::job::JobResult<((), ())>>::call<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>::{closure#0}, ((), ())>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/unwind.rs:17:5
  77: <rayon_core::job::JobResult<((), ())>>::call::<<rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/job.rs:218:15
  78: <rayon_core::job::StackJob<rayon_core::latch::LatchRef<rayon_core::latch::LockLatch>, <rayon_core::registry::Registry>::in_worker_cold<rayon_core::join::join_context<rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#0}, rayon::iter::plumbing::bridge_unindexed_producer_consumer<&rayon::iter::par_bridge::IterParallelProducer<std::sync::mpsc::IntoIter<oxfmt::core::format::FormatStrategy>>, rayon::iter::for_each::ForEachConsumer<<oxfmt::cli::service::FormatService>::run_streaming::{closure#0}>>::{closure#1}, (), ()>::{closure#0}, ((), ())>::{closure#0}::{closure#0}, ((), ())> as rayon_core::job::Job>::execute
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/job.rs:120:32
  79: <rayon_core::job::JobRef>::execute
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/job.rs:64:9
  80: <rayon_core::registry::WorkerThread>::execute
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:866:13
  81: <rayon_core::registry::WorkerThread>::wait_until_cold
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:800:26
  82: <rayon_core::registry::WorkerThread>::wait_until::<rayon_core::latch::OnceLatch>
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:775:18
  83: <rayon_core::registry::WorkerThread>::wait_until_out_of_work
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:824:14
  84: rayon_core::registry::main_loop
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:929:19
  85: <rayon_core::registry::ThreadBuilder>::run
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:50:18
  86: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn::{closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-core-1.13.0/src/registry.rs:95:27
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Expected at least one target file. All matched files may have been excluded by ignore rules.

##### Automatic Fuzzer note, output status "Some(2)", output signal "None"

compressed.zip

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions