When I try to publish the package, I get the following error (full traceback here):
error: failed to verify package tarball
Caused by:
Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR.
Added: /home/runner/work/nyx/nyx/target/package/nyx-space-2.0.0-alpha/Cargo.lock
I diff'd the Cargo.lock file before and after running cargo publish on my machine instead of the github action, and it seems that the cargo.lock file didn't actually change.
Hi there,
In my
build.rs
file, I've got the following as per the instructions:When I try to publish the package, I get the following error (full traceback here):
I diff'd the
Cargo.lock
file before and after runningcargo publish
on my machine instead of the github action, and it seems that the cargo.lock file didn't actually change.Any idea what could be causing this issue? Thanks