Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install swift-format #198632

Closed
stephane-archer opened this issue Nov 22, 2024 · 1 comment
Closed

brew install swift-format #198632

stephane-archer opened this issue Nov 22, 2024 · 1 comment
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@stephane-archer
Copy link

brew gist-logs <formula> link OR brew config AND brew doctor output

brew install swift-format                                                             (base)
==> Downloading https://ghcr.io/v2/homebrew/core/swift-format/manifests/600.0.0_1
Already downloaded: /Users/fractale/Library/Caches/Homebrew/downloads/fe2942d2b7c4a891d0ef5c3c642f74f9225debec94ecad975d5e2351826202fa--swift-format-600.0.0_1.bottle_manifest.json
==> Fetching swift-format
==> Downloading https://ghcr.io/v2/homebrew/core/swift-format/blobs/sha256:a99a19c9fc177a57b2577e3c1b30feb70f13388fc9c4e4ea7968f783058e09a0
########################################################################################################################################################################### 100.0%
==> Verifying attestation for swift-format
Warning: Failed to verify attestation. Retrying in 1s...
Warning: Failed to verify attestation. Retrying in 3s...
Warning: Failed to verify attestation. Retrying in 9s...
Warning: Failed to verify attestation. Retrying in 27s...
Warning: Failed to verify attestation. Retrying in 81s...
Error: The bottle for swift-format has an invalid build provenance attestation.

This may indicate that the bottle was not produced by the expected
tap, or was maliciously inserted into the expected tap's bottle
storage.

Additional context:

attestation verification failed: Failure while executing; `/usr/bin/env GH_TOKEN=****** GH_HOST=github.com /usr/local/bin/gh attestation verify /Users/fractale/Library/Caches/Homebrew/downloads/8da8d419e62049209889ef97fef8edda666d6d4c1ceb8d77fdf77d2df32480cf--swift-format--600.0.0_1.sonoma.bottle.tar.gz --repo Homebrew/homebrew-core --format json` exited with 1. Here's the output:
Failed to verify the artifact: failed to fetch attestations for subject: sha256:a99a19c9fc177a57b2577e3c1b30feb70f13388fc9c4e4ea7968f783058e09a0


### Verification

- [X] My `brew doctor` output says `Your system is ready to brew.` and am still able to reproduce my issue.
- [X] I ran `brew update` and am still able to reproduce my issue.
- [X] I have resolved all warnings from `brew doctor` and that did not fix my problem.
- [X] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

### What were you trying to do (and why)?

install swift-format

### What happened (include all command output)?

attestation verification failed: Failure while executing; /usr/bin/env GH_TOKEN=****** GH_HOST=github.com /usr/local/bin/gh attestation verify /Users/fractale/Library/Caches/Homebrew/downloads/8da8d419e62049209889ef97fef8edda666d6d4c1ceb8d77fdf77d2df32480cf--swift-format--600.0.0_1.sonoma.bottle.tar.gz --repo Homebrew/homebrew-core --format json exited with 1. Here's the output:
Failed to verify the artifact: failed to fetch attestations for subject: sha256:a99a19c9fc177a57b2577e3c1b30feb70f13388fc9c4e4ea7968f783058e09a0


### What did you expect to happen?

successful install

### Step-by-step reproduction instructions (by running `brew` commands)

```shell
`brew install swift-format`
@stephane-archer stephane-archer added the bug Reproducible Homebrew/homebrew-core bug label Nov 22, 2024
@SMillerDev
Copy link
Member

Duplicate of the pinned #177384

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

2 participants