Closed yaahc closed 3 years ago
Looking into this. It might actually be the cause of all those "error"s.
Ok, opened #561 with a fix (bringing in https://github.com/rust-lang/rustwide/pull/52).
Turns out the error was not rust-toolchain
, as Rustwide bypasses that already (the file does not matter when you call cargo +toolchain
). The problem was rustwide removing all path dependencies from the Cargo.toml
, thus breaking the build.
This should be fixed now!
From a comment in https://github.com/rust-lang/rust/pull/75180 about a regression not being caught in
artichoke
by crater.@yaahc @Dylan-DPC I pulled the
rustops/crates-build-env
container and Artichoke builds successfully in it, but I did notice that the rustup-installedcargo
initiated an install of the toolchain specified in Artichoke'srust-toolchain
file. I'm guessing this type of network activity is what the crater sandbox prevents.Given that crater's intent is to build projects with specific versions of
rustc
, I think it makes sense to ignorerust-toolchain
files in the repository if they are present.Originally posted by @lopopolo in https://github.com/rust-lang/rust/issues/75180#issuecomment-767912621