Build Information
Failed to build AllConstants, reference main (8ffa11), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 19:22:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edsonlima19/Constants.git
Reference: main
Initialized empty Git repository in /Users/admin/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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "constants",
"name": "AllConstants",
"url": "https://github.com/edsonlima19/Constants.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Constants",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/edsonlima19/Constants.git
[1/22] Fetching constants
Fetched https://github.com/edsonlima19/Constants.git from cache (0.56s)
Creating working copy for https://github.com/edsonlima19/Constants.git
Working copy of https://github.com/edsonlima19/Constants.git resolved at main (8ffa11a)
warning: '.resolve-product-dependencies': dependency 'constants' 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/edsonlima19/Constants.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AllConstants
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
[4/4] Compiling AllConstants AllConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:90:48: error: 'View' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:92:14: error: 'padding' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .padding(.bottom, DesignConstant.Padding.bottomPadding)
94 | .padding(.leading, DesignConstant.Padding.leadingPadding)
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:93:14: error: 'padding' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
93 | .padding(.bottom, DesignConstant.Padding.bottomPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | .padding(.leading, DesignConstant.Padding.leadingPadding)
95 | .padding(.trailing, DesignConstant.Padding.trailingPadding)
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:94:14: error: 'padding' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
93 | .padding(.bottom, DesignConstant.Padding.bottomPadding)
94 | .padding(.leading, DesignConstant.Padding.leadingPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .padding(.trailing, DesignConstant.Padding.trailingPadding)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:95:14: error: 'padding' is only available in macOS 10.15 or newer
86 | - Example: .modifier(AllPadding())
87 | */
88 | public struct AllPadding: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
89 | public init() {}
90 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | content
92 | .padding(.top, DesignConstant.Padding.topPadding)
93 | .padding(.bottom, DesignConstant.Padding.bottomPadding)
94 | .padding(.leading, DesignConstant.Padding.leadingPadding)
95 | .padding(.trailing, DesignConstant.Padding.trailingPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 | }
BUILD FAILURE 6.3 macosSpm