The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AllConstants with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edsonlima19/Constants.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/edsonlima19/Constants.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AllConstants
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
              ^
[4/4] Compiling AllConstants AllConstants.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module AllConstants
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AllConstants/AllConstants.swift:88:15: note: add @available attribute to enclosing struct
public struct AllPadding: ViewModifier {
              ^
[3/3] Compiling AllConstants AllConstants.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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.10 macosSpm