The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PListKit with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
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 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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/20] Emitting module PListKit
[2/22] Compiling PListKit PListLoadError.swift
[3/22] Compiling PListKit AnyPList.swift
[4/22] Compiling PListKit ArrayPList.swift
[5/22] Compiling PListKit PListDictionary Subscripts.swift
[6/22] Compiling PListKit PListDictionary.swift
[7/22] Compiling PListKit PListProtocol init.swift
[8/22] Compiling PListKit PListFormat.swift
[9/22] Compiling PListKit RawPListArray.swift
[10/22] Compiling PListKit PListArray.swift
[11/22] Compiling PListKit PListDictionary Keys.swift
[12/22] Compiling PListKit PListDictionary PListNode.swift
[13/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[14/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[15/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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[16/22] Compiling PListKit DictionaryPList.swift
[17/22] Compiling PListKit PList.swift
[18/22] Compiling PListKit PListArray Subscripts.swift
[19/22] Compiling PListKit PListProtocol.swift
[20/22] Compiling PListKit PListValue.swift
[21/22] Compiling PListKit RawPListDictionary.swift
[22/22] Compiling PListKit Utilities.swift
[0/1] Planning build
Building for debugging...
[1/4] 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(
                     ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
[2/4] Compiling PListKit PListProtocol read.swift
[3/4] Emitting module PListKit
[4/4] Compiling PListKit PListProtocol rawData.swift
[5/15] Compiling PListKit PListProtocol init.swift
[6/15] Compiling PListKit PListProtocol.swift
[7/15] Compiling PListKit PListValue.swift
[8/15] Compiling PListKit PListArray Subscripts.swift
[9/15] Compiling PListKit PListDictionary Keys.swift
[10/15] Compiling PListKit PListDictionary Subscripts.swift
[11/15] Compiling PListKit AnyPList.swift
[12/15] Compiling PListKit ArrayPList.swift
[13/15] Compiling PListKit DictionaryPList.swift
[14/15] Compiling PListKit PList.swift
[15/15] Compiling PListKit PListDictionary PListNode.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2