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 FormLogger, reference 1.0.3 (9f1dbf), with Swift 5.10 for macOS (SPM) on 13 Jun 2025 05:40:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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/markbattistella/FormLogger.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/FormLogger
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 9f1dbf6 2025-06-13
Cloned https://github.com/markbattistella/FormLogger.git
Revision (git rev-parse @):
9f1dbf6601d4e461af387882e59f89c562ae50d7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/FormLogger.git at 1.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/markbattistella/FormLogger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
[5/24] Compiling PlatformChecker PlatformChecker.swift
[6/24] Emitting module PlatformChecker
[7/24] Compiling PlatformChecker Platform.swift
[8/24] Compiling SimpleLogger Category+Network.swift
[9/24] Compiling SimpleLogger Category+Performance.swift
[10/25] Compiling SimpleLogger LoggerCategory.swift
[11/25] Compiling SimpleLogger Delimiter.swift
[12/25] Compiling SimpleLogger LoggerManager.swift
[13/25] Compiling SimpleLogger Category+Architecture.swift
[14/25] Compiling SimpleLogger Category+Miscellaneous.swift
[15/25] Emitting module SimpleLogger
[16/25] Compiling SimpleLogger Category+Persistence.swift
[17/25] Compiling SimpleLogger Category+Security.swift
[18/25] Compiling SimpleLogger Category+UI.swift
[19/25] Compiling SimpleLogger Category+Utilities.swift
[20/25] Compiling SimpleLogger Category+System.swift
[21/25] Compiling SimpleLogger Category+Testing.swift
[22/25] Compiling SimpleLogger Date+Ext.swift
[23/25] Compiling SimpleLogger LogLevel+Ext.swift
[24/25] Compiling SimpleLogger Logger+Ext.swift
[25/25] Compiling SimpleLogger AgnosticColor.swift
[26/44] Compiling FormLogger ProgressState.swift
[27/44] Compiling FormLogger Repository.swift
[28/44] Compiling FormLogger FormRequestBody.swift
[29/44] Compiling FormLogger FormType.swift
[30/44] Compiling FormLogger RepositoryResolver.swift
[31/44] Compiling FormLogger UserFormInput.swift
[32/45] Compiling FormLogger FormConfiguration.swift
[33/45] Compiling FormLogger Contact.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/45] Compiling FormLogger FormField.swift
[35/45] Compiling FormLogger Platform+Ext.swift
[36/45] Compiling FormLogger URLCode+Ext.swift
[37/45] Compiling FormLogger Date+Ext.swift
[38/45] Compiling FormLogger LoggerManager+Ext.swift
[39/45] Emitting module FormLogger
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(GzipError) -> Data {
            ^
            ;
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: expected declaration
    ) throws(GzipError) -> Data {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:10:1: note: in extension of 'Data'
extension Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:32:19: error: expected '{' in body of function declaration
    internal func gzipped(
                  ^
[40/45] Compiling FormLogger FormManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(GzipError) -> Data {
            ^
            ;
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: expected declaration
    ) throws(GzipError) -> Data {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:10:1: note: in extension of 'Data'
extension Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:309:64: warning: passing argument of non-sendable type '(any URLSessionTaskDelegate)?' outside of main actor-isolated context may introduce data races
        let (data, response) = try await URLSession.shared.data(for: request)
                                                               ^
Foundation.URLSessionTaskDelegate:2:17: note: protocol 'URLSessionTaskDelegate' does not conform to the 'Sendable' protocol
public protocol URLSessionTaskDelegate : URLSessionDelegate {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:352:76: error: cannot convert value of type 'Data' to expected argument type '()'
            let compressedLogs = try logs.data(using: .utf8)?.gzipped() ?? Data()
                                                                           ^
[41/45] Compiling FormLogger ClientMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(GzipError) -> Data {
            ^
            ;
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: expected declaration
    ) throws(GzipError) -> Data {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:10:1: note: in extension of 'Data'
extension Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:309:64: warning: passing argument of non-sendable type '(any URLSessionTaskDelegate)?' outside of main actor-isolated context may introduce data races
        let (data, response) = try await URLSession.shared.data(for: request)
                                                               ^
Foundation.URLSessionTaskDelegate:2:17: note: protocol 'URLSessionTaskDelegate' does not conform to the 'Sendable' protocol
public protocol URLSessionTaskDelegate : URLSessionDelegate {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/FormManager.swift:352:76: error: cannot convert value of type 'Data' to expected argument type '()'
            let compressedLogs = try logs.data(using: .utf8)?.gzipped() ?? Data()
                                                                           ^
[42/45] Compiling FormLogger FormResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Errors/GzipError.swift:67:43: error: type 'String' has no member 'init(validatingCString:)'
        self.message = msg.flatMap(String.init(validatingCString:)) ?? "Unknown gzip error"
                                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[43/45] Compiling FormLogger GzipError.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Errors/GzipError.swift:67:43: error: type 'String' has no member 'init(validatingCString:)'
        self.message = msg.flatMap(String.init(validatingCString:)) ?? "Unknown gzip error"
                                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[44/45] Compiling FormLogger Bundle+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(GzipError) -> Data {
            ^
            ;
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: expected declaration
    ) throws(GzipError) -> Data {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:10:1: note: in extension of 'Data'
extension Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:32:19: error: expected '{' in body of function declaration
    internal func gzipped(
                  ^
[45/45] Compiling FormLogger Data+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(GzipError) -> Data {
            ^
            ;
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:35:13: error: expected declaration
    ) throws(GzipError) -> Data {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:10:1: note: in extension of 'Data'
extension Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/FormLogger/Extensions/Data+Ext.swift:32:19: error: expected '{' in body of function declaration
    internal func gzipped(
                  ^
error: fatalError
Fetching https://github.com/markbattistella/SimpleLogger
Fetching https://github.com/markbattistella/PlatformChecker
[1/97] Fetching simplelogger
[98/156] Fetching simplelogger, platformchecker
Fetched https://github.com/markbattistella/PlatformChecker from cache (1.02s)
Fetched https://github.com/markbattistella/SimpleLogger from cache (1.02s)
Computing version for https://github.com/markbattistella/PlatformChecker
warning: 'platformchecker': /Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
        .iOS(.v10),
              ^
Computed https://github.com/markbattistella/PlatformChecker at 1.1.0 (0.38s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 1.2.0 (0.37s)
Creating working copy for https://github.com/markbattistella/PlatformChecker
Working copy of https://github.com/markbattistella/PlatformChecker resolved at 1.1.0
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 1.2.0
warning: 'platformchecker': /Users/admin/builder/spi-builder-workspace/.build/checkouts/PlatformChecker/Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
        .iOS(.v10),
              ^
BUILD FAILURE 5.10 macosSpm