-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
file exists, both tools work as expected with rules_multitool, but upgrading them produces the following 404's:
"clang-format": {
"binaries": [
{
"kind": "archive",
"url": "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-arm64-apple-macos11.tar.xz",
"file": "clang+llvm-18.1.8-arm64-apple-macos11/bin/clang-format",
"sha256": "4573b7f25f46d2a9c8882993f091c52f416c83271db6f5b213c93f0bd0346a10",
"os": "macos",
"cpu": "arm64",
"type": "tar.xz"
}
]
},➜ bazel-os git:(main) ✗ RUST_BACKTRACE=m bazel run @multitool//tools/multitool:cwd -- --lockfile multitool.lock.json update
INFO: Analyzed target @@rules_multitool++multitool+multitool//tools/multitool:cwd (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target @@rules_multitool++multitool+multitool//tools/multitool:cwd up-to-date:
bazel-bin/external/rules_multitool++multitool+multitool/tools/multitool/cwd
INFO: Elapsed time: 0.117s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/external/rules_multitool++multitool+multitool/tools/multitool/cwd <args omitted>
^C%
➜ bazel-os git:(main) ✗
➜ bazel-os git:(main) ✗ RUST_BACKTRACE=1 bazel run @multitool//tools/multitool:cwd -- --lockfile multitool.lock.json update
INFO: Analyzed target @@rules_multitool++multitool+multitool//tools/multitool:cwd (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target @@rules_multitool++multitool+multitool//tools/multitool:cwd up-to-date:
bazel-bin/external/rules_multitool++multitool+multitool/tools/multitool/cwd
INFO: Elapsed time: 0.113s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/external/rules_multitool++multitool+multitool/tools/multitool/cwd <args omitted>
Encountered error while attempting to update clang-format: HTTP status client error (404 Not Found) for url (https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/clang+llvm-18.1.8-arm64-apple-macos11.tar.xz)
thread 'main' panicked at src/main.rs:120:28:
Failed to find tag_name in response:
===
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#get-the-latest-release","status":"404"}
===
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: multitool::update_github_release
3: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold
4: alloc::vec::in_place_collect::from_iter_in_place
5: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once
6: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
7: <alloc::collections::btree::map::BTreeMap<K,V> as core::iter::traits::collect::FromIterator<(K,V)>>::from_iter
8: multitool::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Metadata
Metadata
Assignees
Labels
No labels