ccusage-20.1.2
checks.x86_64-linux.pkgs-ccusage
· build #12488
· 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 zmij v1.0.23151 Compiling find-msvc-tools v0.1.15152 Compiling shlex v2.0.1153 Compiling proc-macro2 v1.0.107154 Compiling quote v1.0.47155 Compiling unicode-ident v1.0.27156 Compiling serde_json v1.0.154157 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 ccusage-environment v0.0.0 (/build/source/rust/crates/ccusage-environment)164 Compiling jiff-core v0.1.8165 Compiling cc v1.11.1166 Compiling memchr v2.8.3167 Compiling rustix v1.1.6168 Compiling zstd-sys v2.1.3+zstd.1.5.7169 Compiling serde_derive v1.0.229170 Compiling jiff v0.2.46171 Compiling adler2 v2.0.1172 Compiling simd-adler32 v0.3.10173 Compiling bitflags v2.13.2174 Compiling linux-raw-sys v0.12.1175 Compiling miniz_oxide v0.9.1176 Compiling sqlite3-src v0.7.1177 Compiling zstd-safe v8.3.0178 Compiling terminal_size v0.4.4179 Compiling ccusage-cli v0.0.0 (/build/source/rust/crates/ccusage-cli)180 Compiling unicode-width v0.2.3181 Compiling ccusage-terminal v0.0.0 (/build/source/rust/crates/ccusage-terminal)182 Compiling rustc-hash v2.1.3183 Compiling smallvec v1.16.6184 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 httparse v1.10.1196 Compiling winnow v1.0.5197 Compiling untrusted v0.9.0198 Compiling crc32fast v1.5.4199 Compiling toml_parser v1.1.6+spec-1.1.0200 Compiling sqlite3-sys v0.18.2201 Compiling sqlite v0.37.4202 Compiling ccusage-adapter-common v0.0.0 (/build/source/rust/adapters/common)203 Compiling serde_derive_internals v0.29.1204 Compiling castaway v0.2.4205 Compiling serde_spanned v1.1.3206 Compiling toml_datetime v1.1.3+spec-1.1.0207 Compiling bytes v1.12.1208 Compiling percent-encoding v2.3.2209 Compiling rustls v0.23.46210 Compiling log v0.4.35211 Compiling schemars v0.8.22212 Compiling static_assertions v1.1.0213 Compiling http v1.5.0214 Compiling compact_str v0.10.0215 Compiling schemars_derive v0.8.22216 Compiling ccusage-pricing-snapshots v0.0.0 (/build/source/rust/crates/ccusage-pricing-snapshots)217 Compiling toml v1.2.2+spec-1.1.0218 Compiling rustls-webpki v0.103.17219 Compiling ccusage-cli-parser v0.0.0 (/build/source/rust/crates/ccusage-cli-parser)220 Compiling once_cell v1.21.4221 Compiling subtle v2.6.1222 Compiling dyn-clone v1.0.20223 Compiling base64 v0.23.1224 Compiling ureq-proto v0.7.1225 Compiling ccusage-adapter-codex v0.0.0 (/build/source/rust/adapters/codex)226error[E0658]: use of unstable library feature `trim_prefix_suffix`227 --> adapters/codex/src/parser.rs:705:25228 |229705 | let relative = path.trim_prefix(sessions_dir);230 | ^^^^^^^^^^^231 |232 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information233234error[E0658]: use of unstable library feature `trim_prefix_suffix`235 --> adapters/codex/src/paths.rs:227:25236 |237227 | let relative = file.trim_prefix(&source.dir);238 | ^^^^^^^^^^^239 |240 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information241242error[E0658]: use of unstable library feature `trim_prefix_suffix`243 --> adapters/codex/src/session_id.rs:27:10244 |24527 | .trim_prefix("codex://threads/")246 | ^^^^^^^^^^^247 |248 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information249250error[E0658]: use of unstable library feature `trim_prefix_suffix`251 --> adapters/codex/src/session_id.rs:28:10252 |25328 | .trim_suffix(".zst")254 | ^^^^^^^^^^^255 |256 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information257258error[E0658]: use of unstable library feature `trim_prefix_suffix`259 --> adapters/codex/src/session_id.rs:29:10260 |26129 | .trim_suffix(".jsonl")262 | ^^^^^^^^^^^263 |264 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information265266error[E0658]: use of unstable library feature `trim_prefix_suffix`267 --> adapters/codex/src/session_id.rs:54:31268 |26954 | let candidate = candidate.trim_suffix(".jsonl");270 | ^^^^^^^^^^^271 |272 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information273274For more information about this error, try `rustc --explain E0658`.275error: could not compile `ccusage-adapter-codex` (lib) due to 6 previous errors276warning: build failed, waiting for other jobs to finish...