Skip to content

Instantly share code, notes, and snippets.

@rzaitov
Created January 24, 2024 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rzaitov/e12a8488b43edfdad0e10e17f790c4f4 to your computer and use it in GitHub Desktop.
Save rzaitov/e12a8488b43edfdad0e10e17f790c4f4 to your computer and use it in GitHub Desktop.
failing to build universal app on x86 mac
$ cargo tauri build --target universal-apple-darwin
Compiling objc_exception v0.1.2
Compiling tao v0.16.7
Compiling tauri-winres v0.1.1
Compiling cargo_toml v0.15.3
The following warnings were emitted during compilation:
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:75:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
warning: objc_exception@0.1.2: #error Unsupported architecture
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:78:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
warning: objc_exception@0.1.2: #error architecture not supported
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
warning: objc_exception@0.1.2: #error architecture not supported
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
warning: objc_exception@0.1.2: typedef __int64_t __darwin_blkcnt_t; /* total blocks */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: objc_exception@0.1.2: typedef __int32_t __darwin_blksize_t; /* preferred block size */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__int128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: objc_exception@0.1.2: typedef __int32_t __darwin_dev_t; /* dev_t */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__int128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
warning: objc_exception@0.1.2: typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
warning: objc_exception@0.1.2: typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
warning: objc_exception@0.1.2: typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: objc_exception@0.1.2: typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__int128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: objc_exception@0.1.2: typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__int128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: objc_exception@0.1.2: typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: note: '__uint128_t' declared here
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:81:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/endian.h:37:2: error: architecture not supported
warning: objc_exception@0.1.2: #error architecture not supported
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: In file included from extern/exception.m:1:
warning: objc_exception@0.1.2: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
warning: objc_exception@0.1.2: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:95:9: error: unknown type name 'u_int64_t'
warning: objc_exception@0.1.2: typedef u_int64_t u_quad_t; /* quads */
warning: objc_exception@0.1.2: ^
warning: objc_exception@0.1.2: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: objc_exception@0.1.2: 20 errors generated.
error: failed to run custom build command for `objc_exception v0.1.2`
Caused by:
process didn't exit successfully: `/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/release/build/objc_exception-54ac1f6158817a76/build-script-build` (exit status: 1)
--- stdout
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-apple-darwin")
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=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
RUSTC_LINKER = None
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")
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:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
running: env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-o" "/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/aarch64-apple-darwin/release/build/objc_exception-928c06e83c3d6b01/out/extern/exception.o" "-c" "extern/exception.m"
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:75:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
cargo:warning=#error Unsupported architecture
cargo:warning= ^
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:78:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
cargo:warning=typedef __int64_t __darwin_blkcnt_t; /* total blocks */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_blksize_t; /* preferred block size */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_dev_t; /* dev_t */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
cargo:warning=typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
cargo:warning=typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
cargo:warning=typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:81:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/endian.h:37:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from extern/exception.m:1:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/objc/objc.h:31:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:95:9: error: unknown type name 'u_int64_t'
cargo:warning=typedef u_int64_t u_quad_t; /* quads */
cargo:warning= ^
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
exit status: 1
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-o" "/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/aarch64-apple-darwin/release/build/objc_exception-928c06e83c3d6b01/out/extern/exception.o" "-c" "extern/exception.m" with args "cc" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:75:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
warning: tao@0.16.7: #error Unsupported architecture
warning: tao@0.16.7: ^
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:78:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
warning: tao@0.16.7: #error architecture not supported
warning: tao@0.16.7: ^
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
warning: tao@0.16.7: #error architecture not supported
warning: tao@0.16.7: ^
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
warning: tao@0.16.7: typedef __int64_t __darwin_blkcnt_t; /* total blocks */
warning: tao@0.16.7: ^
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: tao@0.16.7: typedef __int32_t __darwin_blksize_t; /* preferred block size */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__int128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: tao@0.16.7: typedef __int32_t __darwin_dev_t; /* dev_t */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__int128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
warning: tao@0.16.7: typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
warning: tao@0.16.7: ^
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
warning: tao@0.16.7: typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
warning: tao@0.16.7: ^
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
warning: tao@0.16.7: typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
warning: tao@0.16.7: ^
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: tao@0.16.7: typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__int128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
warning: tao@0.16.7: typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__int128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
warning: tao@0.16.7: typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
warning: tao@0.16.7: ^
warning: tao@0.16.7: note: '__uint128_t' declared here
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:81:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/endian.h:37:2: error: architecture not supported
warning: tao@0.16.7: #error architecture not supported
warning: tao@0.16.7: ^
warning: tao@0.16.7: In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
warning: tao@0.16.7: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
warning: tao@0.16.7: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:95:9: error: unknown type name 'u_int64_t'
warning: tao@0.16.7: typedef u_int64_t u_quad_t; /* quads */
warning: tao@0.16.7: ^
warning: tao@0.16.7: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: tao@0.16.7: 20 errors generated.
error: failed to run custom build command for `tao v0.16.7`
Caused by:
process didn't exit successfully: `/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/release/build/tao-1ea6691790ed402f/build-script-build` (exit status: 1)
--- stdout
cargo:rustc-link-lib=framework=Carbon
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-apple-darwin")
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=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
RUSTC_LINKER = None
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")
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:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
running: env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-o" "/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/aarch64-apple-darwin/release/build/tao-e9b91e651ec6b755/out/src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.o" "-c" "src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c"
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:75:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
cargo:warning=#error Unsupported architecture
cargo:warning= ^
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:78:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:79:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
cargo:warning=typedef __int64_t __darwin_blkcnt_t; /* total blocks */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_blksize_t; /* preferred block size */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_dev_t; /* dev_t */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
cargo:warning=typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
cargo:warning=typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
cargo:warning=typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
cargo:warning= ^
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
cargo:warning=typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
cargo:warning= ^
cargo:warning=note: '__int128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
cargo:warning=typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
cargo:warning= ^
cargo:warning=note: '__uint128_t' declared here
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:81:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/endian.h:37:2: error: architecture not supported
cargo:warning=#error architecture not supported
cargo:warning= ^
cargo:warning=In file included from src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c:7:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/types.h:95:9: error: unknown type name 'u_int64_t'
cargo:warning=typedef u_int64_t u_quad_t; /* quads */
cargo:warning= ^
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
exit status: 1
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-o" "/Users/rzaitov/Documents/apps/tauri-get-started/src-tauri/target/aarch64-apple-darwin/release/build/tao-e9b91e651ec6b755/out/src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.o" "-c" "src/platform_impl/macos/carbon_hotkey/carbon_hotkey_binding.c" with args "cc" did not execute successfully (status code exit status: 1).
Error failed to build aarch64-apple-darwin binary: failed to build app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment