Build Information
Failed to build CodeEditSourceEditor, reference main (4a3cb1), with Swift 5.10 for macOS (SPM) on 16 Sep 2025 23:15:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CodeEditApp/CodeEditSourceEditor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CodeEditApp/CodeEditSourceEditor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4a3cb13 Documentation, Improve Public AppKit API (#353)
Cloned https://github.com/CodeEditApp/CodeEditSourceEditor.git
Revision (git rev-parse @):
4a3cb13b6e4b9be8100090e8f2181757e6d30036
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CodeEditApp/CodeEditSourceEditor.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/CodeEditApp/CodeEditSourceEditor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLint
[2/2] Compiling plugin SwiftLintFix
Building for debugging...
[2/36] Write sources
[11/36] Write swift-version-33747A42983211AE.txt
[12/36] Compiling stdlib.c
While building module 'Darwin' imported from /Users/admin/builder/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/parser.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/parser.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/parser.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/parser.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/parser.c:1:10: fatal error: could not build module 'Darwin'
#include <time.h>
~~~~~~~~^
21 errors generated.
[13/38] Compiling parser.c
[13/38] Compiling query.c
[13/38] Compiling node.c
[13/38] Compiling wasm_store.c
[13/38] Compiling stack.c
[13/38] Compiling subtree.c
[13/38] Compiling tree.c
[13/38] Compiling tree_cursor.c
[13/38] Compiling CodeEditTextViewObjC CGContextHidden.m
Fetching https://github.com/ChimeHQ/TextFormation
Fetching https://github.com/CodeEditApp/CodeEditLanguages.git
Fetching https://github.com/CodeEditApp/CodeEditSymbols.git
Fetching https://github.com/CodeEditApp/CodeEditTextView.git
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/lukepistrol/SwiftLintPlugin
[1/1197] Fetching textformation
[85/1460] Fetching textformation, codeeditsymbols
[143/4873] Fetching textformation, codeeditsymbols, codeedittextview
[144/9471] Fetching textformation, codeeditsymbols, codeedittextview, swift-custom-dump
[328/9835] Fetching textformation, codeeditsymbols, codeedittextview, swift-custom-dump, swiftlintplugin
[591/12198] Fetching textformation, codeeditsymbols, codeedittextview, swift-custom-dump, swiftlintplugin, codeeditlanguages
Fetched https://github.com/CodeEditApp/CodeEditTextView.git from cache (1.76s)
[6770/8785] Fetching textformation, codeeditsymbols, swift-custom-dump, swiftlintplugin, codeeditlanguages
Fetched https://github.com/CodeEditApp/CodeEditLanguages.git from cache (296.32s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (296.32s)
Fetched https://github.com/ChimeHQ/TextFormation from cache (296.32s)
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (296.32s)
Fetched https://github.com/CodeEditApp/CodeEditSymbols.git from cache (296.32s)
Computing version for https://github.com/CodeEditApp/CodeEditSymbols.git
Computed https://github.com/CodeEditApp/CodeEditSymbols.git at 0.2.3 (2.39s)
Computing version for https://github.com/CodeEditApp/CodeEditLanguages.git
Computed https://github.com/CodeEditApp/CodeEditLanguages.git at 0.1.20 (0.49s)
Fetching https://github.com/ChimeHQ/SwiftTreeSitter.git
[1/1642] Fetching swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter.git from cache (0.99s)
Computing version for https://github.com/CodeEditApp/CodeEditTextView.git
Computed https://github.com/CodeEditApp/CodeEditTextView.git at 0.12.1 (0.42s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ChimeHQ/TextStory
[5/495] Fetching textstory
[496/17961] Fetching textstory, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.98s)
Fetched https://github.com/ChimeHQ/TextStory from cache (1.98s)
Computing version for https://github.com/ChimeHQ/TextFormation
Computed https://github.com/ChimeHQ/TextFormation at 0.9.0 (0.36s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter.git
Computed https://github.com/ChimeHQ/SwiftTreeSitter.git at 0.25.0 (0.37s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/61276] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.67s)
Computing version for https://github.com/ChimeHQ/TextStory
Computed https://github.com/ChimeHQ/TextStory at 0.9.1 (0.37s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.78s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 2.0.0 (0.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.39s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.32s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.9 (0.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.38s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.61.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.45s)
Creating working copy for https://github.com/CodeEditApp/CodeEditLanguages.git
Working copy of https://github.com/CodeEditApp/CodeEditLanguages.git resolved at 0.1.20
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 2.0.0
Creating working copy for https://github.com/ChimeHQ/TextFormation
Working copy of https://github.com/ChimeHQ/TextFormation resolved at 0.9.0
Creating working copy for https://github.com/ChimeHQ/TextStory
Working copy of https://github.com/ChimeHQ/TextStory resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/CodeEditApp/CodeEditSymbols.git
Working copy of https://github.com/CodeEditApp/CodeEditSymbols.git resolved at 0.2.3
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter.git
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter.git resolved at 0.25.0
Creating working copy for https://github.com/CodeEditApp/CodeEditTextView.git
Working copy of https://github.com/CodeEditApp/CodeEditTextView.git resolved at 0.12.1
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.61.0
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.9
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
[16375/70760294] Downloading https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip (3.91s)
BUILD FAILURE 5.10 macosSpm