<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="running 2 tests from ./cli/tests/unit/webgpu_test.ts
webgpuComputePass ...
============================================================
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: windows x86_64
Version: 1.30.3
Args: [&quot;C:\\Users\\GJZwiers\\repos\\deno\\target\\debug\\deno.exe&quot;, &quot;test&quot;, &quot;--unstable&quot;, &quot;--location=http://js-unit-tests/foo/bar&quot;, &quot;--no-prompt&quot;, &quot;-A&quot;, &quot;C:\\Users\\GJZwiers\\repos\\deno\\cli\\tests\\unit&quot;]

thread 'tokio-runtime-worker' panicked at 'called glDebugMessageCallback but it was not loaded.', C:\Users\GJZwiers\.cargo\registry\src\github.com-1ecc6299db9ec823\glow-0.12.0\src\gl46.rs:4234:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test integration::js_unit_tests::js_unit_tests ... FAILED

failures:

---- integration::js_unit_tests::js_unit_tests stdout ----
test_server starting...
thread 'integration::js_unit_tests::js_unit_tests' panicked at 'assertion failed: `(left == right)`
  left: `Some(0)`,
 right: `Some(1)`', cli\tests\integration\js_unit_tests.rs:37:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    integration::js_unit_tests::js_unit_tests

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 981 filtered out; finished in 129.18s"><pre class="notranslate"><code class="notranslate">running 2 tests from ./cli/tests/unit/webgpu_test.ts
webgpuComputePass ...
============================================================
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: windows x86_64
Version: 1.30.3
Args: ["C:\\Users\\GJZwiers\\repos\\deno\\target\\debug\\deno.exe", "test", "--unstable", "--location=http://js-unit-tests/foo/bar", "--no-prompt", "-A", "C:\\Users\\GJZwiers\\repos\\deno\\cli\\tests\\unit"]

thread 'tokio-runtime-worker' panicked at 'called glDebugMessageCallback but it was not loaded.', C:\Users\GJZwiers\.cargo\registry\src\github.com-1ecc6299db9ec823\glow-0.12.0\src\gl46.rs:4234:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test integration::js_unit_tests::js_unit_tests ... FAILED

failures:

---- integration::js_unit_tests::js_unit_tests stdout ----
test_server starting...
thread 'integration::js_unit_tests::js_unit_tests' panicked at 'assertion failed: `(left == right)`
  left: `Some(0)`,
 right: `Some(1)`', cli\tests\integration\js_unit_tests.rs:37:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    integration::js_unit_tests::js_unit_tests

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 981 filtered out; finished in 129.18s
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webgpuComputePass
AssertionError: Test case is leaking resources.
Before: {
  &quot;0&quot;: &quot;stdin&quot;,
  &quot;1&quot;: &quot;stdout&quot;,
  &quot;2&quot;: &quot;stderr&quot;
}
After: {
  &quot;0&quot;: &quot;stdin&quot;,
  &quot;1&quot;: &quot;stdout&quot;,
  &quot;2&quot;: &quot;stderr&quot;,
  &quot;3&quot;: &quot;webGPUAdapter&quot;
}

Make sure to close all open resource handles returned from Deno APIs before
finishing test case.
    at assert (deno:runtime/js/06_util.js:41:13)
    at resourceSanitizer (deno:runtime/js/40_testing.js:128:7)
    at async exitSanitizer (deno:runtime/js/40_testing.js:144:9)
    at async Object.applyPermissions [as fn] (deno:runtime/js/40_testing.js:245:9)
    at async runTest (deno:runtime/js/40_testing.js:349:7)
    at async Object.runTests (deno:runtime/js/40_testing.js:460:22)

failures:

	webgpuComputePass"><pre class="notranslate"><code class="notranslate">webgpuComputePass
AssertionError: Test case is leaking resources.
Before: {
  "0": "stdin",
  "1": "stdout",
  "2": "stderr"
}
After: {
  "0": "stdin",
  "1": "stdout",
  "2": "stderr",
  "3": "webGPUAdapter"
}

Make sure to close all open resource handles returned from Deno APIs before
finishing test case.
    at assert (deno:runtime/js/06_util.js:41:13)
    at resourceSanitizer (deno:runtime/js/40_testing.js:128:7)
    at async exitSanitizer (deno:runtime/js/40_testing.js:144:9)
    at async Object.applyPermissions [as fn] (deno:runtime/js/40_testing.js:245:9)
    at async runTest (deno:runtime/js/40_testing.js:349:7)
    at async Object.runTests (deno:runtime/js/40_testing.js:460:22)

failures:

	webgpuComputePass
</code></pre></div>
<p dir="auto">Failed on Windows. Maybe this does not close the right resource sometimes?</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/denoland/deno/blob/43a63530acb16e57cbb190eacedbd097c536a775/cli/tests/unit/webgpu_test.ts#L98">deno/cli/tests/unit/webgpu_test.ts</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 98
      in
      <a data-pjax="true" class="commit-tease-sha" href="/denoland/deno/commit/43a63530acb16e57cbb190eacedbd097c536a775">43a6353</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L98" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="98"></td>
          <td id="LC98" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-smi">Number</span><span class="pl-kos">(</span><span class="pl-s1">resources</span><span class="pl-kos">[</span><span class="pl-s1">resources</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>