Repository: deno
Issue: deno fmt panic due to unstable formatting on minified file
Labels: bug,deno fmt

```

============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: linux x86_64
Version: 1.21.2
Args: ["deno", "fmt", "worker.min.js"]

thread 'tokio-runtime-worker' panicked at 'Formatting not stable. Bailed after 5 tries. This indicates a bug in the
 formatter where it formats the file differently each time. As a temporary workaround you can ignore this file.', c
li/tools/fmt.rs:458:11
stack backtrace:
   0:     0x55d67483d37c - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/s
rc/backtrace/libunwind.rs:93:5
   1:     0x55d67483d37c - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/s
rc/backtrace/mod.rs:66:5
   2:     0x55d67483d37c - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtr
ace.rs:67:5
   3:     0x55d67483d37c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3e2b
509ce2ce6007
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtr
ace.rs:46:22
   4:     0x55d67486b24c - core::fmt::write::h753c7571fa063ecb
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:
17
   5:     0x55d674832ba3 - std::io::Write::write_fmt::h2815c0519c99ba09
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15
   6:     0x55d674840142 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtr
ace.rs:49:5
   7:     0x55d674840142 - std::sys_common::backtrace::print::hcf25e43e1a9b0766
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtr
ace.rs:36:9
   8:     0x55d674840142 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:
50
   9:     0x55d67483fd25 - std::panicking::default_hook::hda898f8d3ad1a5ae
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:228:
9
  10:     0x55d674ad3ef1 - deno::setup_panic_hook::{{closure}}::hd94fa7456793168a
  11:     0x55d6748408b5 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:610:
17
  12:     0x55d6748405b0 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:
13
  13:     0x55d67483d824 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtr
ace.rs:139:18
  14:     0x55d6748402e9 - rust_begin_unwind
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:
5
  15:     0x55d674868a71 - core::panicking::panic_fmt::h3a79a6a99affe1d5
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116
:14
  16:     0x55d674ab2ef9 - tokio::runtime::task::raw::poll::h520670894482f419
  17:     0x55d67569565d - std::sys_common::backtrace::__rust_begin_short_backtrace::hc331b3cbe7f28f40
  18:     0x55d6756724f6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5cb81874cd790571
  19:     0x55d674849383 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h49b6c7c5155a2
296
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9
  20:     0x55d674849383 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha8b5234bfeb15
105
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9
  21:     0x55d674849383 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859
                               at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.r
s:108:17
  22:     0x7fba8f6755c2 - start_thread
  23:     0x7fba8f6fa584 - __clone
  24:                0x0 - <unknown>
```

To reproduce:
- `wget https://unpkg.com/tesseract.js@2.1.5/dist/worker.min.js`
- `deno fmt worker.min.js`