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

[BUG] cargo-bump already exists #71

Closed
4 tasks done
thesuhas opened this issue Sep 26, 2024 · 1 comment · Fixed by #72
Closed
4 tasks done

[BUG] cargo-bump already exists #71

thesuhas opened this issue Sep 26, 2024 · 1 comment · Fixed by #72
Labels
bug Something isn't working

Comments

@thesuhas
Copy link

thesuhas commented Sep 26, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

My actions fails as it claims cargo-bump already exists. I see that it is internally using some sort of caching mechanism but it does not seem like there is anyway to bypass it.
https://github.com/thesuhas/orca/actions/runs/11059645773/job/30728553291

To Reproduce

Run the action multiple times and it starts occurring

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-22.04

Expected behavior?

It would bump the .toml version and continue

Relevant log output

/home/runner/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.81.0 (eeb90cda1 2024-09-04)
/home/runner/.cargo/bin/rustup -V
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.81.0 (eeb90cda1 2024-09-04)`
Installed rustup 1.27.1 support profiles
/home/runner/.cargo/bin/rustup set profile minimal
info: profile set to 'minimal'
/home/runner/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.81.0 (eeb90cda1 2024-09-04)

info: checking for self-update
warning: tool `rust-analyzer` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `rustfmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
/home/runner/.cargo/bin/rustup override set stable
info: override toolchain for '/home/runner/work/orca/orca' set to 'stable-x86_64-unknown-linux-gnu'
Gathering installed versions
Run actions/cache@v4
Received 0 of 61161845 (0.0%), 0.0 MBs/sec
Cache Size: ~58 MB (61161845 B)
/usr/bin/tar -xf /home/runner/work/_temp/f65864e3-1a30-4c65-829b-bec132c09e4e/cache.tzst -P -C /home/runner/work/orca/orca --use-compress-program unzstd
Cache restored successfully
Cache restored from key: Linux-cargo-cargo-bump
Run cargo install cargo-bump
    Updating crates.io index
error: binary `cargo-bump` already exists in destination
Add --force to overwrite

Has all relevant logs been included?

  • I've included all relevant logs

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thesuhas thesuhas added the bug Something isn't working label Sep 26, 2024
@jackton1
Copy link
Member

HI @thesuhas, this should be fixed in the latest release. You can rerun the failing workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants