Build Information
Failed to build HighlightSwift, reference main (f981c1
), with Swift 5.10 for macOS (SPM) on 25 Jun 2024 23:28:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appstefan/HighlightSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appstefan/HighlightSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f981c1a Update README.md
Cloned https://github.com/appstefan/HighlightSwift.git
Revision (git rev-parse @):
f981c1aa47d6cd5325a2727783cc1a72017452ba
SUCCESS checkout https://github.com/appstefan/HighlightSwift.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "highlightswift",
"name": "HighlightSwift",
"url": "https://github.com/appstefan/HighlightSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HighlightSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/appstefan/HighlightSwift.git
[1/448] Fetching highlightswift
Fetched https://github.com/appstefan/HighlightSwift.git from cache (1.50s)
Creating working copy for https://github.com/appstefan/HighlightSwift.git
Working copy of https://github.com/appstefan/HighlightSwift.git resolved at main (f981c1a)
warning: '.resolve-product-dependencies': dependency 'highlightswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/appstefan/HighlightSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying highlight.min.js
[1/4] Copying LICENSE.md
[3/4] Write swift-version-33747A42983211AE.txt
[5/23] Compiling HighlightSwift HLJS.swift
[6/23] Compiling HighlightSwift HLJSError.swift
[7/23] Compiling HighlightSwift CodeTextStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[8/23] Compiling HighlightSwift CodeTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[9/24] Compiling HighlightSwift HighlightLanguage.swift
[10/24] Compiling HighlightSwift HighlightMode.swift
[11/24] Compiling HighlightSwift HighlightColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:6: error: unknown attribute 'Entry'
@Entry var highlight: Highlight = Highlight()
^
[12/24] Compiling HighlightSwift HighlightEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:6: error: unknown attribute 'Entry'
@Entry var highlight: Highlight = Highlight()
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/24] Emitting module HighlightSwift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:6: error: unknown attribute 'Entry'
@Entry var highlight: Highlight = Highlight()
^
[14/24] Compiling HighlightSwift HighlightBackground.swift
[15/24] Compiling HighlightSwift HighlightCSS.swift
[16/24] Compiling HighlightSwift HLJSResult.swift
[17/24] Compiling HighlightSwift Highlight.swift
[18/24] Compiling HighlightSwift HighlightResult.swift
[19/24] Compiling HighlightSwift HighlightTheme.swift
[20/24] Compiling HighlightSwift CodeText.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[21/24] Compiling HighlightSwift CodeTextCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[22/24] Compiling HighlightSwift CodeTextColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[23/24] Compiling HighlightSwift CodeTextModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightSwift/Highlight/HighlightEntry.swift:4:16: error: extensions must not contain stored properties
@Entry var highlight: Highlight = Highlight()
^
[24/24] Compiling HighlightSwift resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm