Open xangelix opened 1 month ago
I've never seen that before. I will try to figure out where that is coming from this weekend.
I suddenly started getting this as well after updating my Arch system, although only when building in a Docker container.
My build script is:
use std::error::Error;
use vergen::EmitBuilder;
fn main() -> Result<(), Box<dyn Error>> {
EmitBuilder::builder()
.git_branch()
.git_sha(false)
.build_date()
.rustc_semver()
.sysinfo_user()
.fail_on_error()
.emit()?;
Ok(())
}
And in Cargo.toml
:
[build-dependencies]
vergen = { version = "8.1.3", features = ["build", "cargo", "rustc", "si", "git", "gitoxide"] }
I wish I was able to provide more details but I'm unable to replicate this issue outside of the gitlab-runner environment-- so maybe it has to do with an environment variable gitlab introduces? Hopefully I'm not overlooking something obvious here.
I have a workspace with a few crates that each use
vergen_gix
in the following way:But I get the following errors only when building in the CICD environment.
Any ideas what would be causing a slotmap error like this?