Error: [4024]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:35:10 ]
    │
 35 │     Some(ImageFormat::PNG) => assert_true(true)
    │          ─────┬─────  
    │               ╰─────── The type/trait ImageFormat is not found.
────╯
Error: [4024]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:44:10 ]
    │
 44 │     Some(ImageFormat::QOI) => assert_true(true)
    │          ─────┬─────  
    │               ╰─────── The type/trait ImageFormat is not found.
────╯
Error: [4024]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:53:10 ]
    │
 53 │     Some(ImageFormat::BMP) => assert_true(true)
    │          ─────┬─────  
    │               ╰─────── The type/trait ImageFormat is not found.
────╯
Error: [4024]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:62:10 ]
    │
 62 │     Some(ImageFormat::JPEG) => assert_true(true)
    │          ─────┬─────  
    │               ╰─────── The type/trait ImageFormat is not found.
────╯
Error: [4024]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:76:10 ]
    │
 76 │     Some(ImageFormat::TGA) => assert_true(true)
    │          ─────┬─────  
    │               ╰─────── The type/trait ImageFormat is not found.
────╯
Error: [4024]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:109:5 ]
     │
 109 │     ImageFormat::PNG => assert_true(true)
     │     ─────┬─────  
     │          ╰─────── The type/trait ImageFormat is not found.
─────╯
Warning: [0020]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:119:17 ]
     │
 119 │   let raised = (try? @image.image_dimensions(tiny)) is Err(_)
     │                 ──┬─  
     │                   ╰─── Warning (deprecated): `try?` is deprecated.

  Do not mechanically replace this with `try expr |> Ok catch { e => Err(e) }`; that still creates a local `Result` wrapper and usually misses theintended migration.
  Only create `Ok`/`Err` when the `Result` value must escape this local expression: stored, returned, passed to a Result-taking API, or kept for later comparison as data.

  Migration in inspect-based tests:
  1. If the expected behavior is success, remove `try?` and run the raising expression directly:

    inspect(expr, content=...)

  2. If the expected behavior is an error, replace `try?` with `try ... catch ... noraise`:

    try expr catch {
      e => inspect(e, content=...)
    } noraise {
      _ => fail("expected expr to raise")
    }

─────╯
