Created
April 25, 2018 19:17
-
-
Save leafi/be4fe7807577d170ef558dd0081a3091 to your computer and use it in GitHub Desktop.
node-lz4 Node 10 test failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pink:node-lz4 leaf$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| nothing to commit, working tree clean | |
| pink:node-lz4 leaf$ node --version | |
| v10.0.0 | |
| pink:node-lz4 leaf$ npm i && npm test | |
| npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated | |
| npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js | |
| npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
| npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade | |
| npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. | |
| npm WARN deprecated natives@1.1.3: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x. | |
| npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
| > fsevents@1.2.2 install /Users/leaf/node-lz4/node_modules/fsevents | |
| > node install | |
| node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.2/fse-v1.2.2-node-v64-darwin-x64.tar.gz | |
| node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.2.2 and node@10.0.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) | |
| SOLINK_MODULE(target) Release/.node | |
| CXX(target) Release/obj.target/fse/fsevents.o | |
| SOLINK_MODULE(target) Release/fse.node | |
| COPY /Users/leaf/node-lz4/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node | |
| TOUCH Release/obj.target/action_after_build.stamp | |
| > ws@0.4.32 install /Users/leaf/node-lz4/node_modules/ws | |
| > (node-gyp rebuild 2> builderror.log) || (exit 0) | |
| CXX(target) Release/obj.target/bufferutil/src/bufferutil.o | |
| > lz4@0.5.3 install /Users/leaf/node-lz4 | |
| > node-gyp rebuild | |
| CXX(target) Release/obj.target/lz4/lib/binding/lz4_binding.o | |
| CC(target) Release/obj.target/lz4/deps/lz4/lib/lz4.o | |
| CC(target) Release/obj.target/lz4/deps/lz4/lib/lz4hc.o | |
| SOLINK_MODULE(target) Release/lz4.node | |
| CXX(target) Release/obj.target/xxhash/lib/binding/xxhash_binding.o | |
| CC(target) Release/obj.target/xxhash/deps/lz4/lib/xxhash.o | |
| SOLINK_MODULE(target) Release/xxhash.node | |
| npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. | |
| npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only. | |
| npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information. | |
| > lz4@0.5.3 prepublish /Users/leaf/node-lz4 | |
| > ./build.sh | |
| npm notice created a lockfile as package-lock.json. You should commit this file. | |
| npm WARN lz4@0.5.3 No license field. | |
| added 488 packages from 798 contributors in 20.637s | |
| > lz4@0.5.3 test /Users/leaf/node-lz4 | |
| > mocha | |
| (node:16795) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. | |
| LZ4 block encoder/decoder | |
| ✓ should encode/decode data | |
| LZ4 checksum | |
| 1) should encode/decode data | |
| 2) should encode/decode data | |
| 3) should encode/decode data | |
| LZ4 decoder | |
| sync | |
| ✓ should decode data | |
| async | |
| ✓ should decode data | |
| ✓ should decode data with small stream chunks | |
| LZ4 encoder | |
| sync | |
| empty | |
| ✓ should encode no data | |
| encoding | |
| ✓ should encode data | |
| HC encoding | |
| ✓ should encode data | |
| async | |
| encoding | |
| ✓ should encode data | |
| encoding with small chunk size | |
| ✓ should encode data | |
| HC encoding | |
| ✓ should encode data | |
| LZ4 js encoder | |
| ✓ should encode/decode data | |
| 11 passing (30ms) | |
| 3 failing | |
| 1) LZ4 checksum should encode/decode data: | |
| RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received 3675999523 | |
| at checkInt (internal/buffer.js:35:11) | |
| at writeU_Int32LE (internal/buffer.js:515:3) | |
| at Buffer.writeInt32LE (internal/buffer.js:684:10) | |
| at Encoder._flush (lib/encoder_stream.js:215:7) | |
| at Encoder.prefinish (_stream_transform.js:141:10) | |
| at prefinish (_stream_writable.js:643:14) | |
| at finishMaybe (_stream_writable.js:651:5) | |
| at endWritable (_stream_writable.js:662:3) | |
| at Encoder.Writable.end (_stream_writable.js:602:5) | |
| at Object.LZ4_compress [as encode] (lib/encoder.js:14:10) | |
| at Context.<anonymous> (test/checksum-test.js:12:20) | |
| 2) LZ4 checksum should encode/decode data: | |
| RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received 2319569705 | |
| at checkInt (internal/buffer.js:35:11) | |
| at writeU_Int32LE (internal/buffer.js:515:3) | |
| at Buffer.writeInt32LE (internal/buffer.js:684:10) | |
| at Encoder._flush (lib/encoder_stream.js:215:7) | |
| at Encoder.prefinish (_stream_transform.js:141:10) | |
| at prefinish (_stream_writable.js:643:14) | |
| at finishMaybe (_stream_writable.js:651:5) | |
| at endWritable (_stream_writable.js:662:3) | |
| at Encoder.Writable.end (_stream_writable.js:602:5) | |
| at Object.LZ4_compress [as encode] (lib/encoder.js:14:10) | |
| at Context.<anonymous> (test/checksum-test.js:21:20) | |
| 3) LZ4 checksum should encode/decode data: | |
| RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received 3729892867 | |
| at checkInt (internal/buffer.js:35:11) | |
| at writeU_Int32LE (internal/buffer.js:515:3) | |
| at Buffer.writeInt32LE (internal/buffer.js:684:10) | |
| at Encoder._flush (lib/encoder_stream.js:215:7) | |
| at Encoder.prefinish (_stream_transform.js:141:10) | |
| at prefinish (_stream_writable.js:643:14) | |
| at finishMaybe (_stream_writable.js:651:5) | |
| at endWritable (_stream_writable.js:662:3) | |
| at Encoder.Writable.end (_stream_writable.js:602:5) | |
| at Object.LZ4_compress [as encode] (lib/encoder.js:14:10) | |
| at Context.<anonymous> (test/checksum-test.js:31:20) | |
| npm ERR! Test failed. See above for more details. | |
| pink:node-lz4 leaf$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment