Build Information
Failed to build CodeEditLanguages, reference main (32a1dd
), with Swift 5.10 for macOS (SPM) on 11 Jun 2025 20:50:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CodeEditApp/CodeEditLanguages.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CodeEditApp/CodeEditLanguages
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32a1ddc Increase Git's HTTP Post Buffer Size (fix Docs CI)
Cloned https://github.com/CodeEditApp/CodeEditLanguages.git
Revision (git rev-parse @):
32a1ddcb44d0bcf9bdb41ae426fa1bb7198e62fe
SUCCESS checkout https://github.com/CodeEditApp/CodeEditLanguages.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/CodeEditApp/CodeEditLanguages.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write swift-version-33747A42983211AE.txt
[1/18] Compiling stdlib.c
While building module 'Darwin' imported from /Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/node.c:1:
In file included from <module-includes>:74:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:93:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_len; /* Total length of sockaddr */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:94:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_family; /* AF_LINK */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:95:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short sdl_index; /* if != 0, system given index for interface */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:96:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_type; /* interface type */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:97:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_nlen; /* interface name length, no trailing 0 reqd. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:98:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_alen; /* link level address length */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/net/if_dl.h:99:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char sdl_slen; /* link layer selector length */
^
While building module 'Darwin' imported from /Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/node.c:1:
In file included from <module-includes>:85:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/pthread/spawn.h:65:34: error: unknown type name 'qos_class_t'
qos_class_t __qos_class);
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/pthread/spawn.h:88:34: error: unknown type name 'qos_class_t'
qos_class_t * __restrict __qos_class);
^
While building module 'Darwin' imported from /Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/node.c:1:
In file included from <module-includes>:93:
In file included from /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/posix_sem.h:49:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:116:2: error: unknown type name 'u_int'
u_int p_estcpu; /* Time averaged value of p_cpticks. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:121:2: error: unknown type name 'u_int'
u_int p_swtime; /* Time swapped in or out. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:122:2: error: unknown type name 'u_int'
u_int p_slptime; /* Time since last blocked. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:136:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char p_priority; /* Process priority. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:137:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char p_usrpri; /* User-priority based on p_cpu and p_nice. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:142:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_xstat; /* Exit status for wait; also stop signal. */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/proc.h:143:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_acflag; /* Accounting flags. */
^
While building module 'Darwin' imported from /Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/node.c:1:
In file included from <module-includes>:234:
In file included from /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/bootp.h:46:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:90:10: error: duplicate member 'ip_v'
u_int ip_v:4, /* version */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:87:6: note: previous declaration is here
ip_v:4; /* version */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:91:6: error: duplicate member 'ip_hl'
ip_hl:4; /* header length */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:86:10: note: previous declaration is here
u_int ip_hl:4, /* header length */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:197:10: error: duplicate member 'ipt_oflw'
u_int ipt_oflw:4, /* overflow counter */
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/netinet/ip.h:194:6: note: previous declaration is here
ipt_oflw:4; /* overflow counter */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/node.c:1:10: fatal error: could not build module 'Darwin'
#include <stdbool.h>
~~~~~~~~^
21 errors generated.
[2/18] Compiling node.c
[2/18] Compiling language.c
[2/18] Compiling lexer.c
[2/18] Compiling query.c
[2/18] Compiling tree.c
[2/18] Compiling stack.c
[2/18] Compiling wasm_store.c
[2/18] Compiling tree_cursor.c
[2/18] Compiling subtree.c
[2/18] Compiling parser.c
Fetching https://github.com/ChimeHQ/SwiftTreeSitter.git
[1/1642] Fetching swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter.git from cache (1.28s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter.git
Computed https://github.com/ChimeHQ/SwiftTreeSitter.git at 0.25.0 (0.26s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/57800] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.48s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.6 (0.23s)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.6
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter.git
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter.git resolved at 0.25.0
BUILD FAILURE 5.10 macosSpm