ccusage-20.1.2
checks.x86_64-linux.pkgs-ccusage
· build #12439
· raw
1shipyard-worker-3/nix-grpc-farm-worker-x86-64-7644948fdc-jn4xr: building 7mxhwc2k8q575y6b5q7icy4bqp8yfsnf-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 serde_core v1.0.229159 Compiling pkg-config v0.3.34160 Compiling itoa v1.0.19161 Compiling syn v3.0.9162 Compiling jobserver v0.1.35163 Compiling jiff-core v0.1.8164 Compiling cc v1.11.1165 Compiling rustix v1.1.6166 Compiling ccusage-environment v0.0.0 (/build/source/rust/crates/ccusage-environment)167 Compiling memchr v2.8.3168 Compiling jiff v0.2.46169 Compiling zstd-sys v2.1.3+zstd.1.5.7170 Compiling serde_derive v1.0.229171 Compiling simd-adler32 v0.3.10172 Compiling adler2 v2.0.1173 Compiling linux-raw-sys v0.12.1174 Compiling bitflags v2.13.2175 Compiling miniz_oxide v0.9.1176 Compiling ccusage-cli v0.0.0 (/build/source/rust/crates/ccusage-cli)177 Compiling sqlite3-src v0.7.1178 Compiling zstd-safe v8.3.0179 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 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 untrusted v0.9.0197 Compiling crc32fast v1.5.4198 Compiling winnow v1.0.5199 Compiling sqlite3-sys v0.18.2200 Compiling sqlite v0.37.4201 Compiling toml_parser v1.1.6+spec-1.1.0202 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 percent-encoding v2.3.2208 Compiling rustls v0.23.46209 Compiling bytes v1.12.1210 Compiling log v0.4.35211 Compiling static_assertions v1.1.0212 Compiling schemars v0.8.22213 Compiling compact_str v0.10.0214 Compiling http v1.5.0215 Compiling rustls-webpki v0.103.17216 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 schemars_derive v0.8.22219 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 base64 v0.23.1223 Compiling dyn-clone v1.0.20224 Compiling ureq-proto v0.7.1225 Compiling flate2 v1.1.11226 Compiling ccusage-adapter-codex v0.0.0 (/build/source/rust/adapters/codex)227error[E0658]: use of unstable library feature `trim_prefix_suffix`228 --> adapters/codex/src/parser.rs:705:25229 |230705 | let relative = path.trim_prefix(sessions_dir);231 | ^^^^^^^^^^^232 |233 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information234235error[E0658]: use of unstable library feature `trim_prefix_suffix`236 --> adapters/codex/src/paths.rs:227:25237 |238227 | let relative = file.trim_prefix(&source.dir);239 | ^^^^^^^^^^^240 |241 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information242243error[E0658]: use of unstable library feature `trim_prefix_suffix`244 --> adapters/codex/src/session_id.rs:27:10245 |24627 | .trim_prefix("codex://threads/")247 | ^^^^^^^^^^^248 |249 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information250251error[E0658]: use of unstable library feature `trim_prefix_suffix`252 --> adapters/codex/src/session_id.rs:28:10253 |25428 | .trim_suffix(".zst")255 | ^^^^^^^^^^^256 |257 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information258259error[E0658]: use of unstable library feature `trim_prefix_suffix`260 --> adapters/codex/src/session_id.rs:29:10261 |26229 | .trim_suffix(".jsonl")263 | ^^^^^^^^^^^264 |265 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information266267error[E0658]: use of unstable library feature `trim_prefix_suffix`268 --> adapters/codex/src/session_id.rs:54:31269 |27054 | let candidate = candidate.trim_suffix(".jsonl");271 | ^^^^^^^^^^^272 |273 = note: see issue #142312 <https://github.com/rust-lang/rust/issues/142312> for more information274275For more information about this error, try `rustc --explain E0658`.276error: could not compile `ccusage-adapter-codex` (lib) due to 6 previous errors277warning: build failed, waiting for other jobs to finish...