The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PListKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/PListKit.git
Reference: 2.0.2
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
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at f7e1c56 Updated GitHub CI
Cloned https://github.com/orchetect/PListKit.git
Revision (git rev-parse @):
f7e1c56ac2907b9812803722cc63c115fe29e325
SUCCESS checkout https://github.com/orchetect/PListKit.git at 2.0.2
========================================
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-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 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 RawPListDictionary.swift
[5/24] Compiling PListKit Utilities.swift
[6/24] Compiling PListKit PListLoadError.swift
[7/24] Compiling PListKit AnyPList.swift
[8/24] Compiling PListKit ArrayPList.swift
[9/24] Compiling PListKit PListDictionary Subscripts.swift
[10/24] Compiling PListKit PListDictionary.swift
[11/24] Compiling PListKit PListProtocol init.swift
[12/24] Compiling PListKit PListFormat.swift
[13/24] Compiling PListKit RawPListArray.swift
[14/24] Compiling PListKit DictionaryPList.swift
[15/24] Compiling PListKit PList.swift
[16/24] Compiling PListKit PListArray Subscripts.swift
[17/24] Compiling PListKit PListProtocol.swift
[18/24] Compiling PListKit PListValue.swift
[19/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[20/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[21/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[22/24] Compiling PListKit PListArray.swift
[23/24] Compiling PListKit PListDictionary Keys.swift
[24/24] Compiling PListKit PListDictionary PListNode.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] 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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[3/5] Compiling PListKit PListProtocol read.swift
[4/15] Compiling PListKit PListProtocol rawData.swift
[5/15] Emitting module PListKit
[6/17] Compiling PListKit PListProtocol.swift
[7/17] Compiling PListKit PListProtocol init.swift
[8/17] Compiling PListKit PListValue.swift
[9/17] Compiling PListKit Utilities.swift
[10/17] Compiling PListKit PListArray Subscripts.swift
[11/17] Compiling PListKit PListDictionary Keys.swift
[12/17] Compiling PListKit DictionaryPList.swift
[13/17] Compiling PListKit PList.swift
[14/17] Compiling PListKit AnyPList.swift
[15/17] Compiling PListKit ArrayPList.swift
[16/17] Compiling PListKit PListDictionary PListNode.swift
[17/17] Compiling PListKit PListDictionary Subscripts.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2