Build Information
Failed to build CodeEditSourceEditor, reference main (e95548
), with Swift 5.10 for macOS (SPM) on 14 Jun 2025 17:44:01 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/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 e955486 Remove the use of NSEvent for lines movement API (#333)
Cloned https://github.com/CodeEditApp/CodeEditSourceEditor.git
Revision (git rev-parse @):
e955486454a30ef1d2bccb178b422738bf025621
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/subtree.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/subtree.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/subtree.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/subtree.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/subtree.c:1:10: fatal error: could not build module 'Darwin'
#include <ctype.h>
~~~~~~~~^
21 errors generated.
[13/38] Compiling subtree.c
[13/38] Compiling parser.c
[13/38] Compiling stack.c
[13/38] Compiling node.c
[13/38] Compiling tree_cursor.c
[13/38] Compiling tree.c
[13/38] Compiling query.c
[13/38] Compiling wasm_store.c
[13/38] Compiling CodeEditTextViewObjC CGContextHidden.m
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/CodeEditApp/CodeEditSymbols.git
Fetching https://github.com/CodeEditApp/CodeEditLanguages.git
Fetching https://github.com/lukepistrol/SwiftLintPlugin
Fetching https://github.com/ChimeHQ/TextFormation
Fetching https://github.com/CodeEditApp/CodeEditTextView.git
[1/4581] Fetching swift-custom-dump
[505/4844] Fetching swift-custom-dump, codeeditsymbols
[555/7958] Fetching swift-custom-dump, codeeditsymbols, codeedittextview
[587/8316] Fetching swift-custom-dump, codeeditsymbols, codeedittextview, swiftlintplugin
[1816/10679] Fetching swift-custom-dump, codeeditsymbols, codeedittextview, swiftlintplugin, codeeditlanguages
[1887/11876] Fetching swift-custom-dump, codeeditsymbols, codeedittextview, swiftlintplugin, codeeditlanguages, textformation
Fetched https://github.com/ChimeHQ/TextFormation from cache (343.53s)
Fetched https://github.com/CodeEditApp/CodeEditLanguages.git from cache (343.53s)
Fetched https://github.com/CodeEditApp/CodeEditSymbols.git from cache (343.53s)
Fetched https://github.com/CodeEditApp/CodeEditTextView.git from cache (343.53s)
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (343.53s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (343.53s)
Computing version for https://github.com/CodeEditApp/CodeEditSymbols.git
Computed https://github.com/CodeEditApp/CodeEditSymbols.git at 0.2.3 (2.24s)
Computing version for https://github.com/CodeEditApp/CodeEditLanguages.git
Computed https://github.com/CodeEditApp/CodeEditLanguages.git at 0.1.20 (0.48s)
Fetching https://github.com/ChimeHQ/SwiftTreeSitter.git
[1/1642] Fetching swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter.git from cache (0.95s)
Computing version for https://github.com/ChimeHQ/TextFormation
Computed https://github.com/ChimeHQ/TextFormation at 0.9.0 (0.37s)
Fetching https://github.com/ChimeHQ/TextStory
[1/495] Fetching textstory
Fetched https://github.com/ChimeHQ/TextStory from cache (0.76s)
Computing version for https://github.com/ChimeHQ/TextStory
Computed https://github.com/ChimeHQ/TextStory at 0.9.0 (0.38s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.72s)
Computing version for https://github.com/CodeEditApp/CodeEditTextView.git
Computed https://github.com/CodeEditApp/CodeEditTextView.git at 0.11.2 (0.37s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.78s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter.git
Computed https://github.com/ChimeHQ/SwiftTreeSitter.git at 0.25.0 (0.38s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/57884] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.46s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.6 (0.37s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (0.49s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.36s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.37s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.59.1 (0.47s)
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/CodeEditApp/CodeEditSymbols.git
Working copy of https://github.com/CodeEditApp/CodeEditSymbols.git resolved at 0.2.3
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/CodeEditApp/CodeEditTextView.git
Working copy of https://github.com/CodeEditApp/CodeEditTextView.git resolved at 0.11.2
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/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.59.1
Creating working copy for https://github.com/ChimeHQ/TextStory
Working copy of https://github.com/ChimeHQ/TextStory resolved at 0.9.0
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.0
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/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.8.1
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
[16375/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.84s)
BUILD FAILURE 5.10 macosSpm