Skip to content

zlib: use modern class syntax for zstd classes #67637

zlib: use modern class syntax for zstd classes

zlib: use modern class syntax for zstd classes #67637

Triggered via pull request February 8, 2025 19:37
Status Failure
Total duration 56m 12s
Artifacts

test-linux.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
test-linux: test/parallel/test-zlib-invalid-input.js#L43
--- stderr --- /home/runner/work/node/node/node/test/parallel/test-zlib-invalid-input.js:43 zlib.ZstdDecompress(), ^ TypeError: Class constructor ZstdDecompress cannot be invoked without 'new' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-zlib-invalid-input.js:43:8) at Module._compile (node:internal/modules/cjs/loader:1727:14) at Object..js (node:internal/modules/cjs/loader:1892:10) at Module.load (node:internal/modules/cjs/loader:1462:32) at Function._load (node:internal/modules/cjs/loader:1279:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:234:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5) at node:internal/main/run_main_module:33:47 Node.js v24.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-zlib-invalid-input.js
test-linux: test/parallel/test-zlib-zero-byte.js#L39
--- stderr --- (node:187733) [DEP0184] DeprecationWarning: Instantiating Gzip without the 'new' keyword has been deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) --- stdout --- Test failure: 'zlib should properly handle zero byte input' Location: test/parallel/test-zlib-zero-byte.js:30:1 TypeError: Class constructor ZstdCompress cannot be invoked without 'new' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-zlib-zero-byte.js:39:16) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:990:9) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:308:3) Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-zlib-zero-byte.js
test-linux
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors