Skip to content

Commit 62cad9d

Browse files
hyperpolymathclaude
andcommitted
fix(container): copy crates/ + benches/ in minimal & full Containerfiles
The workspace Cargo.toml declares path-deps crates/echidna-core and crates/typed_wasm plus crates/* workspace members. The minimal .containerization/Containerfile and Containerfile.full copied only src/rust + src/interfaces, so the rust-builder stage failed: error: failed to load manifest for workspace member /build/crates/echidna-core/Cargo.toml — No such file or directory This is the same omission Containerfile.wave3 already fixed in this PR; carry the identical COPY crates/ (+ benches/) to the other two Containerfiles so 'Build & verify container image' (ghcr-publish.yml, which builds the minimal Containerfile) goes green. Containerfile.mcp already had it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e2527e1 commit 62cad9d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.containerization/Containerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@ RUN rustup toolchain install nightly && rustup default nightly
2727
WORKDIR /build
2828

2929
COPY Cargo.toml Cargo.lock ./
30+
# Workspace members: crates/* (echidna-core, -core-spark, -mcp, -wire,
31+
# typed_wasm) + src/interfaces/* + root pkg at src/rust. Omitting `crates/`
32+
# makes the rust-builder stage fail — the workspace manifest references
33+
# crates/echidna-core (matches Containerfile.wave3).
34+
COPY crates ./crates
3035
COPY src/rust ./src/rust
3136
COPY src/interfaces ./src/interfaces
37+
COPY benches ./benches
3238

3339
# Build release binary
3440
RUN cargo build --release --bin echidna

.containerization/Containerfile.full

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ RUN rustup toolchain install nightly && rustup default nightly
2727
WORKDIR /build
2828

2929
COPY Cargo.toml Cargo.lock ./
30+
# Workspace members: crates/* (echidna-core, -core-spark, -mcp, -wire,
31+
# typed_wasm) + src/interfaces/* + root pkg at src/rust. Omitting `crates/`
32+
# makes the rust-builder stage fail — the workspace manifest references
33+
# crates/echidna-core (matches Containerfile.wave3).
34+
COPY crates ./crates
3035
COPY src/rust ./src/rust
3136
COPY src/interfaces ./src/interfaces
3237
COPY benches ./benches

0 commit comments

Comments
 (0)