Illegal instruction (core dumped) on Raspberry Pi 4 Model B Rev 1.5 (aarch64)
envgap__import-js__eslint-import-resolver-typescript-406
01 / FAILURE SIGNATURE
As reported upstream
The recent v4 major switches the build tooling to rspack which is great for performance but unfortunately it makes it impossible to use the plugin on (my) Raspberry Pi for some reason. After trying to update `eslint-import-resolver-typescript` from 3.9.0 to 4.2.3 I'm met with this cryptic (rust?) error whenever I try to run `eslint`. It also creates a 250MB+ file named `core`.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
748795f0e3ae8d70ba2a90074338beeb8fbe07d5- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
import-js/eslint-import-resolver-typescript #406 · read the original issue
The recent v4 major switches the build tooling to rspack which is great for performance but unfortunately it makes it impossible to use the plugin on (my) Raspberry Pi for some reason. After trying to update `eslint-import-resolver-typescript` from 3.9.0 to 4.2.3 I'm met with this cryptic (rust?) error whenever I try to run `eslint`. It also creates a 250MB+ file named `core`. ``` $ eslint Illegal instruction (core dumped) ``` This occurs in a GitLab pipeline with a private runner on a Raspberry Pi, both `npm clean-install` and `eslint` happen in `node:22.14.0` images. What's confusing me is that the node bindings do seem to exist at `@unrs/rspack-resolver-binding-linux-arm64-gnu` and `@unrs/rspack-resolver-binding-linux-arm64-musl`. Since rust is a bit out of my comfort zone I thought I'd create this issue. If anyone has any pointers; I'm more than happy to debug a little ❤ I did manage to get the Node.js debug logs by executing `DEBUG=* eslint`; ``` MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/is-bun-module/dist/shared.js] [semver/functions/satisfies]: 0.476ms MODULE 39: Module._load REQUEST semver/functions/lt parent: /builds/<project>/<repo>/node_modules/is-bun-module/dist/shared.js MODULE 39: looking for "semver/functions/lt" in ["/builds/<project>/<repo>/node_modules/is-bun-module/dist/node_modules","/builds/<project>/<repo>/node_modules/is-bun-module/node_modules","/builds/<project>/<repo>/node_modules","/builds/<project>/node_modules","/builds/node_modules","/node_modules","/root/.node_modules","/root/.node_libraries","/usr/local/lib/node"] MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/is-bun-module/dist/shared.js] [semver/functions/lt]: 0.459ms MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/is-bun-module/dist/generic.js] [./shared]: 5.405ms MODULE 39: Module._load REQUEST ./shared parent: /builds/<project>/<repo>/node_modules/is-bun-module/dist/generic.js MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/is-bun-module/dist/generic.js] [./shared]: 0.044ms MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/eslint-import-resolver-typescript/lib/index.cjs] [is-bun-module]: 8.213ms MODULE 39: Module._load REQUEST rspack-resolver parent: /builds/<project>/<repo>/node_modules/eslint-import-resolver-typescript/lib/index.cjs MODULE 39: looking for "rspack-resolver" in ["/builds/<project>/<repo>/node_modules/eslint-import-resolver-typescript/lib/node_modules","/builds/<project>/<repo>/node_modules/eslint-import-resolver-typescript/node_modules","/builds/<project>/<repo>/node_modules","/builds/<project>/node_modules","/builds/node_modules","/node_modules","/root/.node_modules","/root/.node_libraries","/usr/local/lib/node"] MODULE 39: load "/builds/<project>/<repo>/node_modules/rspack-resolver/index.js" for module "/builds/<project>/<repo>/node_modules/rspack-resolver/index.js" MODULE 39: Module._load REQUEST node:module parent: /builds/<project>/<repo>/node_modules/rspack-resolver/index.js MODULE 39: load built-in module node:module MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/rspack-resolver/index.js] [node:module]: 0.14ms MODULE 39: Module._load REQUEST node:fs parent: /builds/<project>/<repo>/node_modules/rspack-resolver/index.js MODULE 39: load built-in module node:fs MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/rspack-resolver/index.js] [node:fs]: 0.067ms MODULE 39: Module._load REQUEST ./resolver.linux-arm64-gnu.node parent: /builds/<project>/<repo>/node_modules/rspack-resolver/index.js MODULE 39: RELATIVE: requested: ./resolver.linux-arm64-gnu.node from parent.id /builds/<project>/<repo>/node_modules/rspack-resolver/index.js MODULE 39: looking for ["/builds/<project>/<repo>/node_modules/rspack-resolver"] MODULE_TIMER 39 [/builds/<project>/<repo>/node_modules/rspack-resolver/index.js] [./resolver.linux-arm64-gnu.node]: 0.708ms MODULE 39: Module._load REQUEST @unrs/rspack-resolver-binding-linux-arm64-gnu parent: /builds/<project>/<repo>/node_modules/rspack-resolver/index.js MODULE 39: looking for "@unrs/rspack-resolver-binding-linux-arm64-gnu" in ["/builds/<project>/<repo>/node_modules/rspack-resolver/node_modules","/builds/<project>/<repo>/node_modules","/builds/<project>/node_modules","/builds/node_modules","/node_modules","/root/.node_modules","/root/.node_libraries","/usr/local/lib/node"] MODULE 39: load "/builds/<project>/<repo>/node_modules/@unrs/rspack-resolver-binding-linux-arm64-gnu/resolver.linux-arm64-gnu.node" for module "/builds/<project>/<repo>/node_modules/@unrs/rspack-resolver-binding-linux-arm64-gnu/resolver.linux-arm64-gnu.node" Illegal instruction (core dumped) MODULE 27: Module._load REQUEST @npmcli/package-json parent: /usr/local/lib/node_modules/npm/lib/npm.js MODULE 27: looking for "@npmcli/package-json" in ["/usr/local/lib/node_modules/npm/lib/node_modules","/usr/local/lib/node_modules/npm/node_modules","/usr/local/lib/node_modules","/usr/local/node_modules","/usr/node_modules","/node_modules","/root/.node_modules","/root/.node_libraries","/usr/local/lib/node"] MODULE_TIMER 27 [/usr/local/lib/node_modules/npm/lib/npm.js] [@npmcli/package-json]: 0.665ms MODULE 27: Module._load REQUEST ./utils/error-message.js parent: /usr/local/lib/node_modules/npm/lib/npm.js MODULE 27: RELATIVE: requested: ./utils/error-message.js from parent.id /usr/local/lib/node_modules/npm/lib/npm.js MODULE 27: looking for ["/usr/local/lib/node_modules/npm/lib"] MODULE_TIMER 27 [/usr/local/lib/node_modules/npm/lib/npm.js] [./utils/error-message.js]: 0.816ms MODULE 27: Module._load REQUEST node:fs parent: /usr/local/lib/node_modules/npm/lib/npm.js MODULE 27: load built-in module node:fs MODULE_TIMER 27 [/usr/local/lib/node_modules/npm/lib/npm.js] [node:fs]: 0.227ms MODULE 27: Module._load REQUEST node:os parent: /usr/local/lib/node_modules/npm/lib/cli/exit-handler.js MODULE 27: load built-in module node:os MODULE_TIMER 27 [/usr/local/lib/node_modules/npm/lib/cli/exit-handler.js] [node:os]: 0.347ms ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]