cargo pgo instrument
[2025-07-26T21:28:12Z INFO  cargo_pgo::pgo::instrument] PGO profile directory will be cleared.
[2025-07-26T21:28:12Z INFO  cargo_pgo::pgo::instrument] PGO profiles will be stored into /tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/pgo-profiles.
   Compiling proc-macro2 v1.0.95
   Compiling glob v0.3.2
   Compiling unicode-ident v1.0.18
   Compiling prettyplease v0.2.32
   Compiling libc v0.2.172
   Compiling minimal-lexical v0.2.1
   Compiling clang-sys v1.8.1
   Compiling cfg-if v1.0.0
   Compiling regex-syntax v0.8.5
   Compiling memchr v2.7.4
   Compiling libloading v0.8.6
   Compiling quote v1.0.40
   Compiling nom v7.1.3
   Compiling syn v2.0.101
   Compiling regex-automata v0.4.9
   Compiling shlex v1.3.0
   Compiling bindgen v0.71.1
   Compiling either v1.15.0
   Compiling itertools v0.13.0
   Compiling cexpr v0.6.0
   Compiling regex v1.11.1
   Compiling bitflags v2.9.0
   Compiling rustc-hash v2.1.1
   Compiling log v0.4.27
   Compiling cc v1.2.22
   Compiling reckless v0.8.0-dev (/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp)
warning: reckless@0.8.0-dev: Compiler family detection failed due to error: ToolNotFound: failed to find tool "clang": No such file or directory (os error 2)
warning: reckless@0.8.0-dev: Compiler family detection failed due to error: ToolNotFound: failed to find tool "clang": No such file or directory (os error 2)
warning: reckless@0.8.0-dev: Inherited flag "-fprofile-generate=/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/pgo-profiles" is not supported by the currently used CC
error: failed to run custom build command for `reckless v0.8.0-dev (/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp)`

Caused by:
  process didn't exit successfully: `/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/release/build/reckless-700146a99d234709/build-script-build` (exit status: 1)
  --- stdout
  cargo:rustc-env=MODEL=/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/networks/v36-87055d4b.nnue
  cargo:rustc-env=COMPILER_VERSION=rustc 1.88.0 (6b00bc388 2025-06-23)

  cargo:rustc-env=COMPILER_TARGET=x86_64-unknown-linux-gnu
  cargo:rustc-env=COMPILER_FEATURES=adx,aes,avx,avx2,bmi1,bmi2,cmpxchg16b,f16c,fma,fxsr,lzcnt,movbe,pclmulqdq,popcnt,rdrand,rdseed,sha,sse,sse2,sse3,sse4.1,sse4.2,ssse3,xsave,xsavec,xsaveopt
  OUT_DIR = Some(/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/x86_64-unknown-linux-gnu/release/build/reckless-4c1478464fa54a8b/out)
  OPT_LEVEL = Some(3)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=Compiler family detection failed due to error: ToolNotFound: failed to find tool "clang": No such file or directory (os error 2)
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(x86_64-unknown-linux-gnu)
  DEBUG = Some(false)
  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_ENCODED_RUSTFLAGS = Some(-Ctarget-cpu=native-Cprofile-generate=/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/pgo-profiles)
  OUT_DIR = Some(/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/x86_64-unknown-linux-gnu/release/build/reckless-4c1478464fa54a8b/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=Compiler family detection failed due to error: ToolNotFound: failed to find tool "clang": No such file or directory (os error 2)
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(x86_64-unknown-linux-gnu)
  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:warning=Inherited flag "-fprofile-generate=/tmp/tmpfb7_7dbi/Reckless/Reckless-tmp/target/pgo-profiles" is not supported by the currently used CC

  --- stderr


  error occurred in cc-rs: failed to find tool "clang": No such file or directory (os error 2)


[2025-07-26T21:28:20Z ERROR cargo_pgo::pgo::instrument] PGO instrumentation build has failed.
Cargo finished with an error (101)
make: *** [Makefile:34: rule] Error 1