Build Information
Failed to build PListKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $workDir
https://github.com/orchetect/PListKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/22] Emitting module PListKit
[4/24] Compiling PListKit PListDictionary Subscripts.swift
[5/24] Compiling PListKit PListDictionary.swift
[6/24] Compiling PListKit PListProtocol init.swift
[7/24] Compiling PListKit PListLoadError.swift
[8/24] Compiling PListKit AnyPList.swift
[9/24] Compiling PListKit ArrayPList.swift
[10/24] Compiling PListKit PListFormat.swift
[11/24] Compiling PListKit RawPListArray.swift
[12/24] Compiling PListKit PListProtocol.swift
[13/24] Compiling PListKit PListValue.swift
[14/24] 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(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[15/24] 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(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[16/24] 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(
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[17/24] Compiling PListKit RawPListDictionary.swift
[18/24] Compiling PListKit Utilities.swift
[19/24] Compiling PListKit DictionaryPList.swift
[20/24] Compiling PListKit PList.swift
[21/24] Compiling PListKit PListArray Subscripts.swift
[22/24] Compiling PListKit PListArray.swift
[23/24] Compiling PListKit PListDictionary Keys.swift
[24/24] Compiling PListKit PListDictionary PListNode.swift
error: fatalError
BUILD FAILURE 5.10 linux