Build Information
Failed to build Kanna, reference 6.0.0 (b26817
), with Swift 5.9 for Linux on 3 May 2025 18:28:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tid-kijyun/Kanna.git
Reference: 6.0.0
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/tid-kijyun/Kanna
* tag 6.0.0 -> FETCH_HEAD
HEAD is now at b268172 Update the podspec
Cloned https://github.com/tid-kijyun/Kanna.git
Revision (git rev-parse @):
b268172556b01770424271db3df63768e18d1f19
SUCCESS checkout https://github.com/tid-kijyun/Kanna.git at 6.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/tid-kijyun/Kanna.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module Kanna
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: cannot find 'nonisolated' in scope
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:13: error: cannot find 'unsafe' in scope
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^~~~~~
[3/9] Compiling Kanna resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
[4/9] Compiling Kanna libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
[5/9] Compiling Kanna libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
[6/9] Compiling Kanna libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
/host/spi-builder-workspace/Sources/Kanna/libxmlHTMLDocument.swift:28:17: remark: '@preconcurrency' attribute on module 'libxml2' is unused
@preconcurrency import libxml2
~~~~~~~~~~~~~~~~^
[7/9] Compiling Kanna Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
[8/9] Compiling Kanna CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: cannot find 'nonisolated' in scope
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:13: error: cannot find 'unsafe' in scope
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^~~~~~
[9/9] Compiling Kanna Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:1: error: expressions are not allowed at the top level
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:108:20: error: consecutive statements on a line must be separated by ';'
nonisolated(unsafe) private var regexDict: [String: AKRegularExpression] = [:]
^
;
error: fatalError
BUILD FAILURE 5.9 linux