-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
While running RUN cargo chef cook --release --recipe-path recipe.json:
, compiling heim-net fails.
ing cookie_store v0.12.0
#18 153.4 Compiling heim-net v0.0.11
#18 155.0 error[E0308]: mismatched types
#18 155.0 --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/heim-host-0.0.11/src/sys/linux/users/other.rs:79:25
#18 155.0 |
#18 155.0 79 | session_id: entry.ut_session,
#18 155.0 | ^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
#18 155.0
- when trying to build this locally, everything works fine.
- using an explicit recent version of a rust image (1.56-buster) does not help
- removing
/target
andcargo.lock
didn't change these things - removing
cargo-chef
didn't help
So even this fails:
FROM rust as builder
WORKDIR /app
COPY . .
RUN cargo build --release --bin atomic-server
I tried a bunch of different images, including rust:bullseye
, rust:1.56-buster
, nightly
(docker.io/rustlang/rust:nightly@sha256:3cfad305e1290c0e00cbb9d68b2fe9a1c760562e30fa218bb607a7a960f47665) ... Older images don't work, because of the 2021 edition.
Metadata
Metadata
Assignees
Labels
No labels