Build Information
Failed to build RRuleKit, reference main (98f254
), with Swift 6.0 for Linux on 19 Jan 2025 19:01:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kubens/RRuleKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/kubens/RRuleKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 98f254d support for SPI documentation (#2)
Cloned https://github.com/kubens/RRuleKit.git
Revision (git rev-parse @):
98f254d81d7ddad1258e798c9f4410f31fc3771a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kubens/RRuleKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/kubens/RRuleKit.git
https://github.com/kubens/RRuleKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "RRuleKit",
"name" : "RRuleKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "maccatalyst",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
},
{
"name" : "watchos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "RRuleKit",
"targets" : [
"RRuleKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RRuleKitTests",
"module_type" : "SwiftTarget",
"name" : "RRuleKitTests",
"path" : "Tests/RRuleKitTests",
"sources" : [
"RecurrenceRuleRFC5545FormatTests.swift",
"RecurrenceRuleRFC5545ParseTests.swift"
],
"target_dependencies" : [
"RRuleKit"
],
"type" : "test"
},
{
"c99name" : "RRuleKit",
"module_type" : "SwiftTarget",
"name" : "RRuleKit",
"path" : "Sources/RRuleKit",
"product_memberships" : [
"RRuleKit"
],
"sources" : [
"RecurrenceRule+FormatStyle.swift",
"RecurrenceRuleRFC5545FormatStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Emitting module RRuleKit
[4/5] Compiling RRuleKit RecurrenceRule+FormatStyle.swift
[5/5] Compiling RRuleKit RecurrenceRuleRFC5545FormatStyle.swift
/host/spi-builder-workspace/Sources/RRuleKit/RecurrenceRuleRFC5545FormatStyle.swift:228:32: error: value of type 'Calendar.RecurrenceRule.End' has no member 'occurrences'
226 | // Append COUNT or UNTIL if present
227 | if #available(iOS 18.2, macCatalyst 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2, *) {
228 | if let count = rrule.end.occurrences, count > 0 {
| `- error: value of type 'Calendar.RecurrenceRule.End' has no member 'occurrences'
229 | append(";COUNT=".utf8)
230 | append(count)
/host/spi-builder-workspace/Sources/RRuleKit/RecurrenceRuleRFC5545FormatStyle.swift:231:39: error: value of type 'Calendar.RecurrenceRule.End' has no member 'date'
229 | append(";COUNT=".utf8)
230 | append(count)
231 | } else if let until = rrule.end.date {
| `- error: value of type 'Calendar.RecurrenceRule.End' has no member 'date'
232 | append(";UNTIL=".utf8)
233 | append(until)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Emitting module RRuleKit
[3/4] Compiling RRuleKit RecurrenceRule+FormatStyle.swift
[4/4] Compiling RRuleKit RecurrenceRuleRFC5545FormatStyle.swift
/host/spi-builder-workspace/Sources/RRuleKit/RecurrenceRuleRFC5545FormatStyle.swift:228:32: error: value of type 'Calendar.RecurrenceRule.End' has no member 'occurrences'
226 | // Append COUNT or UNTIL if present
227 | if #available(iOS 18.2, macCatalyst 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2, *) {
228 | if let count = rrule.end.occurrences, count > 0 {
| `- error: value of type 'Calendar.RecurrenceRule.End' has no member 'occurrences'
229 | append(";COUNT=".utf8)
230 | append(count)
/host/spi-builder-workspace/Sources/RRuleKit/RecurrenceRuleRFC5545FormatStyle.swift:231:39: error: value of type 'Calendar.RecurrenceRule.End' has no member 'date'
229 | append(";COUNT=".utf8)
230 | append(count)
231 | } else if let until = rrule.end.date {
| `- error: value of type 'Calendar.RecurrenceRule.End' has no member 'date'
232 | append(";UNTIL=".utf8)
233 | append(until)
BUILD FAILURE 6.0 linux