Skip to content

[Bug]: Image download progress bar breaks rebuilds. #883

@jglogan

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Build an image with a simple Dockerfile (FROM docker.io/library/alpine:latest should reproduce it).

Perform the same build command.

Current behavior

% container build -t test -f Dockerfile .
Warning! Running debug build. Performance may be degraded.
[+] Building 3.0s (4/4) FINISHED                                                                                                                                                                                                \

 => [resolver] fetching image...some.path/to/image:some-tag                                                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                                                                                                           0.1s
 => => transferring context: 2B                                                                                                                                                                                             0.0s
 => CACHED oci-layout://some.path/to/image:some-tag@sha256:53bd5d1c57734504eea2ba6ea0d36fd09289d6e6613d6a3be47774cd481542c6                                                               0.1s
 => => resolve some.path/to/image:some-tag@sha256:53bd5d1c57734504eea2ba6ea0d36fd09289d6e6613d6a3be47774cd481542c6                                                                        0.1s
 => exporting to oci image format                                                                                                                                                                                           1.6s
 => => exporting layers                                                                                                                                                                                                     0.0s
 => => exporting manifest sha256:3d3c5775804c50a9653a44e0963db8e31844245f49153ff352975c7c7d4e5aeb                                                                                                                           0.0s
 => => exporting config sha256:30e8d18c07d108a319d0bc9c1a9a37f520ae33b3b88b2bcdcdf7a0ce33850cd1                                                                                                                             0.0s
 => => exporting manifest list sha256:92d3a4402310b650fa4ca27a4984a790ae03c7212ff8e4cc996c7ff85237709c                                                                                                                      0.0s
 => => sending tarball                                                                                                                                                                                                      1.5s
Successfully built test:latest
/Users/john/Documents/sandboxes/20251117-vessel-buildcaching % container build -t test -f Dockerfile .
Warning! Running debug build. Performance may be degraded.
[+] Building 0.0s (0/1)                                                                                                                                                                                                         \

 => [resolver] fetching image...some.path/to/image:some-tag                                                                                                                               0.0s
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowede 100% |█| (1/1 KB, 2 KB/s) [0s]
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowede 100% |█| (1/1 KB, 2 KB/s) [0s]
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowede 100% |█| (1/1 KB, 2 KB/s) [0s]
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowede 100% |█| (1/1 KB, 2 KB/s) [0s]
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowed
Swift/StringLegacy.swift:31: Fatal error: Negative count not allowede 100% |█| (1/1 KB, 2 KB/s) [0s]
zsh: trace trap  container build -t test -f Dockerfile .r:3.4.7-apple 29% |  | (74.2/252.1 MB, 2 KB/s) [0s]

Expected behavior

The rebuild should succeed, with no error messages in the output.

Environment

- OS: 26.1
- Xcode: 26
- Container: main

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions