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 BuildEnvironment, reference master (ecef65), with Swift 6.0 for macOS (SPM) on 31 May 2025 11:28:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DimaRU/BuildEnvironment.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DimaRU/BuildEnvironment
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ecef652 Fix bug: encoding emptry string.
Cloned https://github.com/DimaRU/BuildEnvironment.git
Revision (git rev-parse @):
ecef6529c9bf3be2fb1569f19ee0b85cfb7d0a12
SUCCESS checkout https://github.com/DimaRU/BuildEnvironment.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/DimaRU/BuildEnvironment.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write BuildEnvGenerator-tool-entitlement.plist
[2/6] Write swift-version-5BDAB9E9C0126B9D.txt
[4/11] Compiling BuildEnvGenerator DictionaryExtensions.swift
[5/11] Compiling BuildEnvGenerator GetArgument.swift
[6/11] Compiling BuildEnvGenerator stderror.swift
[7/11] Compiling BuildEnvGenerator BuildEnvGenerator.swift
[8/11] Emitting module BuildEnvGenerator
[8/11] Write Objects.LinkFileList
[9/11] Linking BuildEnvGenerator-tool
[10/11] Applying BuildEnvGenerator-tool
Build of product 'BuildEnvGenerator' complete! (4.84s)
[1/1] Compiling plugin BuildEnvPlugin
Building for debugging...
[1/13] Write sources
[1/13] Write BuildEnvExample-entitlement.plist
[3/13] Write BuildEnvGenerator-entitlement.plist
[4/13] Write swift-version-5BDAB9E9C0126B9D.txt
Error in line 12 of /Users/admin/builder/spi-builder-workspace/buildenv.config: no environment variable USER
[5/13] Generating BuildEnvPlugin
BUILD FAILURE 6.0 macosSpm