Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile CI fails, outdated rust compiler #605

Closed
joepio opened this issue Mar 2, 2023 · 5 comments · Fixed by #608
Closed

Dockerfile CI fails, outdated rust compiler #605

joepio opened this issue Mar 2, 2023 · 5 comments · Fixed by #608

Comments

@joepio
Copy link
Member

joepio commented Mar 2, 2023

https://github.com/atomicdata-dev/atomic-data-rust/actions/runs/4297410183/jobs/7490348894#step:7:4955

I'll try switching from frovlad/alpine-rust to rust as base image.

joepio added a commit that referenced this issue Mar 2, 2023
@joepio
Copy link
Member Author

joepio commented Mar 2, 2023

https://github.com/atomicdata-dev/atomic-data-rust/actions/runs/4313680117/jobs/7525772504#step:7:185

New problem is related to image not working with cross-compilation

#5 [linux/arm/v6 internal] load metadata for docker.io/library/rust:latest
#5 ERROR: no match for platform in manifest sha256:aed98ad355d0e8303d057cc4894a7d331010980eb63c7dc46176de82670881dd: not found

#6 [linux/amd64 internal] load metadata for docker.io/library/rust:latest
#6 CANCELED

#7 [linux/arm/v6 internal] load metadata for docker.io/frolvlad/alpine-glibc:alpine-3.16_glibc-2.34
#7 DONE 5.2s

#8 [linux/arm64 internal] load metadata for docker.io/frolvlad/alpine-glibc:alpine-3.16_glibc-2.34
#8 DONE 5.2s

#9 [linux/amd64 internal] load metadata for docker.io/frolvlad/alpine-glibc:alpine-3.16_glibc-2.34
#9 DONE 5.2s

#10 [linux/arm/v7 internal] load metadata for docker.io/frolvlad/alpine-glibc:alpine-3.16_glibc-2.34
#10 DONE 5.2s

#11 [linux/arm64 internal] load metadata for docker.io/library/rust:latest
#11 CANCELED

#12 [linux/arm/v7 internal] load metadata for docker.io/library/rust:latest
#12 CANCELED
------
 > [linux/arm/v6 internal] load metadata for docker.io/library/rust:latest:
------
dockerfile:1
--------------------
   1 | >>> FROM rust as builder
   2 |     WORKDIR /app
   3 |     COPY . .
--------------------
ERROR: failed to solve: rust: no match for platform in manifest sha256:aed98ad355d0e8303d057cc4894a7d331010980eb63c7dc46[176](https://github.com/atomicdata-dev/atomic-data-rust/actions/runs/4313680117/jobs/7525772504#step:7:180)de82670881dd: not found
Error: buildx failed with: ERROR: failed to solve: rust: no match for platform in manifest sha256:aed98ad355d0e8303d057cc4894a7d331010980eb63c7dc46176de82670881dd: not found

joepio added a commit that referenced this issue Mar 3, 2023
@joepio
Copy link
Member Author

joepio commented Mar 3, 2023

Might be caused by provenance setting

docker/build-push-action#755 (comment)

joepio added a commit that referenced this issue Mar 3, 2023
This was referenced Mar 3, 2023
@joepio
Copy link
Member Author

joepio commented Mar 3, 2023

Reverting to previous build image error re-introduced the let ... else syntax error, of course.

joepio added a commit that referenced this issue Mar 3, 2023
joepio added a commit that referenced this issue Mar 3, 2023
@joepio
Copy link
Member Author

joepio commented Mar 3, 2023

Tried to remove some targets (armv6, v7) now it's just getting killed..

@joepio
Copy link
Member Author

joepio commented Mar 3, 2023

The killing is an OOM issue (137), possibly related to the crates io index. However, our error is during build, not during registry.

joepio added a commit that referenced this issue Mar 3, 2023
Disable provenance docker ci #605

Retry frovlad image

#605 rust docker base image buster

Remove platforms dokcer #605

Default rust build image

Try sparse registry

Nightly

Fix nightly

Net git fetch
@joepio joepio closed this as completed Mar 3, 2023
joepio added a commit that referenced this issue Mar 3, 2023
Disable provenance docker ci #605

Retry frovlad image

#605 rust docker base image buster

Remove platforms dokcer #605

Default rust build image

Try sparse registry

Nightly

Fix nightly

Net git fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant