src: fix usage of deprecated V8 API #1730
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/benchmark/test-benchmark-http.js#L0
--- stderr ---
node:internal/streams/writable:466
throw new ERR_UNKNOWN_ENCODING(encoding);
^
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: latin1
at _write (node:internal/streams/writable:466:13)
at Writable.write (node:internal/streams/writable:508:10)
at ServerResponse._writeRaw (node:_http_outgoing:386:17)
at ServerResponse._send (node:_http_outgoing:363:15)
at ServerResponse.end (node:_http_outgoing:1078:10)
at Server.<anonymous> (/Users/runner/work/node-v8/node-v8/node/benchmark/http/headers.js:39:9)
at Server.emit (node:events:508:28)
at parserOnIncoming (node:_http_server:1188:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:122:17) {
code: 'ERR_UNKNOWN_ENCODING'
}
Node.js v25.0.0-pre
node:internal/process/promises:330
new UnhandledPromiseRejection(reason);
^
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".
at throwUnhandledRejectionsMode (node:internal/process/promises:330:7)
at processPromiseRejections (node:internal/process/promises:413:17)
at process.processTicksAndRejections (node:internal/process/task_queues:106:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v25.0.0-pre
node:assert:149
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at ChildProcess.<anonymous> (/Users/runner/work/node-v8/node-v8/node/test/common/benchmark.js:28:12)
at ChildProcess.emit (node:events:508:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node-v8/node-v8/node/test/benchmark/test-benchmark-http.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|