feat: load sourcemaps at runtime when using a bun build --target=bun
bundle
#1508
ci.yml
on: pull_request
Build windows-x64-baseline
/
Codegen
15s
Build windows-x64
/
Codegen
16s
Build darwin-aarch64
/
Build Submodules
12s
Build darwin-aarch64
/
Build C++
2m 0s
Build darwin-aarch64
/
...
/
Build Zig
16m 53s
Build darwin-x64-baseline
/
Build Submodules
12s
Build darwin-x64-baseline
/
Build C++
5m 38s
Build darwin-x64-baseline
/
...
/
Build Zig
9m 23s
Build darwin-x64
/
Build Submodules
13s
Build darwin-x64
/
Build C++
5m 43s
Build darwin-x64
/
...
/
Build Zig
9m 42s
Build linux-aarch64
/
...
/
Build & Link
32m 17s
Build linux-x64-baseline
/
...
/
Build & Link
15m 19s
Build linux-x64
/
...
/
Build & Link
15m 34s
Build windows-x64-baseline
/
Build Submodules
34s
Build windows-x64-baseline
/
...
/
Build Zig
9m 9s
Build windows-x64
/
Build Submodules
18s
Build windows-x64
/
...
/
Build Zig
9m 16s
Format
/
Format
51s
Lint
/
Lint
12s
Test linux-aarch64
/
Tests
15m 56s
Test linux-aarch64
/
Node.js Tests
0s
Test linux-x64-baseline
/
Tests
10m 5s
Test linux-x64-baseline
/
Node.js Tests
0s
Test linux-x64
/
Tests
9m 58s
Test linux-x64
/
Node.js Tests
0s
Test darwin-aarch64
/
Tests
10m 4s
Test darwin-aarch64
/
Node.js Tests
0s
Test darwin-x64-baseline
/
Tests
15m 58s
Test darwin-x64-baseline
/
Node.js Tests
0s
Test darwin-x64
/
Tests
15m 23s
Test darwin-x64
/
Node.js Tests
0s
Test windows-x64-baseline
/
Tests
12m 26s
Test windows-x64-baseline
/
Node.js Tests
0s
Cleanup
4s
Test windows-x64
/
Tests
14m 39s
Test windows-x64
/
Node.js Tests
0s
Annotations
47 errors and 27 warnings
error: Out of bounds access:
test/node_modules/mysql2/promise.js#L253
at createConnection (/home/runner/work/bun/bun/test/node_modules/mysql2/promise.js:253:31)
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:46:19
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:45:37
|
error: expect(received).toBeArrayOfSize():
test/integration/mysql2/mysql2.test.ts#L53
Received: undefined
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:53:7
|
error: expect(received).toStrictEqual(expected):
test/js/node/child_process/child_process-node.test.js#L234
Expected: true
Received: false
at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:234:7
at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:201:17
at /home/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:199:52
at exitHandler (node:child_process:69:45)
at emit (node:events:161:95)
at #maybeClose (node:child_process:795:27)
at #handleOnExit (node:child_process:591:31)
|
Test linux-x64 / Tests
2 files with failing tests
|
Test linux-x64 / Tests
Process completed with exit code 1.
|
Test darwin-aarch64 / Tests
Process completed with exit code 1.
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
error: File node_modules/install-test1/index.js was not found:
test/cli/install/migration/complex-workspace.test.ts#L23
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:23:13
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
ENOENT: No such file or directory:
test/cli/install/migration/complex-workspace.test.ts#L11
at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/migration/complex-workspace.test.ts:11:28
|
Test windows-x64 / Tests
Process completed with exit code 1.
|
error: expect(received).toEqual(expected):
test\cli\install\bunx.test.ts#L88
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
+ 1,
+ 1,
0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
0,
+ 1,
+ 1,
+ 1
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
]
- Expected - 10
+ Received + 10
at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
|
error: expect(received).toEqual(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L54
[
"",
+ "+ bunx-bins@1.0.0",
- " + bunx-bins@1.0.0",
"",
+ "1 package installed"
- StringContaining "1 package installed"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:54:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
error: expect(received).toEqual(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L54
[
"",
+ "+ bunx-bins@1.0.0",
- " + bunx-bins@1.0.0",
"",
+ "1 package installed"
- StringContaining "1 package installed"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:54:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
error: Test "hot reloading works on the client (+ tailwind hmr)" timed out after 30000ms
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
error: expect(received).toInclude(expected):
test\js\bun\shell\test_builder.ts#L223
Expected to include: "[eval]:6"
Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:70:16)\n at BunShell (:193:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.9-canary.1+fbb1aae3b (Windows x64)\n"
at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11
at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20)
at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:268:15
|
error: expect(received).toEqual(expected):
test\cli\install\bunx.test.ts#L88
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
+ 1,
+ 1,
0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
]
- Expected - 11
+ Received + 11
at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
|
error: Test "the install succeeds" timed out after 10000ms
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
error: Test "migrate from npm during `bun add`" timed out after 5000ms:
test\cli\install\migration\migrate.test.ts#L20
at testMigration (C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:20:3)
at C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:35:3
|
error: Test "should work when moving workspace packages" timed out after 5000ms
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
error: expect(received).toEqual(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L54
[
"",
+ "+ bunx-bins@1.0.0",
- " + bunx-bins@1.0.0",
"",
+ "1 package installed"
- StringContaining "1 package installed"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:54:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
error: expect(received).toEqual(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L54
[
"",
+ "+ bunx-bins@1.0.0",
- " + bunx-bins@1.0.0",
"",
+ "1 package installed"
- StringContaining "1 package installed"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:54:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
error: expect(received).toBeLessThan(expected):
test\cli\install\registry\bun-install-registry.test.ts#L4925
Expected: < 750000
Received: 781250n
at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:4925:9
|
error: Failed to install dependencies:
test\integration\next-pages\test\dev-server.test.ts#L99
at C:\a\bun\bun\test\integration\next-pages\test\dev-server.test.ts:99:11
at C:\a\bun\bun\test\integration\next-pages\test\dev-server.test.ts:88:11
|
ConnectionRefused: Unable to connect. Is the computer able to access the url?
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
|
error: expect(received).toInclude(expected):
test\js\bun\shell\test_builder.ts#L223
Expected to include: "[eval]:6"
Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:70:16)\n at BunShell (:193:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.9-canary.1+fbb1aae3b (Windows x64 baseline)\n"
at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11
at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20)
at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:268:15
|
Test windows-x64-baseline / Tests
Process completed with exit code 1.
|
error: expect(received).not.toContain(expected):
test/cli/install/bun-create.test.ts#L114
Expected to not contain: "error:"
Received: "[github] GET dylan-conway/create-test... \n\nerror: GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either: A) pass a GITHUB_ACCESS_TOKEN environment variable to bun\n B)Wait a little and try again\n"
at /Users/runner/work/bun/bun/test/cli/install/bun-create.test.ts:114:5
|
error: expect(received).not.toContain(expected):
test/cli/install/bun-create.test.ts#L114
Expected to not contain: "error:"
Received: "[github] GET dylan-conway/create-test... \n\nerror: GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either: A) pass a GITHUB_ACCESS_TOKEN environment variable to bun\n B)Wait a little and try again\n"
at /Users/runner/work/bun/bun/test/cli/install/bun-create.test.ts:114:5
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1150
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1150:18
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1175
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1175:18
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1174:36
|
Test darwin-x64 / Tests
Process completed with exit code 1.
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1150
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1150:18
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1175
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1175:18
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1174:36
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1240
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1240:18
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1239:18
|
EADDRINUSE: Failed to start server. Is port 0 in use?:
test/js/bun/http/serve.test.ts#L1257
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1257:18
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1256:18
|
Test darwin-x64-baseline / Tests
Process completed with exit code 1.
|
error: Autobahn WebSocket not detected:
test/js/web/websocket/autobahn.test.ts#L82
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
|
error: Autobahn WebSocket not detected:
test/js/web/websocket/autobahn.test.ts#L82
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11
at /home/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
|
Format / Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: goto-bus-stop/setup-zig@c7b6cdd3adba8f8b96984640ff172c37c93f73ee. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build darwin-aarch64 / Build C++
openssl@1.1 has been deprecated because it is not supported upstream!
|
Build darwin-x64-baseline / Build C++
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64-baseline / Build C++
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64-baseline / Build C++
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64-baseline / Build C++
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64-baseline / Build C++
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64-baseline / Build C++
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64 / Build C++
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64 / Build C++
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64 / Build C++
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64 / Build C++
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64 / Build C++
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64 / Build C++
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64-baseline / Link
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64-baseline / Link
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64-baseline / Link
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64-baseline / Link
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64-baseline / Link
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64-baseline / Link
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64 / Link
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64 / Link
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64 / Link
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64 / Link
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64 / Link
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64 / Link
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-aarch64 / Link
openssl@1.1 has been deprecated because it is not supported upstream!
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bun-darwin-aarch64
|
17.2 MB |
|
bun-darwin-aarch64-profile
|
18.7 MB |
|
bun-darwin-aarch64-tests
|
41.1 KB |
|
bun-darwin-x64
|
18.8 MB |
|
bun-darwin-x64-baseline
|
18.7 MB |
|
bun-darwin-x64-baseline-profile
|
20.8 MB |
|
bun-darwin-x64-baseline-tests
|
16.8 KB |
|
bun-darwin-x64-profile
|
20.8 MB |
|
bun-darwin-x64-tests
|
17.9 KB |
|
bun-feature-data
|
474 Bytes |
|
bun-linux-aarch64
|
32 MB |
|
bun-linux-aarch64-profile
|
62.5 MB |
|
bun-linux-aarch64-tests
|
4.79 KB |
|
bun-linux-x64
|
33.4 MB |
|
bun-linux-x64-baseline
|
33.3 MB |
|
bun-linux-x64-baseline-profile
|
62.7 MB |
|
bun-linux-x64-baseline-tests
|
4.79 KB |
|
bun-linux-x64-profile
|
62.8 MB |
|
bun-linux-x64-tests
|
8.56 KB |
|
bun-windows-x64
|
33.7 MB |
|
bun-windows-x64-baseline
|
33.6 MB |
|
bun-windows-x64-baseline-profile
|
96.7 MB |
|
bun-windows-x64-baseline-tests
|
72 KB |
|
bun-windows-x64-profile
|
96.8 MB |
|
bun-windows-x64-tests
|
59.6 KB |
|