Build Information
Failed to build AllConstants with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edsonlima19/Constants.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/edsonlima19/Constants
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8ffa11a first version
Cloned https://github.com/edsonlima19/Constants.git
Revision (git rev-parse @):
8ffa11a149439bd7b488d365d86d0341afbb340f
SUCCESS checkout https://github.com/edsonlima19/Constants.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "constants",
"name": "AllConstants",
"url": "https://github.com/edsonlima19/Constants.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Constants",
"dependencies": [
]
}
]
}
Fetching https://github.com/edsonlima19/Constants.git
[1/22] Fetching constants
Fetched https://github.com/edsonlima19/Constants.git (0.32s)
Creating working copy for https://github.com/edsonlima19/Constants.git
Working copy of https://github.com/edsonlima19/Constants.git resolved at main
warning: '.resolve-product-dependencies': dependency 'constants' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AllConstants
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
[2/2] Compiling AllConstants AllConstants.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:92:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.top, DesignConstant.Padding.topPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:93:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, DesignConstant.Padding.bottomPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:94:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.leading, DesignConstant.Padding.leadingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:95:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.trailing, DesignConstant.Padding.trailingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:95:14: note: add 'if #available' version check
.padding(.trailing, DesignConstant.Padding.trailingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AllConstants
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
[2/2] Compiling AllConstants AllConstants.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:92:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.top, DesignConstant.Padding.topPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:93:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, DesignConstant.Padding.bottomPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:94:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.leading, DesignConstant.Padding.leadingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:95:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.trailing, DesignConstant.Padding.trailingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:95:14: note: add 'if #available' version check
.padding(.trailing, DesignConstant.Padding.trailingPadding)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm