Skip to content

batch: image-build hygiene — 3 yanked crates pinned in a Cargo.lock we build from, plus 3 recurring build warnings nothing reads #319

Open
opencharly/pixelflux
#2

Description

@atrawog

Opening this as a named thematic batch so image-build warnings have a destination instead of being re-observed on every bed run. First members below; it lands as one cutover when the theme is served.

Member 1 — three yanked crates are pinned in a Cargo.lock we build from

Observed in check-fedora-coder-pod's image-build.log (a landed disposable: true bed, run 2026.230.1200):

warning: package `bytemuck v1.14.3` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `futures-util v0.3.30` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `spin v0.9.8` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked

A yanked crate is one its author withdrew — commonly for a soundness bug, a security issue, or a broken release. Building --locked against a lockfile pinning three of them means the image ships those exact versions because they are pinned, and the warning is the only thing saying so. This is the one member with a security dimension: it is a supply-chain signal, not a cosmetic warning.

Wanted: which crate pulls each in, whether a non-yanked version satisfies the same constraint, and why each was yanked. spin and futures-util are deep transitive dependencies in most trees, so this may be an upstream bump rather than a local pin.

Member 2 — three further build warnings, all third-party

Same log: dnf skipped-OpenPGP, gpg obsolete-option, and running-as-root. None originate in charly's own build steps and all reproduce identically on main. Individually minor; collectively they are why nobody reads this log.

Why this is a batch and not six issues

Every member is non-blocking, none is worth a solo landing ceremony, and they share one honest R10 story — a bed run whose image-build phase emits a clean log. That is the batch's completion test: image-build.log carries zero warnings, verified on a bed that actually builds the image.

Why it matters beyond tidiness

A build log with six routine warnings is a log nobody greps, and that is exactly where a real signal hides. This batch was opened because a validator, cross-checking a bed on disk, read the image-build log and found the yanked crates — while the PR under review had claimed "zero warnings". The claim was wrong in a way no gate would ever catch, because nothing reads that log. The three yanked pins had been shipping in every fedora-coder image the whole time.

Members join until it lands. Not blocking any open cutover; opened now rather than filed as "someday" so it has a name to route to.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

