node:fs/promises.cp should make path if dest does not exist #1824
ci.yml
on: pull_request
Build windows-x64-baseline
/
Codegen
14s
Build windows-x64
/
Codegen
17s
Build darwin-aarch64
/
Build Submodules
11s
Build darwin-aarch64
/
Build C++
3m 17s
Build darwin-aarch64
/
...
/
Build Zig
16m 49s
Build darwin-x64-baseline
/
Build Submodules
13s
Build darwin-x64-baseline
/
Build C++
28m 41s
Build darwin-x64-baseline
/
...
/
Build Zig
8m 25s
Build darwin-x64
/
Build Submodules
13s
Build darwin-x64
/
Build C++
28m 41s
Build darwin-x64
/
...
/
Build Zig
8m 42s
Build linux-aarch64
/
...
/
Build & Link
31m 50s
Build linux-x64-baseline
/
...
/
Build & Link
15m 40s
Build linux-x64
/
...
/
Build & Link
15m 22s
Build windows-x64-baseline
/
Build Submodules
21s
Build windows-x64-baseline
/
...
/
Build Zig
9m 25s
Build windows-x64
/
Build Submodules
15s
Build windows-x64
/
...
/
Build Zig
8m 57s
Format
/
Format
1m 0s
Lint
/
Lint
11s
Test linux-aarch64
/
Tests
15m 47s
Test linux-aarch64
/
Node.js Tests
0s
Test linux-x64-baseline
/
Tests
8m 48s
Test linux-x64-baseline
/
Node.js Tests
0s
Test linux-x64
/
Tests
9m 19s
Test linux-x64
/
Node.js Tests
0s
Test darwin-aarch64
/
Tests
9m 29s
Test darwin-aarch64
/
Node.js Tests
0s
Test darwin-x64-baseline
/
Tests
15m 2s
Test darwin-x64-baseline
/
Node.js Tests
0s
Test darwin-x64
/
Tests
15m 11s
Test darwin-x64
/
Node.js Tests
0s
Test windows-x64-baseline
/
Tests
16m 35s
Test windows-x64-baseline
/
Node.js Tests
0s
Cleanup
7s
Test windows-x64
/
Tests
11m 25s
Test windows-x64
/
Node.js Tests
0s
Annotations
28 errors and 27 warnings
Test windows-x64 / Tests
Process completed with exit code 1.
|
error: expect(received).toEqual(expected):
test\bundler\expectBundled.ts#L1312
[
+ "..\\node_modules\\react\\index.js",
+ "..\\entry.js"
- "../node_modules/react/index.js",
- "../entry.js"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\bundler\expectBundled.ts:1312:15
at C:\a\bun\bun\test\bundler\expectBundled.ts:1288:67
at C:\a\bun\bun\test\node_modules\source-map\lib\source-map-consumer.js:70:20
|
error: expect(received).toEqual(expected):
test\cli\install\bunx.test.ts#L92
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
+ 1,
0,
0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
0,
0,
0
]
- Expected - 6
+ Received + 6
at C:\a\bun\bun\test\cli\install\bunx.test.ts:92:3
|
error: error
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: error
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: error
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: error
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).toMatchSnapshot(expected):
test\js\bun\test\test-test.test.ts#L714
Expected:
"
my-test.test.js:
1 |
2 | import {test, beforeAll, expect, beforeEach, afterEach, afterAll, describe} from "bun:test";
3 |
4 | beforeEach(async () => {
5 | Bun.sleep(1).then(() => {
6 | throw new Error('## stage beforeEach ##');
^
error: ## stage beforeEach ##
at <dir>/my-test.test.js:6:17
(fail) my-test [xx ms]
0 pass
1 fail
Ran 1 tests across 1 files. [xx ms]
"
Received:
"
my-test.test.js:
1 |
2 | import {test, beforeAll, expect, beforeEach, afterEach, afterAll, describe} from "bun:test";
3 |
4 | beforeEach(async () => {
5 | Bun.sleep(1).then(() => {
6 | throw new Error('## stage beforeEach ##');
^
error: ## stage beforeEach ##
at <dir>/my-test.test.js:6:17
(fail) my-test [xx ms]
0 pass
1 fail
1 expect() calls
Ran 1 tests across 1 files. [xx ms]
"
at C:\a\bun\bun\test\js\bun\test\test-test.test.ts:714:20
|
error: expect(received).toBe(expected):
test\js\node\process\process.test.js#L596
Expected: 42
Received: 1
at C:\a\bun\bun\test\js\node\process\process.test.js:596:3
|
error: expect(received).toBe(expected):
test\js\node\process\process.test.js#L601
Expected: 42
Received: 1
at C:\a\bun\bun\test\js\node\process\process.test.js:601:3
|
ECONNREFUSED: Failed to connect
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\bundler\expectBundled.ts#L1312
[
+ "..\\node_modules\\react\\index.js",
+ "..\\entry.js"
- "../node_modules/react/index.js",
- "../entry.js"
]
- Expected - 2
+ Received + 2
at C:\a\bun\bun\test\bundler\expectBundled.ts:1312:15
at C:\a\bun\bun\test\bundler\expectBundled.ts:1288:67
at C:\a\bun\bun\test\node_modules\source-map\lib\source-map-consumer.js:70:20
|
error: expect(received).toEqual(expected):
test\cli\install\bunx.test.ts#L92
[
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:92:3
|
error: expect(received).toBeLessThanOrEqual(expected):
test\js\bun\http\serve-body-leak.test.ts#L143
Expected: <= 48
Received: 49
at C:\a\bun\bun\test\js\bun\http\serve-body-leak.test.ts:143:7
|
error: error
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: error
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: error
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: error
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).toMatchSnapshot(expected):
test\js\bun\test\test-test.test.ts#L714
Expected:
"
my-test.test.js:
1 |
2 | import {test, beforeAll, expect, beforeEach, afterEach, afterAll, describe} from "bun:test";
3 |
4 | beforeEach(async () => {
5 | Bun.sleep(1).then(() => {
6 | throw new Error('## stage beforeEach ##');
^
error: ## stage beforeEach ##
at <dir>/my-test.test.js:6:17
(fail) my-test [xx ms]
0 pass
1 fail
Ran 1 tests across 1 files. [xx ms]
"
Received:
"
my-test.test.js:
1 |
2 | import {test, beforeAll, expect, beforeEach, afterEach, afterAll, describe} from "bun:test";
3 |
4 | beforeEach(async () => {
5 | Bun.sleep(1).then(() => {
6 | throw new Error('## stage beforeEach ##');
^
error: ## stage beforeEach ##
at <dir>/my-test.test.js:6:17
(fail) my-test [xx ms]
0 pass
1 fail
1 expect() calls
Ran 1 tests across 1 files. [xx ms]
"
at C:\a\bun\bun\test\js\bun\test\test-test.test.ts:714:20
|
error: expect(received).toBe(expected):
test\js\node\process\process.test.js#L596
Expected: 42
Received: 1
at C:\a\bun\bun\test\js\node\process\process.test.js:596:3
|
error: expect(received).toBe(expected):
test\js\node\process\process.test.js#L601
Expected: 42
Received: 1
at C:\a\bun\bun\test\js\node\process\process.test.js:601:3
|
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
|
error: expect(received).not.toContain(expected):
test/js/bun/test/test-test.test.ts#L536
Expected to not contain: "unreachable code"
Received: "bun test v1.1.10-canary.1 (037ba05e)\n\ntest-timeout.test.js:\nerror: Test \"test timeouts when expected\" timed out after 10ms\n(fail) test timeouts when expected [33.14ms]\nerror: Test \"test timeouts when expected 2\" timed out after 10ms\n(fail) test timeouts when expected 2 [82.56ms]\nunreachable code\nunreachable code\nerror: Test \"process doesn't hang on test with ref'd value\" timed out after 10ms\n(fail) process doesn't hang on test with ref'd value [74.02ms]\n\n 0 pass\n 3 fail\nRan 3 tests across 1 files. [200.00ms]\n"
at /Users/runner/work/bun/bun/test/js/bun/test/test-test.test.ts:536:3
|
Test darwin-x64 / Tests
2 files with failing tests
|
Test darwin-x64 / Tests
Process completed with exit code 1.
|
Test darwin-x64 / Tests
Process completed with exit code 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-aarch64 / Link
openssl@1.1 has been deprecated because it is not supported upstream!
|
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 / 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 / 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-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!
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bun-darwin-aarch64
Expired
|
17.3 MB |
|
bun-darwin-aarch64-profile
Expired
|
18.7 MB |
|
bun-darwin-aarch64-tests
Expired
|
4.81 KB |
|
bun-darwin-x64
Expired
|
18.8 MB |
|
bun-darwin-x64-baseline
Expired
|
18.8 MB |
|
bun-darwin-x64-baseline-profile
Expired
|
20.8 MB |
|
bun-darwin-x64-baseline-tests
Expired
|
4.81 KB |
|
bun-darwin-x64-profile
Expired
|
20.8 MB |
|
bun-darwin-x64-tests
Expired
|
8.74 KB |
|
bun-feature-data
Expired
|
475 Bytes |
|
bun-linux-aarch64
Expired
|
32.1 MB |
|
bun-linux-aarch64-profile
Expired
|
62.5 MB |
|
bun-linux-aarch64-tests
Expired
|
4.8 KB |
|
bun-linux-x64
Expired
|
33.4 MB |
|
bun-linux-x64-baseline
Expired
|
33.3 MB |
|
bun-linux-x64-baseline-profile
Expired
|
62.7 MB |
|
bun-linux-x64-baseline-tests
Expired
|
4.8 KB |
|
bun-linux-x64-profile
Expired
|
62.8 MB |
|
bun-linux-x64-tests
Expired
|
4.8 KB |
|
bun-windows-x64
Expired
|
33.7 MB |
|
bun-windows-x64-baseline
Expired
|
33.6 MB |
|
bun-windows-x64-baseline-profile
Expired
|
96.7 MB |
|
bun-windows-x64-baseline-tests
Expired
|
17.8 KB |
|
bun-windows-x64-profile
Expired
|
96.9 MB |
|
bun-windows-x64-tests
Expired
|
17.2 KB |
|