cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release --features spsa  -- -C target-cpu=native --emit link=Tcheran-A151F1C0
   Compiling shlex v2.0.1
   Compiling find-msvc-tools v0.1.9
   Compiling cc v1.2.64
   Compiling engine v13.0.0-dev (/private/var/folders/vj/wh6vw3vd3t509h3hnsgg6_lc0000gn/T/tmpczfxm6k9/Tcheran/Tcheran-tmp/engine)
warning: engine@13.0.0-dev: Fetched network: v19-8ae28367.nnue
warning: engine@13.0.0-dev: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit status: 1): "cargo" "-E" "/Users/jgilchrist/.cargo/build/2b/fa8955866f5747/release/build/engine-ca3587d233207c28/out/10518851047661380530detect_compiler_family.c"
warning: engine@13.0.0-dev: error: unexpected argument '-O' found
warning: engine@13.0.0-dev: 
warning: engine@13.0.0-dev: Usage: cargo [+toolchain] [OPTIONS] [COMMAND]
warning: engine@13.0.0-dev:        cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...
warning: engine@13.0.0-dev: 
warning: engine@13.0.0-dev: For more information, try '--help'.
error: failed to run custom build command for `engine v13.0.0-dev (/private/var/folders/vj/wh6vw3vd3t509h3hnsgg6_lc0000gn/T/tmpczfxm6k9/Tcheran/Tcheran-tmp/engine)`

Caused by:
  process didn't exit successfully: `/Users/jgilchrist/.cargo/build/2b/fa8955866f5747/release/build/engine-4317089c5fd55521/build-script-build` (exit status: 1)
  --- stdout
  cargo:rustc-env=ENGINE_VERSION=v13.0-dev
  cargo:rerun-if-env-changed=EVALFILE
  cargo::warning=Fetched network: v19-8ae28367.nnue
  cargo:rerun-if-changed=/private/var/folders/vj/wh6vw3vd3t509h3hnsgg6_lc0000gn/T/tmpczfxm6k9/Tcheran/Tcheran-tmp/data/v19-8ae28367.nnue
  cargo:rustc-env=NETWORK=/private/var/folders/vj/wh6vw3vd3t509h3hnsgg6_lc0000gn/T/tmpczfxm6k9/Tcheran/Tcheran-tmp/data/v19-8ae28367.nnue
  cargo:rerun-if-changed=src/engine/tablebases/fathom/src
  cargo:rerun-if-env-changed=CC_FORCE_DISABLE
  CC_FORCE_DISABLE = None
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some(cargo)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit status: 1): "cargo" "-E" "/Users/jgilchrist/.cargo/build/2b/fa8955866f5747/release/build/engine-ca3587d233207c28/out/10518851047661380530detect_compiler_family.c"
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=error: unexpected argument '-O' found
  cargo:warning=
  cargo:warning=Usage: cargo [+toolchain] [OPTIONS] [COMMAND]
  cargo:warning=       cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...
  cargo:warning=
  cargo:warning=For more information, try '--help'.

  --- stderr
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  
100 12.0M  100 12.0M    0     0  24.1M      0 --:--:-- --:--:-- --:--:-- 24.1M


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "cargo" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=27.0" "-I" "src/engine/tablebases/fathom/src" "-Wall" "-Wextra" "-o" "/Users/jgilchrist/.cargo/build/2b/fa8955866f5747/release/build/engine-ca3587d233207c28/out/cca6e1dd7d54f41a-tbprobe.o" "-c" "src/engine/tablebases/fathom/src/tbprobe.c"


make: *** [build] Error 101