ccusage-20.0.45
herculesCI.onPush.default.outputs.hosts.ge2
· build #1815
· raw
1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/drnc5wlvcasqwgzjgdf1a5n28nqk34k7-source3source root is source/rust4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/source/rust/Cargo.lock and /build/ccusage-20.0.45-vendor/Cargo.lock8Finished cargoSetupPostPatchHookbuildPhase
9Executing cargoBuildHook10cargoBuildHook flags: -j 32 --target x86_64-unknown-linux-gnu --offline --profile release -p ccusage --bin ccusage11 Compiling zmij v1.0.2312 Compiling libc v0.2.19013 Compiling proc-macro2 v1.0.10714 Compiling unicode-ident v1.0.2715 Compiling quote v1.0.4716 Compiling serde_core v1.0.22917 Compiling find-msvc-tools v0.1.1418 Compiling shlex v2.0.119 Compiling itoa v1.0.1820 Compiling rustix v1.1.521 Compiling simd-adler32 v0.3.1022 Compiling linux-raw-sys v0.12.123 Compiling adler2 v2.0.124 Compiling serde v1.0.22925 Compiling bitflags v2.13.226 Compiling serde_json v1.0.15427 Compiling memchr v2.8.328 Compiling unicode-width v0.2.229 Compiling jiff-core v0.1.130 Compiling ccusage-cli v0.0.0 (/build/source/rust/crates/ccusage-cli)31 Compiling rustc-hash v2.1.332 Compiling smallvec v1.16.433 Compiling pkg-config v0.3.3434 Compiling cfg-if v1.0.535 Compiling rustversion v1.0.2336 Compiling zstd-safe v8.2.037 Compiling zeroize v1.9.138 Compiling winnow v1.0.439 Compiling httparse v1.10.140 Compiling crc32fast v1.5.241 Compiling miniz_oxide v0.9.142 Compiling rustls-pki-types v1.15.143 Compiling untrusted v0.9.044 Compiling rustls v0.23.4645 Compiling static_assertions v1.1.046 Compiling log v0.4.3447 Compiling bytes v1.12.148 Compiling schemars v0.8.2249 Compiling once_cell v1.21.450 Compiling dyn-clone v1.0.2051 Compiling base64 v0.23.152 Compiling subtle v2.6.153 Compiling utf8-zero v0.8.154 Compiling percent-encoding v2.3.255 Compiling toml_parser v1.1.5+spec-1.1.056 Compiling webpki-roots v1.0.1157 Compiling flate2 v1.1.1058 Compiling http v1.5.059 Compiling jiff v0.2.3860 Compiling castaway v0.2.461 Compiling compact_str v0.10.062 Compiling terminal_size v0.4.463 Compiling syn v3.0.964 Compiling syn v2.0.11965 Compiling ccusage-terminal v0.0.0 (/build/source/rust/crates/ccusage-terminal)66 Compiling ureq-proto v0.6.567 Compiling jobserver v0.1.3568 Compiling cc v1.8.069 Compiling getrandom v0.2.1770 Compiling toml_datetime v1.1.2+spec-1.1.071 Compiling serde_spanned v1.1.272 Compiling toml v1.1.8+spec-1.1.073 Compiling serde_derive_internals v0.29.174 Compiling serde_derive v1.0.22975 Compiling ccusage-cli-parser v0.0.0 (/build/source/rust/crates/ccusage-cli-parser)76 Compiling ccusage-pricing-snapshots v0.0.0 (/build/source/rust/crates/ccusage-pricing-snapshots)77 Compiling ccusage v0.0.0 (/build/source/rust/crates/ccusage)78 Compiling schemars_derive v0.8.2279 Compiling sqlite3-src v0.7.180 Compiling zstd-sys v2.1.2+zstd.1.5.781 Compiling ring v0.17.1482error: failed to run custom build command for `zstd-sys v2.1.2+zstd.1.5.7`8384Caused by:85 process didn't exit successfully: `/build/source/rust/target/release/build/zstd-sys-7d2611b9f4555e33/build-script-build` (exit status: 101)86 --- stdout87 cargo:rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG88 cargo:rerun-if-env-changed=ZSTD_SYS_NO_HIDE_SYMBOLS89 cargo:rerun-if-env-changed=LIBZSTD_NO_PKG_CONFIG90 cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu91 cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu92 cargo:rerun-if-env-changed=HOST_PKG_CONFIG93 cargo:rerun-if-env-changed=PKG_CONFIG94 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu95 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu96 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH97 cargo:rerun-if-env-changed=PKG_CONFIG_PATH98 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu99 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu100 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR101 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR102 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu103 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu104 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR105 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR106107 --- stderr108109 thread 'main' (1379) panicked at /build/ccusage-20.0.45-vendor/source-registry-0/zstd-sys-2.1.2+zstd.1.5.7/build.rs:231:10:110 Can't probe for zstd in pkg-config: 111 pkg-config exited with status code 1112 > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --static --libs --cflags libzstd113114 pkg-config output:115 Package libzstd was not found in the pkg-config search path.116 Perhaps you should add the directory containing `libzstd.pc'117 to the PKG_CONFIG_PATH environment variable118 No package 'libzstd' found119120 The system library `libzstd` required by crate `zstd-sys` was not found.121 The file `libzstd.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.122 The PKG_CONFIG_PATH environment variable is not set.123124 HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libzstd.pc`.125126 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace127warning: build failed, waiting for other jobs to finish...