Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LW-9860] - Upgrade vulnerabilities and remove unused files #3156

Open
wants to merge 52 commits into
base: develop
Choose a base branch
from

migrated to mobx version 6

ae32ea7
Select commit
Loading
Failed to load commit list.
Open

[LW-9860] - Upgrade vulnerabilities and remove unused files #3156

migrated to mobx version 6
ae32ea7
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:installer.x86_64-windows.preprod failed May 11, 2024 in 13s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 4

Derivation

/nix/store/6pjhv530d934wc6jhpd08jrdvdahbf3z-daedalus-node_modules.drv

Log

unpacking sources
unpacking source archive /nix/store/m0l4k7484f5j8x5b25kaqpaf344xr2bh-daedalus-lockfiles
source root is daedalus-lockfiles
patching sources
configuring
yarn config v1.22.19
warning package.json: No license field
success Set "yarn-offline-mirror" to "/nix/store/jr44adcjqv15hqqw2pyk8npl2grdg9sw-offline".
Done in 0.01s.
building
yarn install v1.22.19
warning package.json: No license field
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/build/home/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[] 0/1799[] 23/1799[] 52/1799[] 81/1799[] 97/1799[] 113/1799[] 148/1799[] 166/1799[] 175/1799[] 178/1799[] 185/1799[] 199/1799[] 213/1799[] 230/1799[] 241/1799[] 253/1799[] 282/1799[] 311/1799[] 347/1799[] 372/1799[] 414/1799[] 451/1799[] 493/1799[] 512/1799[] 522/1799[] 545/1799[] 573/1799[] 598/1799[] 609/1799[] 622/1799[] 650/1799[] 666/1799[] 683/1799[] 699/1799[] 731/1799[] 760/1799[] 805/1799[] 824/1799[] 839/1799[] 840/1799[] 842/1799[] 844/1799[] 845/1799[] 847/1799[] 861/1799[] 874/1799[] 883/1799[] 904/1799[] 940/1799[] 968/1799[] 1002/1799[] 1036/1799[] 1065/1799[] 1101/1799[] 1131/1799[] 1163/1799[] 1199/1799[] 1220/1799[] 1241/1799[] 1249/1799[] 1254/1799[] 1266/1799[] 1278/1799[] 1296/1799[] 1324/1799[] 1352/1799[] 1388/1799[] 1417/1799[] 1453/1799[] 1467/1799[] 1485/1799[] 1498/1799[] 1518/1799[] 1528/1799[] 1536/1799[] 1546/1799[] 1565/1799[] 1588/1799[] 1610/1799[] 1614/1799[] 1618/1799[] 1623/1799[] 1626/1799[] 1632/1799[] 1654/1799[] 1684/1799[] 1708/1799[] 1738/1799[] 1765/1799[] 1793/1799[] 1796/1799[] 1798/1799[3/4] Linking dependencies...
warning " > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning " > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/blockchain-link > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/connect-analytics > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning "@trezor/connect > @trezor/connect-common > @trezor/[email protected]" has unmet peer dependency "tslib@^2.6.2".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "react-router@^6.14.2".
warning " > [email protected]" has incorrect peer dependency "react@^15.5.3 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.9 || ^15.0.0 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0".
warning " > [email protected]" has incorrect peer dependency "[email protected]".
warning "@swc-node/register > @swc-node/[email protected]" has unmet peer dependency "@swc/types@>= 0.1".
warning " > @testing-library/[email protected]" has incorrect peer dependency "react@^18.0.0".
warning " > @testing-library/[email protected]" has incorrect peer dependency "react-dom@^18.0.0".
warning " > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
warning " > [email protected]" has incorrect peer dependency "mobx@^4.3.1 || ^5.0.0".
warning " > [email protected]" has incorrect peer dependency "mobx-react@^4.0.0 || ^5.0.0".
[] 1799/1799[] 0/2048[] 0/77044[] 1021/77044[] 1911/77044[] 2849/77044[] 3812/77044[] 4813/77044[] 5867/77044[] 6763/77044[] 7626/77044[] 8479/77044[] 9339/77044[] 10235/77044[] 11131/77044[] 12139/77044[] 13224/77044[] 14314/77044[] 15247/77044[] 16232/77044[] 17256/77044[] 18280/77044[] 19304/77044[] 20328/77044[] 21352/77044[] 22415/77044[] 23528/77044[] 24643/77044[] 25703/77044[] 26855/77044[] 28007/77044[] 29199/77044[] 30438/77044[] 31716/77044[] 33080/77044[] 34404/77044[] 35683/77044[] 37091/77044[] 38499/77044[] 39973/77044[] 41443/77044[] 42979/77044[] 44643/77044[] 46351/77044[] 48143/77044[] 49909/77044[] 51700/77044[] 53647/77044[] 55668/77044[] 57615/77044[] 59746/77044[] 62047/77044[] 64381/77044[] 66831/77044[] 69444/77044[] 70494/77044[] 71793/77044[] 74352/77044[] 0/3557[] 3557/3557[4/4] Building fresh packages...
warning Ignored scripts due to flag.
Done in 11.09s.
removed './node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node'
removed './node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node'
removed './node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node'
removed './node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node'
removed './node_modules/usb/prebuilds/win32-x64/node.napi.node'
removed './node_modules/usb/prebuilds/win32-ia32/node.napi.node'
removed './node_modules/usb/prebuilds/win32-arm64/node.napi.node'
removed './node_modules/usb/prebuilds/linux-x64/node.napi.musl.node'
removed './node_modules/usb/prebuilds/linux-x64/node.napi.glibc.node'
removed './node_modules/usb/prebuilds/linux-ia32/node.napi.node'
removed './node_modules/usb/prebuilds/linux-arm64/node.napi.armv8.node'
removed './node_modules/usb/prebuilds/linux-arm/node.napi.armv7.node'
removed './node_modules/usb/prebuilds/linux-arm/node.napi.armv6.node'
removed './node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node'
removed './node_modules/usb/prebuilds/android-arm64/node.napi.armv8.node'
removed './node_modules/usb/prebuilds/android-arm/node.napi.armv7.node'
removed './node_modules/bufferutil/prebuilds/win32-x64/node.napi.node'
removed './node_modules/bufferutil/prebuilds/win32-ia32/node.napi.node'
removed './node_modules/bufferutil/prebuilds/linux-x64/node.napi.node'
removed './node_modules/bufferutil/prebuilds/darwin-x64+arm64/node.napi.node'
removed './node_modules/blake-hash/prebuilds/win32-x64/node.napi.node'
removed './node_modules/blake-hash/prebuilds/linux-x64/node.napi.node'
removed './node_modules/blake-hash/prebuilds/darwin-x64/node.napi.node'
 
