Skip to content

Rewrite built-in modules to use CommonJS over ESM #5807

Rewrite built-in modules to use CommonJS over ESM

Rewrite built-in modules to use CommonJS over ESM #5807

Triggered via pull request August 2, 2023 22:59
Status Failure
Total duration 1h 0m 53s
Artifacts 5

bun-mac-x64-baseline.yml

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

Annotations

10 errors
error: Bundle Failed: test/bundler/expectBundled.ts#L738
/entry.js:1:21: Could not resolve: "node:fs". Maybe you need to "bun install"? at /Users/runner/work/bun/bun/test/bundler/expectBundled.ts:738:16 at /Users/runner/work/bun/bun/test/bundler/expectBundled.ts:408:10
error: Bundle Failed: test/bundler/expectBundled.ts#L738
/entry.js:2:25: Could not resolve: "node:buffer". Maybe you need to "bun install"? /entry.js:3:32: Could not resolve: "node:child_process". Maybe you need to "bun install"? /entry.js:4:26: Could not resolve: "node:cluster". Maybe you need to "bun install"? /entry.js:5:27: Could not resolve: "node:console". Maybe you need to "bun install"? /entry.js:6:28: Could not resolve: "node:constants". Maybe you need to "bun install"? /entry.js:7:25: Could not resolve: "node:crypto". Maybe you need to "bun install"? /entry.js:8:24: Could not resolve: "node:dgram". Maybe you need to "bun install"? /entry.js:9:22: Could not resolve: "node:dns". Maybe you need to "bun install"? /entry.js:10:25: Could not resolve: "node:domain". Maybe you need to "bun install"? /entry.js:11:25: Could not resolve: "node:events". Maybe you need to "bun install"? /entry.js:12:21: Could not resolve: "node:fs". Maybe you need to "bun install"? /entry.js:13:23: Could not resolve: "node:http". Maybe you need to "bun install"? /entry.js:14:24: Could not resolve: "node:https". Maybe you need to "bun install"? /entry.js:15:26: Could not resolve: "node:module". Maybe you need to "bun install"? /entry.js:16:22: Could not resolve: "node:net". Maybe you need to "bun install"? /entry.js:17:21: Could not resolve: "node:os". Maybe you need to "bun install"? /entry.js:18:23: Could not resolve: "node:path". Maybe you need to "bun install"? /entry.js:19:29: Could not resolve: "node:perf_hooks". Maybe you need to "bun install"? /entry.js:20:26: Could not resolve: "node:process". Maybe you need to "bun install"? /entry.js:21:27: Could not resolve: "node:punycode". Maybe you need to "bun install"? /entry.js:22:30: Could not resolve: "node:querystring". Maybe you need to "bun install"? /entry.js:23:27: Could not resolve: "node:readline". Maybe you need to "bun install"? /entry.js:24:23: Could not resolve: "node:repl". Maybe you need to "bun install"? /entry.js:25:25: Could not resolve: "node:stream". Maybe you need to "bun install"? /entry.js:26:33: Could not resolve: "node:string_decoder". Maybe you need to "bun install"? /entry.js:27:22: Could not resolve: "node:sys". Maybe you need to "bun install"? /entry.js:28:25: Could not resolve: "node:timers". Maybe you need to "bun install"? /entry.js:29:22: Could not resolve: "node:tls". Maybe you need to "bun install"? /entry.js:30:22: Could not resolve: "node:tty". Maybe you need to "bun install"? /entry.js:31:22: Could not resolve: "node:url". Maybe you need to "bun install"? /entry.js:32:23: Could not resolve: "node:util". Maybe you need to "bun install"? /entry.js:33:21: Could not resolve: "node:v8". Maybe you need to "bun install"? /entry.js:34:21: Could not resolve: "node:vm". Maybe you need to "bun install"? /entry.js:35:23: Could not resolve: "node:zlib". Maybe you need to "bun install"? at /Users/runner/work/bun/bun/test/bundler/expectBundled.ts:738:16 at /Users/runner/work/bun/bun/test/bundler/expectBundled.ts:408:10
error: expect(received).toBe(expected): test/js/bun/spawn/spawn.test.ts#L161
Expected: 1 Received: null at /Users/runner/work/bun/bun/test/js/bun/spawn/spawn.test.ts:161:10
error: expect(received).toBe(expected): test/js/bun/sqlite/sqlite.test.js#L63
Expected: 0 Received: 1 at /Users/runner/work/bun/bun/test/js/bun/sqlite/sqlite.test.js:63:2
error: SQL logic error: test/js/bun/sqlite/sqlite.test.js#L518
at /Users/runner/work/bun/bun/test/js/bun/sqlite/sqlite.test.js:518:2
error: expect(received).toStrictEqual(expected): test/js/node/child_process/child_process-node.test.js#L510
Expected: null Received: 1 at /Users/runner/work/bun/bun/test/js/node/child_process/child_process-node.test.js:510:10 at _return (/Users/runner/work/bun/bun/test/js/node/harness.ts:153:25)
TypeError: Executable not found in $PATH: "timeout": test/js/third_party/webpack/webpack.test.ts#L20
at /Users/runner/work/bun/bun/test/js/third_party/webpack/webpack.test.ts:20:2 at /Users/runner/work/bun/bun/test/js/third_party/webpack/webpack.test.ts:19:30
error: expect(received).toBeGreaterThanOrEqual(expected): test/js/web/timers/setTimeout.test.js#L231
Expected: >= 5 Received: 3 at /Users/runner/work/bun/bun/test/js/web/timers/setTimeout.test.js:231:4
Tests bun-darwin-x64-baseline
7 files with failing tests
Tests bun-darwin-x64-baseline
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
bun-darwin-x64-baseline Expired
18.7 MB
bun-darwin-x64-baseline-cpp Expired
52.2 MB
bun-darwin-x64-baseline-deps Expired
43.8 MB
bun-darwin-x64-baseline-profile Expired
19.8 MB
bun-obj-darwin-x64-baseline Expired
132 MB