The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UniYAML, reference master (1628bc), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 17:36:37 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-uniyaml",
      "name": "UniYAML",
      "url": "https://github.com/seznam/swift-uniyaml.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uniyaml",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/seznam/swift-uniyaml.git
[1/213] Fetching swift-uniyaml
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.73s)
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at master (1628bc6)
warning: '.resolve-product-dependencies': dependency 'swift-uniyaml' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/seznam/swift-uniyaml.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/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?
[4/6] Compiling UniYAML Encoder.swift
[5/6] Emitting module UniYAML
[6/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
BUILD FAILURE 6.3 macosSpm