Build Information
Failed to build PListKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/PListKit.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/orchetect/PListKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a22347f Updated README
Cloned https://github.com/orchetect/PListKit.git
Revision (git rev-parse @):
a22347f313c556119475daf7c37a273d470c8958
SUCCESS checkout https://github.com/orchetect/PListKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/orchetect/PListKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/20] Emitting module PListKit
[2/22] Compiling PListKit RawPListDictionary.swift
[3/22] Compiling PListKit Utilities.swift
[4/22] Compiling PListKit PListDictionary Subscripts.swift
[5/22] Compiling PListKit PListDictionary.swift
[6/22] Compiling PListKit PListProtocol init.swift
[7/22] Compiling PListKit PListProtocol rawData.swift
/host/spi-builder-workspace/Sources/PListKit/PListProtocol/PListProtocol save.swift:56:48: error: type 'PropertyListSerialization' has no member 'writePropertyList'
let result = PropertyListSerialization.writePropertyList(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[8/22] Compiling PListKit PListProtocol read.swift
/host/spi-builder-workspace/Sources/PListKit/PListProtocol/PListProtocol save.swift:56:48: error: type 'PropertyListSerialization' has no member 'writePropertyList'
let result = PropertyListSerialization.writePropertyList(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[9/22] Compiling PListKit PListProtocol save.swift
/host/spi-builder-workspace/Sources/PListKit/PListProtocol/PListProtocol save.swift:56:48: error: type 'PropertyListSerialization' has no member 'writePropertyList'
let result = PropertyListSerialization.writePropertyList(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[10/22] Compiling PListKit PListArray.swift
[11/22] Compiling PListKit PListDictionary Keys.swift
[12/22] Compiling PListKit PListDictionary PListNode.swift
[13/22] Compiling PListKit PListFormat.swift
[14/22] Compiling PListKit RawPListArray.swift
[15/22] Compiling PListKit DictionaryPList.swift
[16/22] Compiling PListKit PList.swift
[17/22] Compiling PListKit PListArray Subscripts.swift
[18/22] Compiling PListKit PListLoadError.swift
[19/22] Compiling PListKit AnyPList.swift
[20/22] Compiling PListKit ArrayPList.swift
[21/22] Compiling PListKit PListProtocol.swift
[22/22] Compiling PListKit PListValue.swift
error: fatalError
BUILD FAILURE 5.9 linux