ccusage-20.1.2
checks.x86_64-linux.pkgs-ccusage
· build #12450
· raw
1bld1: building pqds943m0qracd6397kx3jb3gsy676cm-ccusage-20.1.2.drv2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/sfbi82617cl1c4ms22g79xcv99q90pyq-source4source root is source/rust5Executing cargoSetupPostUnpackHook6Finished cargoSetupPostUnpackHookpatchPhase
7Executing cargoSetupPostPatchHook8Validating consistency between /build/source/rust/Cargo.lock and /build/ccusage-20.1.2-vendor/Cargo.lock9Finished cargoSetupPostPatchHookbuildPhase
10Executing cargoBuildHook11cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline --profile release -p ccusage --bin ccusage12warning: ignoring `registry.global-min-publish-age` without `-Zmin-publish-age`13warning: Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)1415consider passing `-Zcargo-lints` to enable this feature.16warning: workspace (manifest) generated 1 warning17warning: adapters/antigravity/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)1819consider passing `-Zcargo-lints` to enable this feature.20warning: `ccusage-adapter-antigravity` (manifest) generated 1 warning21warning: adapters/openclaw/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)2223consider passing `-Zcargo-lints` to enable this feature.24warning: `ccusage-adapter-openclaw` (manifest) generated 1 warning25warning: adapters/codebuff/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)2627consider passing `-Zcargo-lints` to enable this feature.28warning: `ccusage-adapter-codebuff` (manifest) generated 1 warning29warning: adapters/kimi/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)3031consider passing `-Zcargo-lints` to enable this feature.32warning: `ccusage-adapter-kimi` (manifest) generated 1 warning33warning: crates/ccusage-zstd/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)3435consider passing `-Zcargo-lints` to enable this feature.36warning: `ccusage-zstd` (manifest) generated 1 warning37warning: crates/ccusage-test-support/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)3839consider passing `-Zcargo-lints` to enable this feature.40warning: `ccusage-test-support` (manifest) generated 1 warning41warning: adapters/hermes/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)4243consider passing `-Zcargo-lints` to enable this feature.44warning: `ccusage-adapter-hermes` (manifest) generated 1 warning45warning: adapters/pi/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)4647consider passing `-Zcargo-lints` to enable this feature.48warning: `ccusage-adapter-pi` (manifest) generated 1 warning49warning: adapters/claude/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)5051consider passing `-Zcargo-lints` to enable this feature.52warning: `ccusage-adapter-claude` (manifest) generated 1 warning53warning: adapters/goose/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)5455consider passing `-Zcargo-lints` to enable this feature.56warning: `ccusage-adapter-goose` (manifest) generated 1 warning57warning: adapters/grok/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)5859consider passing `-Zcargo-lints` to enable this feature.60warning: `ccusage-adapter-grok` (manifest) generated 1 warning61warning: adapters/cline/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)6263consider passing `-Zcargo-lints` to enable this feature.64warning: `ccusage-adapter-cline` (manifest) generated 1 warning65warning: adapters/qwen/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)6667consider passing `-Zcargo-lints` to enable this feature.68warning: `ccusage-adapter-qwen` (manifest) generated 1 warning69warning: crates/ccusage-environment/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)7071consider passing `-Zcargo-lints` to enable this feature.72warning: `ccusage-environment` (manifest) generated 1 warning73warning: crates/ccusage/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)7475consider passing `-Zcargo-lints` to enable this feature.76warning: `ccusage` (manifest) generated 1 warning77warning: crates/ccusage-terminal/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)7879consider passing `-Zcargo-lints` to enable this feature.80warning: `ccusage-terminal` (manifest) generated 1 warning81warning: crates/ccusage-adapter-all/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)8283consider passing `-Zcargo-lints` to enable this feature.84warning: `ccusage-adapter-all` (manifest) generated 1 warning85warning: adapters/amp/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)8687consider passing `-Zcargo-lints` to enable this feature.88warning: `ccusage-adapter-amp` (manifest) generated 1 warning89warning: adapters/codex/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)9091consider passing `-Zcargo-lints` to enable this feature.92warning: `ccusage-adapter-codex` (manifest) generated 1 warning93warning: adapters/opencode/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)9495consider passing `-Zcargo-lints` to enable this feature.96warning: `ccusage-adapter-opencode` (manifest) generated 1 warning97warning: adapters/copilot/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)9899consider passing `-Zcargo-lints` to enable this feature.100warning: `ccusage-adapter-copilot` (manifest) generated 1 warning101warning: adapters/common/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)102103consider passing `-Zcargo-lints` to enable this feature.104warning: `ccusage-adapter-common` (manifest) generated 1 warning105warning: crates/ccusage-cli/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)106107consider passing `-Zcargo-lints` to enable this feature.108warning: `ccusage-cli` (manifest) generated 1 warning109warning: crates/ccusage-config/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)110111consider passing `-Zcargo-lints` to enable this feature.112warning: `ccusage-config` (manifest) generated 1 warning113warning: adapters/kilo/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)114115consider passing `-Zcargo-lints` to enable this feature.116warning: `ccusage-adapter-kilo` (manifest) generated 1 warning117warning: adapters/dsh/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)118119consider passing `-Zcargo-lints` to enable this feature.120warning: `ccusage-adapter-dsh` (manifest) generated 1 warning121warning: crates/ccusage-cli-parser/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)122123consider passing `-Zcargo-lints` to enable this feature.124warning: `ccusage-cli-parser` (manifest) generated 1 warning125warning: crates/ccusage-telemetry/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)126127consider passing `-Zcargo-lints` to enable this feature.128warning: `ccusage-telemetry` (manifest) generated 1 warning129warning: crates/ccusage-pricing-snapshots/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)130131consider passing `-Zcargo-lints` to enable this feature.132warning: `ccusage-pricing-snapshots` (manifest) generated 1 warning133warning: crates/ccusage-core/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)134135consider passing `-Zcargo-lints` to enable this feature.136warning: `ccusage-core` (manifest) generated 1 warning137warning: adapters/gemini/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)138139consider passing `-Zcargo-lints` to enable this feature.140warning: `ccusage-adapter-gemini` (manifest) generated 1 warning141warning: adapters/droid/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)142143consider passing `-Zcargo-lints` to enable this feature.144warning: `ccusage-adapter-droid` (manifest) generated 1 warning145warning: adapters/zcode/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version)146147consider passing `-Zcargo-lints` to enable this feature.148warning: `ccusage-adapter-zcode` (manifest) generated 1 warning149 Compiling libc v0.2.191150 Compiling find-msvc-tools v0.1.15151 Compiling shlex v2.0.1152 Compiling zmij v1.0.23153 Compiling proc-macro2 v1.0.107154 Compiling quote v1.0.47155 Compiling serde_json v1.0.154156 Compiling unicode-ident v1.0.27157 Compiling serde v1.0.229158 Compiling pkg-config v0.3.34159 Compiling serde_core v1.0.229160 Compiling itoa v1.0.19161 Compiling jobserver v0.1.35162 Compiling syn v3.0.9163 Compiling memchr v2.8.3164 Compiling cc v1.11.1165 Compiling rustix v1.1.6166 Compiling jiff-core v0.1.8167 Compiling ccusage-environment v0.0.0 (/build/source/rust/crates/ccusage-environment)168 Compiling zstd-sys v2.1.3+zstd.1.5.7169 Compiling serde_derive v1.0.229170 Compiling jiff v0.2.46171 Compiling linux-raw-sys v0.12.1172 Compiling simd-adler32 v0.3.10173 Compiling bitflags v2.13.2174 Compiling adler2 v2.0.1175 Compiling miniz_oxide v0.9.1176 Compiling sqlite3-src v0.7.1177 Compiling zstd-safe v8.3.0178 Compiling ccusage-cli v0.0.0 (/build/source/rust/crates/ccusage-cli)179 Compiling terminal_size v0.4.4180 Compiling unicode-width v0.2.3181 Compiling ccusage-terminal v0.0.0 (/build/source/rust/crates/ccusage-terminal)182 Compiling smallvec v1.16.6183 Compiling rustc-hash v2.1.3184 Compiling ccusage-core v0.0.0 (/build/source/rust/crates/ccusage-core)185 Compiling zstd v0.14.4186 Compiling simdutf8 v0.1.5187 Compiling cfg-if v1.0.5188 Compiling ccusage-zstd v0.0.0 (/build/source/rust/crates/ccusage-zstd)189 Compiling ring v0.17.14190 Compiling rustversion v1.0.23191 Compiling zeroize v1.9.1192 Compiling rustls-pki-types v1.15.1193 Compiling getrandom v0.2.17194 Compiling syn v2.0.119195 Compiling sqlite3-sys v0.18.2196 Compiling sqlite v0.37.4197 Compiling ccusage-adapter-common v0.0.0 (/build/source/rust/adapters/common)198 Compiling untrusted v0.9.0199 Compiling winnow v1.0.5200 Compiling httparse v1.10.1201 Compiling crc32fast v1.5.4202 Compiling toml_parser v1.1.6+spec-1.1.0203 Compiling serde_derive_internals v0.29.1204 Compiling castaway v0.2.4205 Compiling toml_datetime v1.1.3+spec-1.1.0206 Compiling serde_spanned v1.1.3207 Compiling log v0.4.35208 Compiling percent-encoding v2.3.2209 Compiling schemars v0.8.22210 Compiling bytes v1.12.1211 Compiling static_assertions v1.1.0212 Compiling rustls v0.23.46213 Compiling http v1.5.0214 Compiling compact_str v0.10.0215 Compiling toml v1.2.2+spec-1.1.0216 Compiling ccusage-pricing-snapshots v0.0.0 (/build/source/rust/crates/ccusage-pricing-snapshots)217 Compiling schemars_derive v0.8.22218 Compiling rustls-webpki v0.103.17219 Compiling ccusage-cli-parser v0.0.0 (/build/source/rust/crates/ccusage-cli-parser)220 Compiling base64 v0.23.1221 Compiling dyn-clone v1.0.20222 Compiling subtle v2.6.1223 Compiling once_cell v1.21.4224 Compiling ureq-proto v0.7.1225 Compiling flate2 v1.1.11226 Compiling ccusage-adapter-codex v0.0.0 (/build/source/rust/adapters/codex)227 Compiling ccusage-adapter-grok v0.0.0 (/build/source/rust/adapters/grok)228error[E0658]: use of unstable library feature `trim_prefix_suffix`229 --> adapters/codex/src/parser.rs:705:25230 |231705 | let relative = path.trim_prefix(sessions_dir);232 | ^^^^^^^^^^^233 |234 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information235236error[E0658]: use of unstable library feature `trim_prefix_suffix`237 --> adapters/codex/src/paths.rs:227:25238 |239227 | let relative = file.trim_prefix(&source.dir);240 | ^^^^^^^^^^^241 |242 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information243244error[E0658]: use of unstable library feature `trim_prefix_suffix`245 --> adapters/grok/src/parser.rs:177:21246 |247177 | || stripped.trim_suffix("-build").to_string(),248 | ^^^^^^^^^^^249 |250 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information251252error[E0658]: use of unstable library feature `trim_prefix_suffix`253 --> adapters/codex/src/session_id.rs:27:10254 |25527 | .trim_prefix("codex://threads/")256 | ^^^^^^^^^^^257 |258 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information259260error[E0658]: use of unstable library feature `trim_prefix_suffix`261 --> adapters/codex/src/session_id.rs:28:10262 |26328 | .trim_suffix(".zst")264 | ^^^^^^^^^^^265 |266 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information267268error[E0658]: use of unstable library feature `trim_prefix_suffix`269 --> adapters/codex/src/session_id.rs:29:10270 |27129 | .trim_suffix(".jsonl")272 | ^^^^^^^^^^^273 |274 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information275276error[E0658]: use of unstable library feature `trim_prefix_suffix`277 --> adapters/codex/src/session_id.rs:54:31278 |27954 | let candidate = candidate.trim_suffix(".jsonl");280 | ^^^^^^^^^^^281 |282 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information283284 Compiling ccusage-adapter-codebuff v0.0.0 (/build/source/rust/adapters/codebuff)285For more information about this error, try `rustc --explain E0658`.286error: could not compile `ccusage-adapter-grok` (lib) due to 1 previous error287warning: build failed, waiting for other jobs to finish...288error: could not compile `ccusage-adapter-codex` (lib) due to 6 previous errors