The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ReerJSON, reference main (8a817d), with Swift 5.10 for macOS (SPM) on 10 Sep 2025 06:57:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reers/ReerJSON.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reers/ReerJSON
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8a817dc fix readme
Cloned https://github.com/reers/ReerJSON.git
Revision (git rev-parse @):
8a817dc19395c36754943e419f8dd750025288a0
SUCCESS checkout https://github.com/reers/ReerJSON.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/reers/ReerJSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-33747A42983211AE.txt
[2/6] Compiling localtime.c
[3/6] Compiling JJLISO8601DateFormatter JJLInternal.c
[4/6] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[5/6] Compiling yyjson.c
[7/12] Compiling ReerJSON Utilities.swift
[8/12] Compiling ReerJSON LockedState.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReerJSON/LockedState.swift:14:1: error: Access level on imports require '-enable-experimental-feature AccessLevelOnImport'
internal import os
^~~~~~~~~
[9/12] Compiling ReerJSON ReerJSONDecoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Compiling ReerJSON JSON.swift
[11/12] Compiling ReerJSON JSONDecoderImpl.swift
[12/12] Emitting module ReerJSON
/Users/admin/builder/spi-builder-workspace/Sources/ReerJSON/LockedState.swift:14:1: error: Access level on imports require '-enable-experimental-feature AccessLevelOnImport'
internal import os
^~~~~~~~~
error: fatalError
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter.git
[1/4244] Fetching yyjson
[341/5106] Fetching yyjson, jjliso8601dateformatter
Fetched https://github.com/ibireme/yyjson.git from cache (2.65s)
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter.git from cache (2.65s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter.git
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter.git at 0.1.8 (2.32s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.44s)
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/michaeleisel/JJLISO8601DateFormatter.git
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter.git resolved at 0.1.8
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/ReerJSONTests/Info.plist
    /Users/admin/builder/spi-builder-workspace/Tests/ReerJSONTests/Models/json_to_swift.rb
    /Users/admin/builder/spi-builder-workspace/Tests/ReerJSONTests/Models/instruments.json
BUILD FAILURE 5.10 macosSpm