The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIViewInspector 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/tadelv/SwiftUIViewInspector.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/tadelv/SwiftUIViewInspector
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 0779869 Merge pull request #9 from tadelv/erikdrobne-patch-2
Cloned https://github.com/tadelv/SwiftUIViewInspector.git
Revision (git rev-parse @):
0779869f8e77098475c455ce08195760b106622d
SUCCESS checkout https://github.com/tadelv/SwiftUIViewInspector.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/tadelv/SwiftUIViewInspector.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
[3/7] Compiling SwiftUIViewInspector TouchTransparentView.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/TouchTransparentView.swift:28:18: warning: input handling on macOS not implemented yet
        #warning("input handling on macOS not implemented yet")
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/7] Compiling SwiftUIViewInspector InspectionViewCoordinator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module SwiftUIViewInspector
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
    func inspectable() -> some View {
                               ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
                 ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentable = NSViewRepresentable
                                      ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentableContext = NSViewRepresentableContext
                                             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: add @available attribute to enclosing struct
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/TouchTransparentView.swift:28:18: warning: input handling on macOS not implemented yet
        #warning("input handling on macOS not implemented yet")
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/7] Compiling SwiftUIViewInspector Inspectable.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
    func inspectable() -> some View {
                               ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
                 ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:14:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
            .overlay(view)
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:14:14: note: add 'if #available' version check
            .overlay(view)
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: error: 'modifier' is only available in macOS 10.15 or newer
            .modifier(Inspectable())
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: note: add 'if #available' version check
            .modifier(Inspectable())
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
[7/7] Compiling SwiftUIViewInspector InspectionView.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentable = NSViewRepresentable
                                      ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentableContext = NSViewRepresentableContext
                                             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: add @available attribute to enclosing struct
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct InspectionView: PlatformViewRepresentable {
       ^
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/4] Emitting module SwiftUIViewInspector
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
    func inspectable() -> some View {
                               ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
                 ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentable = NSViewRepresentable
                                      ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentableContext = NSViewRepresentableContext
                                             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: add @available attribute to enclosing struct
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/TouchTransparentView.swift:28:18: warning: input handling on macOS not implemented yet
        #warning("input handling on macOS not implemented yet")
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/4] Compiling SwiftUIViewInspector Inspectable.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
    func inspectable() -> some View {
                               ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
                 ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:14:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
            .overlay(view)
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:14:14: note: add 'if #available' version check
            .overlay(view)
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12: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/SwiftUIViewInspector/Inspectable.swift:10:15: note: add @available attribute to enclosing struct
public struct Inspectable: ViewModifier {
              ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: error: 'modifier' is only available in macOS 10.15 or newer
            .modifier(Inspectable())
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: note: add 'if #available' version check
            .modifier(Inspectable())
             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:10: note: add @available attribute to enclosing instance method
    func inspectable() -> some View {
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:8: note: add @available attribute to enclosing extension
public extension View {
       ^
[4/4] Compiling SwiftUIViewInspector InspectionView.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentable = NSViewRepresentable
                                      ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
typealias PlatformViewRepresentableContext = NSViewRepresentableContext
                                             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: add @available attribute to enclosing struct
struct InspectionView: PlatformViewRepresentable {
       ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:27:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct InspectionView: PlatformViewRepresentable {
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7