Build Information
Failed to build IdylleClient with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Digipolitan/idylle-client-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Digipolitan/idylle-client-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 92dc330 Merge branch 'release/1.0.5'
Cloned https://github.com/Digipolitan/idylle-client-swift.git
Revision (git rev-parse @):
92dc3302b7ce6fd4a5e391f5fb9da1914be39a2d
SUCCESS checkout https://github.com/Digipolitan/idylle-client-swift.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "idylle-client-swift",
"name": "IdylleClient",
"url": "https://github.com/Digipolitan/idylle-client-swift.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/idylle-client-swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/Digipolitan/idylle-client-swift.git
[1/243] Fetching idylle-client-swift
Fetched https://github.com/Digipolitan/idylle-client-swift.git (0.35s)
Creating working copy for https://github.com/Digipolitan/idylle-client-swift.git
Working copy of https://github.com/Digipolitan/idylle-client-swift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'idylle-client-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module IdylleClient
[2/2] Compiling IdylleClient CriteriaBuilder.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:53:37: error: cannot find 'JSONSerialization' in scope
let criteriaData = try? JSONSerialization.data(withJSONObject: criteriaClause),
^~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: extra argument 'encoding' in call
let criteria = String(data: criteriaData, encoding: .utf8) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: cannot infer contextual base in reference to member 'utf8'
let criteria = String(data: criteriaData, encoding: .utf8) else {
~^~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module IdylleClient
[2/2] Compiling IdylleClient CriteriaBuilder.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:53:37: error: cannot find 'JSONSerialization' in scope
let criteriaData = try? JSONSerialization.data(withJSONObject: criteriaClause),
^~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: extra argument 'encoding' in call
let criteria = String(data: criteriaData, encoding: .utf8) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: cannot infer contextual base in reference to member 'utf8'
let criteria = String(data: criteriaData, encoding: .utf8) else {
~^~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm