Hi @dlecan, thanks for this! I'm struggling to get a nightly version of this going. I forked your Docker image, ran rustup toolchain install nightly-x86_64-unknown-linux-gnu, which succeeded. But when I run cargo +nightly build, I get this permission error for all packages:
root@ae3587e98f45:/source# cargo +nightly build
error: unable to get packages from source
Caused by:
failed to unpack package `crossbeam-channel v0.3.3`
Caused by:
failed to open: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.3/.cargo-ok
Caused by:
Permission denied (os error 13)
When try cat /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.3/.cargo-ok, it prints an empty file with no permission error.
Is cargo +nightly running as a different user perhaps?
Hi @dlecan, thanks for this! I'm struggling to get a nightly version of this going. I forked your Docker image, ran
rustup toolchain install nightly-x86_64-unknown-linux-gnu
, which succeeded. But when I runcargo +nightly build
, I get this permission error for all packages:When try
cat /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.3.3/.cargo-ok
, it prints an empty file with no permission error.Is cargo +nightly running as a different user perhaps?
Any help would be appreciated.
So then I