Running the install script for ‘node_modules/bigint-buffer/package.json’:
yarn run v1.22.19
warning ../../package.json: No license field
$ npm run rebuild || echo "Couldn't build bindings. Non-native version used."

> [email protected] rebuild
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.9 found at "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/bin/python3"
gyp http GET https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz failed, reason: getaddrinfo EAI_AGAIN nodejs.org
gyp ERR! stack     at ClientRequest.<anonymous> (/build/daedalus-lockfiles/node_modules/minipass-fetch/lib/index.js:130:14)
gyp ERR! stack     at ClientRequest.emit (node:events:513:28)
gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:494:9)
gyp ERR! stack     at TLSSocket.emit (node:events:525:35)
gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:151:8)
gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gyp ERR! System Linux 6.1.29
gyp ERR! command "/nix/store/mldqcwj80jlcpi8g7bicknq7pxw4sqz9-nodejs-18.12.1/bin/node" "/build/daedalus-lockfiles/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /build/daedalus-lockfiles/node_modules/bigint-buffer
gyp ERR! node -v v18.12.1
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok 
Couldn't build bindings. Non-native version used.
Done in 0.37s.
 
Running the install script for ‘node_modules/blake-hash/package.json’:
yarn run v1.22.19
warning ../../package.json: No license field
$ node-gyp-build || exit 0
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.9 found at "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/bin/python3"
gyp http GET https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz failed, reason: getaddrinfo EAI_AGAIN nodejs.org
gyp ERR! stack     at ClientRequest.<anonymous> (/build/daedalus-lockfiles/node_modules/minipass-fetch/lib/index.js:130:14)
gyp ERR! stack     at ClientRequest.emit (node:events:513:28)
gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:494:9)
gyp ERR! stack     at TLSSocket.emit (node:events:525:35)
gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:151:8)
gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gyp ERR! System Linux 6.1.29
gyp ERR! command "/nix/store/mldqcwj80jlcpi8g7bicknq7pxw4sqz9-nodejs-18.12.1/bin/node" "/build/daedalus-lockfiles/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /build/daedalus-lockfiles/node_modules/blake-hash
gyp ERR! node -v v18.12.1
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok 
Done in 0.19s.
 
Running the install script for ‘node_modules/bufferutil/package.json’:
yarn run v1.22.19
warning ../../package.json: No license field
$ node-gyp-build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.9 found at "/nix/store/65cp4izx3bllnwqn7c7dhrq9h9gmjkal-python3-3.10.9/bin/python3"
gyp http GET https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz failed, reason: getaddrinfo EAI_AGAIN nodejs.org
gyp ERR! stack     at ClientRequest.<anonymous> (/build/daedalus-lockfiles/node_modules/minipass-fetch/lib/index.js:130:14)
gyp ERR! stack     at ClientRequest.emit (node:events:513:28)
gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:494:9)
gyp ERR! stack     at TLSSocket.emit (node:events:525:35)
gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:151:8)
gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gyp ERR! System Linux 6.1.29
gyp ERR! command "/nix/store/mldqcwj80jlcpi8g7bicknq7pxw4sqz9-nodejs-18.12.1/bin/node" "/build/daedalus-lockfiles/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /build/daedalus-lockfiles/node_modules/bufferutil
gyp ERR! node -v v18.12.1
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok 
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.