Error: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:32:11 ]
    │
 32 │   let f = detect_format(getFixture())
    │           ──────┬──────  
    │                 ╰──────── The value identifier detect_format is unbound.
────╯
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: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:43:9 ]
    │
 43 │   match detect_format(getFixture()) {
    │         ──────┬──────  
    │               ╰──────── The value identifier detect_format is unbound.
────╯
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: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:52:9 ]
    │
 52 │   match detect_format(getFixture()) {
    │         ──────┬──────  
    │               ╰──────── The value identifier detect_format is unbound.
────╯
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: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:61:9 ]
    │
 61 │   match detect_format(getFixture()) {
    │         ──────┬──────  
    │               ╰──────── The value identifier detect_format is unbound.
────╯
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: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:75:9 ]
    │
 75 │   match detect_format(getFixture()) {
    │         ──────┬──────  
    │               ╰──────── The value identifier detect_format is unbound.
────╯
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: [4021]
    ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:84:9 ]
    │
 84 │   match detect_format(getFixture()) {
    │         ──────┬──────  
    │               ╰──────── The value identifier detect_format is unbound.
────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:102:19 ]
     │
 102 │   let (w, h, f) = image_dimensions(png) catch {
     │                   ────────┬───────  
     │                           ╰───────── The value identifier image_dimensions is unbound.
─────╯
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.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:119:22 ]
     │
 119 │   let raised = (try? image_dimensions(tiny)) is Err(_)
     │                      ────────┬───────  
     │                              ╰───────── The value identifier image_dimensions is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:131:18 ]
     │
 131 │   let original = decode(src) catch {
     │                  ───┬──  
     │                     ╰──── The value identifier decode is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:135:15 ]
     │
 135 │   let bytes = encode_bmp(original)
     │               ─────┬────  
     │                    ╰────── The value identifier encode_bmp is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:136:17 ]
     │
 136 │   let decoded = decode(bytes) catch {
     │                 ───┬──  
     │                    ╰──── The value identifier decode is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:147:18 ]
     │
 147 │   let original = decode(src) catch {
     │                  ───┬──  
     │                     ╰──── The value identifier decode is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:150:15 ]
     │
 150 │   let bytes = encode_qoi(original)
     │               ─────┬────  
     │                    ╰────── The value identifier encode_qoi is unbound.
─────╯
Error: [4021]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:151:17 ]
     │
 151 │   let decoded = decode(bytes) catch {
     │                 ───┬──  
     │                    ╰──── The value identifier decode is unbound.
─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:102:19 ]
     │
 102 │   let (w, h, f) = image_dimensions(png) catch {
     │                   ──────────┬──────────  
     │                             ╰──────────── Warning (unused_try): The body of this try expression never raises any error.
─────╯
Warning: [0020]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:119:17 ]
     │
 119 │   let raised = (try? 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")
    }

─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:119:17 ]
     │
 119 │   let raised = (try? image_dimensions(tiny)) is Err(_)
     │                 ──┬─  
     │                   ╰─── Warning (unused_try): The body of this try expression never raises any error.
─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:131:18 ]
     │
 131 │   let original = decode(src) catch {
     │                  ─────┬─────  
     │                       ╰─────── Warning (unused_try): The body of this try expression never raises any error.
─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:136:17 ]
     │
 136 │   let decoded = decode(bytes) catch {
     │                 ──────┬──────  
     │                       ╰──────── Warning (unused_try): The body of this try expression never raises any error.
─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:147:18 ]
     │
 147 │   let original = decode(src) catch {
     │                  ─────┬─────  
     │                       ╰─────── Warning (unused_try): The body of this try expression never raises any error.
─────╯
Warning: [0023]
     ╭─[ D:\src\MiniMax\Projects\MoonBit\moonbit-labeler\gherkin_blackbox_test.mbt:151:17 ]
     │
 151 │   let decoded = decode(bytes) catch {
     │                 ──────┬──────  
     │                       ╰──────── Warning (unused_try): The body of this try expression never raises any error.
─────╯
