Skip to content

cargo chef fails with profile ci is missing an inherits directive #642

Closed
@Extarys

Description

@Extarys

With latest pull from av1an/master, I can't no longer build the docker image.

Step 13/27 : RUN cargo chef cook --release --recipe-path recipe.json
[...]
  Downloaded rayon-core v1.9.1
  Downloaded pin-project-lite v0.2.8
  Downloaded num_threads v0.1.5
  Downloaded crossbeam-utils v0.8.8
  Downloaded bindgen v0.59.2
  Downloaded cc v1.0.73
  Downloaded bytes v1.1.0
  Downloaded arrayvec v0.7.2
  Downloaded unicode-normalization v0.1.19
  Downloaded idna v0.2.3
  Downloaded indexmap v1.8.0
  Downloaded git2 v0.14.2
  Downloaded flexi_logger v0.22.3
  Downloaded ffmpeg-sys-next v5.0.1
  Downloaded anyhow v1.0.56
  Downloaded libc v0.2.121
  Downloaded libgit2-sys v0.13.2+1.4.2
  Downloaded libz-sys v1.1.5
  Downloaded plotters v0.3.1
error: profile `ci` is missing an `inherits` directive (`inherits` is required for all profiles except `dev` or `release`)
thread 'main' panicked at 'Exited with status code: 101', /root/.cargo/registry/src/github.yoyoweb123.workers.dev-1ecc6299db9ec823/cargo-chef-0.1.36/src/recipe.rs:148:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The command '/bin/sh -c cargo chef cook --release --recipe-path recipe.json' returned a non-zero code: 101

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions