Hello, I've been seeing this error for the first time:
error: couldn't read /cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.110.2/isle_generated_code/isle_x64.rs: No such file or directory (os error 2)
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.110.2/src/isa/x64/lower/isle/generated_code.rs:14:1
|
| include!(concat!(env!("ISLE_DIR"), "/isle_x64.rs"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
Any idea what it could be?
looks like an issue with the ISLE build step -- is there an isle_x64.rs
anywhere in your target/
directory?
also: you say "for the first time" -- what variable changed, new version of Rust, new Cranelift version, something else?
This is from an action I run on github to build a project: I have a run that compiles correctly and one that stably fails with that error. Nothing changed between the two runs, at least in my code (maybe something changed in gh's runners?)
OK, the first thing I would do is try to reproduce locally, and then determine what exactly is new -- e.g. bisect compiler versions
A local reproduction will also be necessary to debug this further
I was not able to reproduce it locally: what I ended up doing is removing the cache between each cargo build
command in CI. However, I got a different one, still related to cranelift-codegen
: https://docs.rs/crate/wasmer/5.0.0/builds/1485455
This looks like an issue with something outside of Cranelift's codebase: "read-only filesystem"
I see this is part of a build of Wasmer; I would suggest going to them for further technical support
Last updated: Dec 23 2024 at 13:07 UTC