Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: ccusage 20.0.48 -> 20.1.2 https://github.com/ccusage/ccusage/releases attrpath: ccusage Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] these 2 derivations will be built: /nix/store/rjqlhnj6jj9gqz3a6751930hci8dkq61-ccusage-update.drv /nix/store/jwy6yq2pp2xckgwww74pjkpyl6dx881w-packages.json.drv building '/nix/store/rjqlhnj6jj9gqz3a6751930hci8dkq61-ccusage-update.drv'... building '/nix/store/jwy6yq2pp2xckgwww74pjkpyl6dx881w-packages.json.drv'... Going to be running update for following packages: - ccusage-20.0.48 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - ccusage-20.0.48: UPDATING ... - ccusage-20.0.48: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/cc/ccusage/package.nix b/pkgs/by-name/cc/ccusage/package.nix index 7c626e0a533e..3bab01184376 100644 --- a/pkgs/by-name/cc/ccusage/package.nix +++ b/pkgs/by-name/cc/ccusage/package.nix @@ -25,8 +25,8 @@ let # # Both values below are kept in sync with the package version by # passthru.updateScript — do not edit them by hand. - litellmPricingUrl = "https://raw.githubusercontent.com/BerriAI/litellm/1046716b6d3d45f30d5efad42becbd440d6187ee/model_prices_and_context_window.json"; - litellmPricingHash = "sha256-j4Bg2M56QMkbmVx01qJ2V1Q9SePBxTQw2r1VbyRDksY="; + litellmPricingUrl = "https://raw.githubusercontent.com/BerriAI/litellm/6627d4f61848a467a11931acda439426273bffc4/model_prices_and_context_window.json"; + litellmPricingHash = "sha256-nJVcU6ybLHlK/Vl7q1YK+KY6myOyEzQIPsUiAcBp9go="; litellmPricing = fetchurl { url = litellmPricingUrl; hash = litellmPricingHash; @@ -34,20 +34,20 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "ccusage"; - version = "20.0.48"; + version = "20.1.2"; src = fetchFromGitHub { owner = "ccusage"; repo = "ccusage"; tag = "v${finalAttrs.version}"; - hash = "sha256-1Y8BoZqMvmBgRVYkT+faOivrSnvgqEu7Bx4KLrxilbY="; + hash = "sha256-a9R/y5KhceB33hDF1AMqi99tB3jpamQ4QqmAhaqAdU0="; }; # The Cargo workspace lives in rust/, not at the repo root. cargoRoot = "rust"; buildAndTestSubdir = "rust"; - cargoHash = "sha256-B8dMFKe9lqXAlppHA7RldnzCh8vK/782MBZrLW7PPO4="; + cargoHash = "sha256-y+fmOGBsWVZRG3woMY5xa9PJgTSHDGzO8nwRVHaLxWg="; __structuredAttrs = true; An auto update branch exists with message `ccusage: 20.0.48 -> 20.0.50`. New version is 20.1.2. The auto update branch does not match or exceed the new version. Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A ccusage nix build failed.  Compiling ccusage-adapter-kilo v0.0.0 (/build/source/rust/adapters/kilo)  Compiling ccusage-adapter-opencode v0.0.0 (/build/source/rust/adapters/opencode)  Compiling ccusage-adapter-goose v0.0.0 (/build/source/rust/adapters/goose)  Compiling ccusage-adapter-claude v0.0.0 (/build/source/rust/adapters/claude)  Compiling ccusage-adapter-zcode v0.0.0 (/build/source/rust/adapters/zcode)  Compiling ccusage-adapter-grok v0.0.0 (/build/source/rust/adapters/grok)  Compiling ccusage-adapter-openclaw v0.0.0 (/build/source/rust/adapters/openclaw)  Compiling ccusage-adapter-cline v0.0.0 (/build/source/rust/adapters/cline)  Compiling ccusage-adapter-kimi v0.0.0 (/build/source/rust/adapters/kimi)  Compiling ccusage-adapter-gemini v0.0.0 (/build/source/rust/adapters/gemini) error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/kimi/src/parser.rs:217:24 | 217 | let model = logged.trim_prefix("kimi-code/").to_string(); | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/grok/src/parser.rs:177:21 | 177 | || stripped.trim_suffix("-build").to_string(), | ^^^^^^^^^^^ | = note: see issue #142312 for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `ccusage-adapter-kimi` (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: could not compile `ccusage-adapter-grok` (lib) due to 1 previous error