elastic-arm-a9757d24: building rp7iak0jrz2s4rwn0v05z2pp77r6k1kk-ccusage-20.1.2.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/sfbi82617cl1c4ms22g79xcv99q90pyq-source source root is source/rust Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/rust/Cargo.lock and /build/ccusage-20.1.2-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 4 --target aarch64-unknown-linux-gnu --offline --profile release -p ccusage --bin ccusage warning: ignoring `registry.global-min-publish-age` without `-Zmin-publish-age` warning: Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: workspace (manifest) generated 1 warning warning: adapters/antigravity/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-antigravity` (manifest) generated 1 warning warning: adapters/openclaw/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-openclaw` (manifest) generated 1 warning warning: adapters/codebuff/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-codebuff` (manifest) generated 1 warning warning: adapters/kimi/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-kimi` (manifest) generated 1 warning warning: crates/ccusage-zstd/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-zstd` (manifest) generated 1 warning warning: crates/ccusage-test-support/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-test-support` (manifest) generated 1 warning warning: adapters/hermes/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-hermes` (manifest) generated 1 warning warning: adapters/pi/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-pi` (manifest) generated 1 warning warning: adapters/claude/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-claude` (manifest) generated 1 warning warning: adapters/goose/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-goose` (manifest) generated 1 warning warning: adapters/grok/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-grok` (manifest) generated 1 warning warning: adapters/cline/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-cline` (manifest) generated 1 warning warning: adapters/qwen/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-qwen` (manifest) generated 1 warning warning: crates/ccusage-environment/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-environment` (manifest) generated 1 warning warning: crates/ccusage/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage` (manifest) generated 1 warning warning: crates/ccusage-terminal/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-terminal` (manifest) generated 1 warning warning: crates/ccusage-adapter-all/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-all` (manifest) generated 1 warning warning: adapters/amp/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-amp` (manifest) generated 1 warning warning: adapters/codex/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-codex` (manifest) generated 1 warning warning: adapters/opencode/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-opencode` (manifest) generated 1 warning warning: adapters/copilot/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-copilot` (manifest) generated 1 warning warning: adapters/common/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-common` (manifest) generated 1 warning warning: crates/ccusage-cli/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-cli` (manifest) generated 1 warning warning: crates/ccusage-config/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-config` (manifest) generated 1 warning warning: adapters/kilo/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-kilo` (manifest) generated 1 warning warning: adapters/dsh/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-dsh` (manifest) generated 1 warning warning: crates/ccusage-cli-parser/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-cli-parser` (manifest) generated 1 warning warning: crates/ccusage-telemetry/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-telemetry` (manifest) generated 1 warning warning: crates/ccusage-pricing-snapshots/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-pricing-snapshots` (manifest) generated 1 warning warning: crates/ccusage-core/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-core` (manifest) generated 1 warning warning: adapters/gemini/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-gemini` (manifest) generated 1 warning warning: adapters/droid/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-droid` (manifest) generated 1 warning warning: adapters/zcode/Cargo.toml: unused manifest key `lints.cargo` (may be supported in a future version) consider passing `-Zcargo-lints` to enable this feature. warning: `ccusage-adapter-zcode` (manifest) generated 1 warning Compiling libc v0.2.191 Compiling find-msvc-tools v0.1.15 Compiling shlex v2.0.1 Compiling zmij v1.0.23 Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.27 Compiling quote v1.0.47 Compiling serde_json v1.0.154 Compiling serde v1.0.229 Compiling pkg-config v0.3.34 Compiling serde_core v1.0.229 Compiling itoa v1.0.19 Compiling syn v3.0.9 Compiling memchr v2.8.3 Compiling jobserver v0.1.35 Compiling cc v1.11.1 Compiling rustix v1.1.6 Compiling ccusage-environment v0.0.0 (/build/source/rust/crates/ccusage-environment) Compiling jiff-core v0.1.8 Compiling zstd-sys v2.1.3+zstd.1.5.7 Compiling serde_derive v1.0.229 Compiling jiff v0.2.46 Compiling simd-adler32 v0.3.10 Compiling linux-raw-sys v0.12.1 Compiling adler2 v2.0.1 Compiling bitflags v2.13.2 Compiling miniz_oxide v0.9.1 Compiling sqlite3-src v0.7.1 Compiling zstd-safe v8.3.0 Compiling terminal_size v0.4.4 Compiling ccusage-cli v0.0.0 (/build/source/rust/crates/ccusage-cli) Compiling unicode-width v0.2.3 Compiling ccusage-terminal v0.0.0 (/build/source/rust/crates/ccusage-terminal) Compiling rustc-hash v2.1.3 Compiling smallvec v1.16.6 Compiling ccusage-core v0.0.0 (/build/source/rust/crates/ccusage-core) Compiling zstd v0.14.4 Compiling simdutf8 v0.1.5 Compiling cfg-if v1.0.5 Compiling ccusage-zstd v0.0.0 (/build/source/rust/crates/ccusage-zstd) Compiling ring v0.17.14 Compiling rustversion v1.0.23 Compiling zeroize v1.9.1 Compiling rustls-pki-types v1.15.1 Compiling getrandom v0.2.17 Compiling syn v2.0.119 Compiling crc32fast v1.5.4 Compiling untrusted v0.9.0 Compiling httparse v1.10.1 Compiling winnow v1.0.5 Compiling sqlite3-sys v0.18.2 Compiling sqlite v0.37.4 Compiling ccusage-adapter-common v0.0.0 (/build/source/rust/adapters/common) Compiling serde_derive_internals v0.29.1 Compiling toml_parser v1.1.6+spec-1.1.0 Compiling castaway v0.2.4 Compiling serde_spanned v1.1.3 Compiling toml_datetime v1.1.3+spec-1.1.0 Compiling static_assertions v1.1.0 Compiling percent-encoding v2.3.2 Compiling bytes v1.12.1 Compiling schemars v0.8.22 Compiling rustls v0.23.46 Compiling log v0.4.35 Compiling ccusage-pricing-snapshots v0.0.0 (/build/source/rust/crates/ccusage-pricing-snapshots) Compiling http v1.5.0 Compiling rustls-webpki v0.103.17 Compiling compact_str v0.10.0 Compiling toml v1.2.2+spec-1.1.0 Compiling schemars_derive v0.8.22 Compiling ccusage-cli-parser v0.0.0 (/build/source/rust/crates/ccusage-cli-parser) Compiling subtle v2.6.1 Compiling base64 v0.23.1 Compiling once_cell v1.21.4 Compiling dyn-clone v1.0.20 Compiling ureq-proto v0.7.1 Compiling flate2 v1.1.11 Compiling ccusage-adapter-codex v0.0.0 (/build/source/rust/adapters/codex) error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/parser.rs:705:25 | 705 | let relative = path.trim_prefix(sessions_dir); | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/paths.rs:227:25 | 227 | let relative = file.trim_prefix(&source.dir); | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/session_id.rs:27:10 | 27 | .trim_prefix("codex://threads/") | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/session_id.rs:28:10 | 28 | .trim_suffix(".zst") | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/session_id.rs:29:10 | 29 | .trim_suffix(".jsonl") | ^^^^^^^^^^^ | = note: see issue #142312 for more information error[E0658]: use of unstable library feature `trim_prefix_suffix` --> adapters/codex/src/session_id.rs:54:31 | 54 | let candidate = candidate.trim_suffix(".jsonl"); | ^^^^^^^^^^^ | = note: see issue #142312 for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `ccusage-adapter-codex` (lib) due to 6 previous errors warning: build failed, waiting for other jobs to finish...