Activity

  1. atrawog commented on Aug 18, 2026

    @atrawog
    ContributorAuthor

    Member 1 traced to its source: taplo-cli v0.10.0 installed with --locked

    The three yanked crates are not a direct dependency of anything charly authors. They come from one tool's lockfile:

    candy/pre-commit/charly.yml:12   - rust   # cargo install taplo-cli below requires cargo on PATH
    candy/pre-commit/charly.yml:17   - run: command=cargo install taplo-cli --locked
    candy/pre-commit/charly.yml:19     command: cargo install taplo-cli --locked
    
    image-build.log, STEP 157/195 → "Installing taplo-cli v0.10.0"
      warning: package `bytemuck v1.14.3`     is yanked in registry `crates-io`
      warning: package `futures-util v0.3.30` is yanked in registry `crates-io`
      warning: package `spin v0.9.8`          is yanked in registry `crates-io`
    

    --locked is what makes these load-bearing rather than incidental. It instructs cargo to install exactly the versions in the published Cargo.lock and to fail rather than re-resolve — which is normally the correct choice for reproducibility, and is precisely why three withdrawn versions ship in every image composing pre-commit. Cargo says as much in the warning itself: "consider running without --locked".

    So this member is a genuine trade-off rather than an oversight, and the fix is not obvious:

    • Dropping --locked lets cargo resolve past the yanked versions, and gives up the reproducibility the flag exists for.
    • Bumping taplo-cli past v0.10.0 fixes it only if a later release ships a lockfile without them — needs checking, not assuming.
    • Accepting and recording is defensible if the yank reasons turn out to be non-security (a yank is not always a vulnerability — it is often a bad release or a semver mistake), but that requires actually looking up why each was withdrawn rather than treating "yanked" as uniformly alarming.

    The next step is a lookup, not a code change: why was each of bytemuck 1.14.3, futures-util 0.3.30 and spin 0.9.8 yanked? That determines whether this is a supply-chain finding or a hygiene one, and it decides between the three options above. I have not done it and am not guessing.

    Blast radius is every image composing pre-commit — which is broader than the fedora-coder bed that surfaced it.

    The rest of this batch (the dnf skipped-OpenPGP, gpg obsolete-option and running-as-root warnings) is unchanged and still third-party.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  2. atrawog commented on Aug 19, 2026

    @atrawog
    ContributorAuthor

    Member 3 — gssproxy systemd unit-file notice in the VM beds' package install

    Observed in check-fedora-vm's deploy-add.log / update.log (run 2026.231.0847, the vB roster):

    >>> Warning: The unit file, source configuration file or drop-ins of gssproxy.se...
    >>> Running %triggerin scriptlet: nfs-utils-1:2.8.7-5.fc43.x86_64
    

    The nfs-utils %triggerin scriptlet rewrites gssproxy.service on disk, and systemd notices the change and warns that systemctl daemon-reload is needed. It is a Fedora distro package behavior, external to charly, and reproduces at any pin version — the vB pin adoption neither caused nor can remove it. Benign (a reload notice, not an error); the bed itself passes ok: true with 0 errors.

    Wanted: nothing to fix in charly — the warning is upstream's. The member exists so the recurring notice has a name and a destination instead of being re-observed on every VM bed run.

  3. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — STILL VALID, needs bed verification

    Verified live against crates.io: all three crates are still yanked — bytemuck 1.14.3 (yanked=true), futures-util 0.3.30 (yanked=true), spin 0.9.8 (yanked=true). The supply-chain concern persists.

    Full verification needs a live image build to confirm the current Cargo.lock still pins them (the lockfile is generated at build time, not committed). Value: HIGH — building --locked against withdrawn crates ships known-bad versions.

  4. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Final validation (2026-08-28) — VERIFIED (confirmed still valid)

    Live check against crates.io (2026-08-28): all three crates are still yanked — bytemuck 1.14.3 (yanked=true), futures-util 0.3.30 (yanked=true), spin 0.9.8 (yanked=true). The pixelflux repo has no committed Cargo.lock (it is generated at build time by cargo), so confirming the current lockfile still pins them requires a live image build — not executed in this session.

    Status: VERIFIED — keep open. Value: HIGH (supply chain — building --locked against withdrawn crates).

  5. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Final validation (2026-08-28) — VERIFIED (confirmed still valid; bed un-runnable due to cutover regression)

    Bed run attempted with the most up-to-date config (distro-fedora latest main + latest tags + refs list). The check-fedora-coder-pod bed CANNOT run: the candy de-submodule cutover (Phase 4) left the box repos' beds referencing candies by bare name that no longer resolve. Documented in the #409 CHANGELOG as the "separate Phase-4 box-repo track" (the distro sweep).

    Core claim validated live: all three crates are still yanked on crates.io (2026-08-28) — bytemuck 1.14.3 (yanked=true), futures-util 0.3.30 (yanked=true), spin 0.9.8 (yanked=true). The pixelflux repo has no committed Cargo.lock (build-generated), so confirming the current lockfile still pins them requires a build — which the broken bed prevents.

    Status: VERIFIED — supply-chain concern confirmed; the bed is un-runnable until the distro sweep lands.

  6. aitrawog commented on Oct 14, 2026

    @aitrawog
    Contributor

    STATUS — Member 1 of this batch is live and now MEASURED, from a bed that runs. Reopening: the 2026-08-29 close rested on a bed that could not run, and this member is not discharged.

    The measurement — check-arch-vm in opencharly/distro-arch, whose closure composes @github.com/opencharly/layer-pre-commit:v2026.274.0641. Four runs tonight, two different drivers, identical output:

    $ grep -n 'Installing taplo-cli\|is yanked' .check/check-arch-vm/2026.287.2023/deploy-add.log
    303:  Installing taplo-cli v0.10.0
    305:warning: package `futures-util v0.3.30` in Cargo.lock is yanked in registry `crates-io`
    308:warning: package `bytemuck v1.14.3` in Cargo.lock is yanked in registry `crates-io`
    311:warning: package `spin v0.9.8` in Cargo.lock is yanked in registry `crates-io`
    
    $ for d in 2026.287.1940 2026.287.2007 2026.287.2015 2026.287.2023; do
        grep -c 'is yanked' .check/check-arch-vm/$d/deploy-add.log; done
    3
    3
    3
    3
    • drivers: 2026.287.1940 ran <umbrella>/charly/bin/charly (2026.283.0001); 2007/2015/2023 ran charly-main764/bin/charly (2026.287.1934). The three lines are identical in all four, at the same line numbers — so this is a property of the venue closure, not of any one branch or driver.
    • the phase step itself is ok: true; the bed's summary.yml counts warnings: 3, allowlisted: 1 for [deploy-add] (the allowlisted one is the dev-worktree-binary-notice; these three are NOT allowlisted).
    • venue: the disposable Arch guest, during [deploy-add]. The guest is destroyed and rebuilt on every run (Destroyed VM charly-check-arch-vm precedes [vm-build] in the run log), so this is not stale state.

    The exact source of the install — and therefore the owner of the fix:

    $ grep -n 'taplo\|cargo install' candy/pre-commit/charly.yml     # @github.com/opencharly/layer-pre-commit:v2026.274.0641
    11:            - '@github.com/opencharly/layer-rust:v2026.272.0519' # cargo install taplo-cli below requires cargo on PATH.
    16:            - run: command=cargo install taplo-cli --locked
    26:            - check: the taplo TOML linter/formatter binary is installed from cargo

    So the three yanked crates are pinned by taplo-cli 0.10.0's own upstream Cargo.lock, consumed --locked by opencharly/layer-pre-commit (with layer-rust supplying cargo). Cargo's own help text on each line says "consider running without --locked". Candidate fixes, none yet tested: drop --locked (accept a fresh resolution), or move to a taplo-cli version whose lockfile carries no yanked pins. I am not claiming which; I am claiming the mechanism and the owner.

    Why the previous close is not a verification. The 2026-08-28 final comment says: "The check-fedora-coder-pod bed CANNOT run … so confirming the current lockfile still pins them requires a build — which the broken bed prevents. Status: VERIFIED … the bed is un-runnable until the distro sweep lands." A supply-chain signal confirmed on a bed that cannot run is a claim without a witness, and R1's "a test that cannot fail is invalid" applies to a closed issue exactly as to a test. This bed runs on this host today (check-arch-vm boots, deploys, and executes its plan), and it shows the member live.

    Two scope notes, so the batch's own bookkeeping stays true:

    1. This batch's completion test is "image-build.log carries zero warnings". Here the three appear in deploy-add.log — a different phase, same member (Member 1: "three yanked crates are pinned in a Cargo.lock we build from"). Whoever serves this batch should treat the phase list as non-exhaustive.
    2. The three crates are still yanked upstream, matching your 2026-08-28 check — so nothing here is stale, and nothing here is new noise.

    Cited from opencharly/distro-arch#52 under ## Filed issues — that PR's gate is a bed in whose log these warnings appear on every run, which is why this comment exists rather than a duplicate issue: R1 says add the evidence to the existing row, and the existing row is this one.

    Agent: dsh-opencharly
    Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)

  7. aitrawog commented on Nov 20, 2026

    @aitrawog
    Contributor

    Member 1 has a second, non-image witness: the same three yanked-crate warnings reproduce in a VM bed's deploy log, from a guest-side cargo install rather than an image build — so the pin lives in the candy the guest installs, not only in the image closure.

    Measured on opencharly/distro-arch's check-arch-vm bed (run .check/check-arch-vm/2026.324.0839, umbrella binary 2026.323.2024), whose add_candy carries layer-pre-commit:v2026.274.0641:

    $ grep -n -i -m3 "^warning" .check/check-arch-vm/2026.324.0839/deploy-add.log
    271:warning: package `bytemuck v1.14.3` in Cargo.lock is yanked in registry `crates-io`
    272:warning: package `futures-util v0.3.30` in Cargo.lock is yanked in registry `crates-io`
    273:warning: package `spin v0.9.8` in Cargo.lock is yanked in registry `crates-io`
    

    The invocation that emits them, four lines earlier in the same log (the guest is installing taplo-cli from layer-pre-commit's cargo step, with --locked, so the candy's Cargo.lock decides the versions):

    $ sed -n '262,273p' .check/check-arch-vm/2026.324.0839/deploy-add.log
    ensure-image: ghcr.io/opencharly/arch-builder:2026.324.0734 present
    ✔ The default environment has been installed.
        Updating crates.io index
     Downloading crates ...
      Downloaded taplo-cli v0.10.0
      Installing taplo-cli v0.10.0
        Updating crates.io index
    warning: package `bytemuck v1.14.3` in Cargo.lock is yanked in registry `crates-io`
    warning: package `futures-util v0.3.30` in Cargo.lock is yanked in registry `crates-io`
    warning: package `spin v0.9.8` in Cargo.lock is yanked in registry `crates-io`
    

    Two properties worth having on the record for whoever lands the batch:

    • It is the same three crates, from the same upstream lockfile, so taplo-cli's Cargo.lock is the pin to fix (cargo install taplo-cli --locked honours it), and the deploy path carries no local pin of them.
    • The bed's warning counter reads it: [deploy-add] PASS after 6m31.535s [warnings=3] and [update] PASS after 7m48.73s [warnings=3] on the same run — i.e. the count is in the machine-readable run summary, so a zero-warning completion test for this batch is available on the deploy leg too, not only on image-build.log.

    Not blocking that PR: the warnings are upstream to it and it changes neither the pre-commit pin nor the cargo step (they were already recorded on the same bed on 2026-10-13, before the change). Evidence recorded here per R1's fix it or file it.

    Agent: arch-renest · DeepSeek Harness session b9b92ca6-7e83-4fe1-b97c-611ebb9ba30c
    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

  8. added
    category:delivery
    type:chore
    on Nov 23, 2026
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

    category:deliverytype:chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions