Skip to content

Fix memory leak in new Response(latin1String).arrayBuffer() and new Response(latin1String).json() #5356

Fix memory leak in new Response(latin1String).arrayBuffer() and new Response(latin1String).json()

Fix memory leak in new Response(latin1String).arrayBuffer() and new Response(latin1String).json() #5356

Triggered via pull request July 17, 2023 10:17
Status Failure
Total duration 25m 38s
Artifacts 5

bun-mac-aarch64.yml

on: pull_request
Matrix: macOS C++
Matrix: macOS Object
Matrix: macOS Link
Matrix: macOS-test
Fit to window
Zoom out
Zoom in

Annotations

11 errors
error: expect(received).toContain(expected): test/cli/install/bun-link.test.ts#L63
Expected to contain: "Success! Registered \\\"testpDUVCk\\\"" Received: "Success! Registered \"testpDUVCk\"\n\nTo use testpDUVCk in a project, run:\n bun link testpDUVCk\n\nOr add it in dependencies in your package.json file:\n \"testpDUVCk\": \"link:testpDUVCk\"\n" at /Users/jarred/actions-2/_work/bun/bun/test/cli/install/bun-link.test.ts:63:2
error: expect(received).toContain(expected): test/cli/install/bun-link.test.ts#L164
Expected to contain: "Success! Registered \\\"@testnFfmso/foo\\\"" Received: "Success! Registered \"@testnFfmso/foo\"\n\nTo use @testnFfmso/foo in a project, run:\n bun link @testnFfmso/foo\n\nOr add it in dependencies in your package.json file:\n \"@testnFfmso/foo\": \"link:@testnFfmso/foo\"\n" at /Users/jarred/actions-2/_work/bun/bun/test/cli/install/bun-link.test.ts:164:2
error: expect(received).toContain(expected): test/cli/install/bun-link.test.ts#L272
Expected to contain: "Success! Registered \\\"testiAqQYg-really-long-name\\\"" Received: "Success! Registered \"testiAqQYg-really-long-name\"\n\nTo use testiAqQYg-really-long-name in a project, run:\n bun link testiAqQYg-really-long-name\n\nOr add it in dependencies in your package.json file:\n \"testiAqQYg-really-long-name\": \"link:testiAqQYg-really-long-name\"\n" at /Users/jarred/actions-2/_work/bun/bun/test/cli/install/bun-link.test.ts:272:2
error: expect(received).toBeInstanceOf(expected): test/js/bun/jsc/bun-jsc.test.ts#L156
Expected constructor: [class Function] Received value: ArrayBuffer(15) [ 12, 0, 0, 0, 2, 1, 0, 0, 128, 97, 7, 255, 255, 255, 255 ] at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/jsc/bun-jsc.test.ts:156:4
error: expect(received).toBeLessThanOrEqual(expected): test/harness.ts#L54
Expected: <= 1 Received: 2 at /Users/jarred/actions-2/_work/bun/bun/test/harness.ts:54:2
error: expect(received).toBe(expected): test/js/bun/spawn/spawn.test.ts#L160
Expected: 0 Received: null at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/spawn/spawn.test.ts:160:10
error: expect(received).toContain(expected): test/js/bun/test/test-test.test.ts#L489
Expected to contain: "this test is marked as todo but passes" Received: "bun test v0.6.15 (16721652)\n" at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/test/test-test.test.ts:489:2
error: expect(received).toBe(expected): test/js/bun/test/test-test.test.ts#L511
Expected: 0 Received: 1 at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/test/test-test.test.ts:511:2
error: expect(received).toContain(expected): test/js/bun/test/test-test.test.ts#L526
Expected to contain: "timed out after 10ms" Received: "bun test v0.6.15 (16721652)\n" at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/test/test-test.test.ts:526:2
error: expect(received).toMatchSnapshot(expected): test/js/bun/test/test-test.test.ts#L544
Expected: "expect(received).toEqual(expected) { + "0": 0, + "1": 1, + "10": 10, + "11": 11, + "12": 12, + "13": 13, + "14": 14, + "15": 15, + "2": 2, + "3": 3, + "4": 4, + "5": 5, + "6": 6, + "7": 7, + "8": 8, + "9": 9 - "0": 123, - "1": 123, - "10": 123, - "11": 123, - "12": 123, - "13": 123, - "14": 123, - "15": 123, - "2": 123, - "3": 123, - "4": 123, - "5": 123, - "6": 123, - "7": 123, - "8": 123, - "9": 123 } - Expected - 16 + Received + 16 " Received: "" at /Users/jarred/actions-2/_work/bun/bun/test/js/bun/test/test-test.test.ts:544:2
Tests bun-darwin-aarch64
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
bun-darwin-aarch64 Expired
16.8 MB
bun-darwin-aarch64-cpp Expired
49.3 MB
bun-darwin-aarch64-deps Expired
37.2 MB
bun-darwin-aarch64-profile Expired
17.9 MB
bun-obj-darwin-aarch64 Expired
129 MB