cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.21k stars 354 forks source link

Unable to cross compile from within gitlab ci/cd pipeline #1521

Closed Rylan-Meilutis closed 3 days ago

Rylan-Meilutis commented 3 days ago

Checklist

Describe your issue

When I attempt to run the pipeline I get the following error

info: downloading component 'rust-std' for 'x86_64-pc-windows-gnu' info: installing component 'rust-std' for 'x86_64-pc-windows-gnu' Error: 0: docker inspect runner-ckasrop8m-project-62-concurrent-0 failed with exit status: 1 Stderr: Error: No such object: runner-ckasrop8m-project-62-concurrent-0 Stdout: []

What target(s) are you cross-compiling for?

x86_64-pc-windows-gnu

Which operating system is the host (e.g computer cross is on) running?

What architecture is the host?

What container engine is cross using?

cross version

cross 0.2.5

Example

create a gitlab pipeline using the docker executer, the image I am using is the rust-latest image with cross installed. have the pipeline try to cross compile a package

Additional information / notes

It builds in a container with the same image not run by the gitlab pipeline

Rylan-Meilutis commented 3 days ago

Found a dupicate