bld1: building rsd75n9zg5rvlwxzhgv0ix4rbrar4hdr-codex-0.167.0.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/j9bhifsiqjhxknbzmx46884jnr1lffrc-source source root is source/codex-rs Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/fd5xyi1y5j2hnhbr4cljhqp19cr9kxxj-daemon-nix-store.patch patching file app-server-daemon/src/prepare_install.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/codex-rs/Cargo.lock and /build/codex-0.167.0-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline --profile release --package codex-cli --package codex-code-mode-host Compiling unicode-ident v1.0.22 Compiling proc-macro2 v1.0.106 Compiling quote v1.0.45 Compiling serde v1.0.228 Compiling serde_core v1.0.228 Compiling libc v0.2.186 Compiling cfg-if v1.0.4 Compiling memchr v2.8.1 Compiling syn v2.0.117 Compiling itoa v1.0.17 Compiling log v0.4.34 Compiling parking_lot_core v0.9.12 Compiling equivalent v1.0.2 Compiling allocator-api2 v0.2.21 Compiling scopeguard v1.2.0 Compiling lock_api v0.4.14 Compiling foldhash v0.2.0 Compiling pin-project-lite v0.2.16 Compiling version_check v0.9.5 Compiling critical-section v1.2.0 Compiling portable-atomic v1.13.1 Compiling hashbrown v0.17.1 Compiling getrandom v0.2.17 Compiling typenum v1.20.0 Compiling shlex v1.3.0 Compiling once_cell v1.21.4 Compiling futures-core v0.3.34 Compiling jobserver v0.1.34 Compiling thiserror v2.0.18 Compiling find-msvc-tools v0.1.9 Compiling bitflags v2.13.1 Compiling cc v1.2.55 Compiling indexmap v2.14.0 Compiling subtle v2.6.1 Compiling autocfg v1.5.1 Compiling generic-array v0.14.7 Compiling bytes v1.12.1 Compiling rand_core v0.6.4 Compiling synstructure v0.13.2 Compiling serde_derive v1.0.228 Compiling zeroize_derive v1.4.3 Compiling thiserror-impl v2.0.18 Compiling zmij v1.0.19 Compiling errno v0.3.14 Compiling mio v1.2.4 Compiling signal-hook-registry v1.4.8 Compiling zerofrom-derive v0.1.6 Compiling displaydoc v0.2.5 Compiling stable_deref_trait v1.2.1 Compiling yoke-derive v0.8.2 Compiling tracing-attributes v0.1.31 Compiling socket2 v0.6.3 Compiling syn v3.0.3 Compiling smallvec v1.15.1 Compiling zeroize v1.8.2 Compiling futures-io v0.3.34 Compiling parking_lot v0.12.5 Compiling tracing-core v0.1.36 Compiling crypto-common v0.1.7 Compiling tokio-macros v2.7.0 Compiling futures-sink v0.3.34 Compiling slab v0.4.12 Compiling zerovec-derive v0.11.3 Compiling tokio v1.52.3 Compiling const-oid v0.9.6 Compiling tracing v0.1.44 Compiling pkg-config v0.3.32 Compiling regex-syntax v0.8.8 Compiling futures-channel v0.3.34 Compiling block-buffer v0.10.4 Compiling futures-task v0.3.34 Compiling digest v0.10.7 Compiling aho-corasick v1.1.4 Compiling futures-macro v0.3.34 Compiling futures-util v0.3.34 Compiling regex-automata v0.4.13 Compiling serde_json v1.0.149 Compiling num-traits v0.2.19 Compiling cpufeatures v0.2.17 Compiling getrandom v0.3.4 Compiling http v1.4.0 Compiling fastrand v2.5.0 Compiling zerofrom v0.1.6 Compiling yoke v0.8.2 Compiling percent-encoding v2.3.2 Compiling zerovec v0.11.6 Compiling tokio-util v0.7.18 Compiling fnv v1.0.7 Compiling tinystr v0.8.3 Compiling http-body v1.0.1 Compiling base64 v0.22.1 Compiling time-core v0.1.8 Compiling num-conv v0.2.0 Compiling powerfmt v0.2.0 Compiling deranged v0.5.5 Compiling time-macros v0.2.27 Compiling either v1.15.0 Compiling zerocopy v0.8.37 Compiling num_threads v0.1.7 Compiling writeable v0.6.2 Compiling time v0.3.47 Compiling http-body-util v0.1.3 Compiling potential_utf v0.1.4 Compiling cmake v0.1.57 Compiling icu_normalizer_data v2.2.0 Compiling litemap v0.8.1 Compiling fs_extra v1.3.0 Compiling icu_properties_data v2.2.0 Compiling dunce v1.0.5 Compiling aws-lc-sys v0.45.0 Compiling icu_locale_core v2.2.0 Compiling sha2 v0.10.9 Compiling ring v0.17.14 Compiling rand_core v0.10.1 Compiling ppv-lite86 v0.2.21 Compiling zerotrie v0.2.4 Compiling getrandom v0.4.2 Compiling rustix v1.1.4 Compiling aws-lc-rs v1.18.1 Compiling untrusted v0.9.0 Compiling linux-raw-sys v0.12.1 Compiling utf8_iter v1.0.4 Compiling icu_collections v2.2.0 Compiling icu_provider v2.2.0 Compiling ryu v1.0.22 Compiling ipnet v2.11.0 Compiling form_urlencoded v1.2.2 Compiling rustls-pki-types v1.14.0 Compiling crossbeam-utils v0.8.21 Compiling untrusted v0.7.1 Compiling tinyvec_macros v0.1.1 Compiling atomic-waker v1.1.2 Compiling tinyvec v1.10.0 Compiling sync_wrapper v1.0.2 Compiling rustls v0.23.46 Compiling httpdate v1.0.3 Compiling num-integer v0.1.46 Compiling bstr v1.12.1 Compiling semver v1.0.27 Compiling rustls-webpki v0.103.16 Compiling sha1_smol v1.0.1 Compiling httparse v1.10.1 Compiling uuid v1.20.0 Compiling futures-executor v0.3.34 Compiling icu_properties v2.2.0 Compiling icu_normalizer v2.2.0 Compiling rustc_version v0.4.1 Compiling idna_adapter v1.2.1 Compiling try-lock v0.2.5 Compiling mime v0.3.17 Compiling want v0.3.1 Compiling idna v1.1.0 Compiling gix-error v0.5.0 Compiling rand_core v0.9.5 Compiling byteorder v1.5.0 Compiling rand_chacha v0.9.0 Compiling h2 v0.4.19 Compiling tower-service v0.3.3 Compiling heck v0.5.0 Compiling rand v0.9.3 Compiling url v2.5.8 Compiling anyhow v1.0.103 Compiling futures v0.3.34 Compiling openssl-probe v0.2.1 Compiling lazy_static v1.5.0 Compiling rustls-native-certs v0.8.3 Compiling unicode-normalization v0.1.25 Compiling crc32fast v1.5.0 Compiling tokio-rustls v0.26.4 Compiling unicode-xid v0.2.6 Compiling hyper v1.11.1 Compiling strsim v0.11.1 Compiling tower-layer v0.3.3 Compiling prodash v31.0.1 Compiling hyper-util v0.1.20 Compiling hex v0.4.3 Compiling winnow v1.0.4 Compiling gix-utils v0.5.0 Compiling tower v0.5.3 Compiling toml_parser v1.1.3+spec-1.1.0 Compiling itertools v0.14.0 Compiling regex v1.12.3 Compiling winnow v0.7.14 Compiling ident_case v1.0.1 Compiling psl-types v2.0.11 Compiling toml_datetime v0.7.5+spec-1.1.0 Compiling toml_edit v0.23.10+spec-1.0.0 Compiling webpki-roots v1.0.10 Compiling vcpkg v0.2.15 Compiling hmac v0.12.1 Compiling gix-validate v0.13.0 Compiling proc-macro-crate v3.4.0 Compiling async-trait v0.1.89 Compiling hashbrown v0.16.1 Compiling spin v0.9.8 Compiling simd-adler32 v0.3.8 Compiling sha1 v0.10.6 Compiling crossbeam-epoch v0.9.20 Compiling http v0.2.12 Compiling nom v8.0.0 Compiling adler2 v2.0.1 Compiling vsimd v0.8.0 Compiling cpufeatures v0.3.0 Compiling outref v0.5.2 Compiling base64-simd v0.8.0 Compiling miniz_oxide v0.8.9 Compiling http-body v0.4.6 Compiling openssl-sys v0.9.111 Compiling hyper-rustls v0.27.7 Compiling num-bigint v0.4.6 Compiling bytes-utils v0.1.4 Compiling static_assertions v1.1.0 Compiling pin-utils v0.1.0 Compiling gix-trace v0.3.0 Compiling data-encoding v2.10.0 Compiling aws-smithy-types v1.4.7 error: failed to run custom build command for `openssl-sys v0.9.111` Caused by: process didn't exit successfully: `/build/source/codex-rs/target/release/build/openssl-sys-f3572a778a2df2a2/build-script-main` (exit status: 101) --- stdout cargo:rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_OCB", "OPENSSL_NO_SM4", "OPENSSL_NO_SEED", "OPENSSL_NO_CHACHA", "OPENSSL_NO_CAST", "OPENSSL_NO_IDEA", "OPENSSL_NO_CAMELLIA", "OPENSSL_NO_RC4", "OPENSSL_NO_BF", "OPENSSL_NO_PSK", "OPENSSL_NO_DEPRECATED_3_0", "OPENSSL_NO_SCRYPT", "OPENSSL_NO_SM3", "OPENSSL_NO_RMD160", "OPENSSL_NO_EC2M", "OPENSSL_NO_OCSP", "OPENSSL_NO_CMS", "OPENSSL_NO_COMP", "OPENSSL_NO_SOCK", "OPENSSL_NO_STDIO", "OPENSSL_NO_EC", "OPENSSL_NO_SSL3_METHOD", "OPENSSL_NO_KRB5", "OPENSSL_NO_TLSEXT", "OPENSSL_NO_SRP", "OPENSSL_NO_SRTP", "OPENSSL_NO_RFC3779", "OPENSSL_NO_SHA", "OPENSSL_NO_NEXTPROTONEG", "OPENSSL_NO_ENGINE", "OPENSSL_NO_BUF_FREELISTS", "OPENSSL_NO_RC2")) cargo:rustc-check-cfg=cfg(openssl) cargo:rustc-check-cfg=cfg(libressl) cargo:rustc-check-cfg=cfg(boringssl) cargo:rustc-check-cfg=cfg(awslc) cargo:rustc-check-cfg=cfg(libressl250) cargo:rustc-check-cfg=cfg(libressl251) cargo:rustc-check-cfg=cfg(libressl252) cargo:rustc-check-cfg=cfg(libressl261) cargo:rustc-check-cfg=cfg(libressl270) cargo:rustc-check-cfg=cfg(libressl271) cargo:rustc-check-cfg=cfg(libressl273) cargo:rustc-check-cfg=cfg(libressl280) cargo:rustc-check-cfg=cfg(libressl281) cargo:rustc-check-cfg=cfg(libressl291) cargo:rustc-check-cfg=cfg(libressl310) cargo:rustc-check-cfg=cfg(libressl321) cargo:rustc-check-cfg=cfg(libressl332) cargo:rustc-check-cfg=cfg(libressl340) cargo:rustc-check-cfg=cfg(libressl350) cargo:rustc-check-cfg=cfg(libressl360) cargo:rustc-check-cfg=cfg(libressl361) cargo:rustc-check-cfg=cfg(libressl370) cargo:rustc-check-cfg=cfg(libressl380) cargo:rustc-check-cfg=cfg(libressl381) cargo:rustc-check-cfg=cfg(libressl382) cargo:rustc-check-cfg=cfg(libressl390) cargo:rustc-check-cfg=cfg(libressl400) cargo:rustc-check-cfg=cfg(libressl410) cargo:rustc-check-cfg=cfg(libressl420) cargo:rustc-check-cfg=cfg(ossl101) cargo:rustc-check-cfg=cfg(ossl102) cargo:rustc-check-cfg=cfg(ossl102f) cargo:rustc-check-cfg=cfg(ossl102h) cargo:rustc-check-cfg=cfg(ossl110) cargo:rustc-check-cfg=cfg(ossl110f) cargo:rustc-check-cfg=cfg(ossl110g) cargo:rustc-check-cfg=cfg(ossl110h) cargo:rustc-check-cfg=cfg(ossl111) cargo:rustc-check-cfg=cfg(ossl111b) cargo:rustc-check-cfg=cfg(ossl111c) cargo:rustc-check-cfg=cfg(ossl111d) cargo:rustc-check-cfg=cfg(ossl300) cargo:rustc-check-cfg=cfg(ossl310) cargo:rustc-check-cfg=cfg(ossl320) cargo:rustc-check-cfg=cfg(ossl330) cargo:rustc-check-cfg=cfg(ossl340) cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=SYSROOT cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-search=native=/nix/store/9n8r19wpgq70vv1kwll66k2m0hvs02y4-aws-lc-5.12.0/lib cargo:rustc-link-lib=ssl cargo:rustc-link-lib=crypto cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-changed=build/expando.c OPT_LEVEL = Some(3) OUT_DIR = Some(/build/source/codex-rs/target/x86_64-unknown-linux-gnu/release/build/openssl-sys-108541994b9d60dd/out) TARGET = Some(x86_64-unknown-linux-gnu) CARGO_ENCODED_RUSTFLAGS = Some(-Cforce-frame-pointers=yes) HOST = Some(x86_64-unknown-linux-gnu) cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu CC_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu CC_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = Some(/nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/cc) RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(false) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None OUT_DIR = Some(/build/source/codex-rs/target/x86_64-unknown-linux-gnu/release/build/openssl-sys-108541994b9d60dd/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-linux-gnu) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-linux-gnu) cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None cargo:rustc-cfg=osslconf="OPENSSL_NO_BUF_FREELISTS" cargo:rustc-cfg=osslconf="OPENSSL_NO_IDEA" cargo:rustc-cfg=osslconf="OPENSSL_NO_CAMELLIA" cargo:rustc-cfg=osslconf="OPENSSL_NO_CAST" cargo:rustc-cfg=osslconf="OPENSSL_NO_CMS" cargo:rustc-cfg=osslconf="OPENSSL_NO_COMP" cargo:rustc-cfg=osslconf="OPENSSL_NO_EC2M" cargo:rustc-cfg=osslconf="OPENSSL_NO_ENGINE" cargo:rustc-cfg=osslconf="OPENSSL_NO_KRB5" cargo:rustc-cfg=osslconf="OPENSSL_NO_OCB" cargo:rustc-cfg=osslconf="OPENSSL_NO_RC2" cargo:rustc-cfg=osslconf="OPENSSL_NO_RFC3779" cargo:rustc-cfg=osslconf="OPENSSL_NO_RMD160" cargo:rustc-cfg=osslconf="OPENSSL_NO_SRP" cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD" cargo:rustc-cfg=osslconf="OPENSSL_NO_SM3" cargo:rustc-cfg=osslconf="OPENSSL_NO_SM4" cargo:rustc-cfg=osslconf="OPENSSL_NO_SEED" cargo:conf=OPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_IDEA,OPENSSL_NO_CAMELLIA,OPENSSL_NO_CAST,OPENSSL_NO_CMS,OPENSSL_NO_COMP,OPENSSL_NO_EC2M,OPENSSL_NO_ENGINE,OPENSSL_NO_KRB5,OPENSSL_NO_OCB,OPENSSL_NO_RC2,OPENSSL_NO_RFC3779,OPENSSL_NO_RMD160,OPENSSL_NO_SRP,OPENSSL_NO_SSL3_METHOD,OPENSSL_NO_SM3,OPENSSL_NO_SM4,OPENSSL_NO_SEED cargo:rustc-cfg=awslc cargo:awslc=true --- stderr thread 'main' (4445) panicked at /build/codex-0.167.0-vendor/source-registry-0/openssl-sys-0.9.111/build/run_bindgen.rs:341:39: bindgen failed to execute: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...