Build Information
Failed to build UniYAML, reference master (1628bc), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 20:45:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/seznam/swift-uniyaml.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/seznam/swift-uniyaml
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1628bc6 Update README.md.
Cloned https://github.com/seznam/swift-uniyaml.git
Revision (git rev-parse @):
1628bc64f558f0f43c3126c5da1b5e99ecebd129
SUCCESS checkout https://github.com/seznam/swift-uniyaml.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/seznam/swift-uniyaml.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Compiling UniYAML YAML.swift
/Users/admin/builder/spi-builder-workspace/Sources/UniYAML/YAML.swift:218:12: error: cannot assign to property: 'key' is a 'let' constant
34 | let indent: Int
35 | var type: YAMLType
36 | let key: String?
| `- note: change 'let' to 'var' to make it mutable
37 | let tag: String?
38 | var value: Any?
:
216 | return nil
217 | }
218 | obj[k]!.key = k
| `- error: cannot assign to property: 'key' is a 'let' constant
219 | }
220 | indent = 0
[4/6] Compiling UniYAML Encoder.swift
[5/6] Compiling UniYAML Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/UniYAML/Decoder.swift:58:9: warning: variable 'anchor' was written to, but never read
56 | }
57 | var key: String?
58 | var anchor: String?
| `- warning: variable 'anchor' was written to, but never read
59 | var tag: String?
60 | var value: String?
[6/6] Emitting module UniYAML
BUILD FAILURE 6.2 macosSpm