Build Information
Failed to build PermissionsSwiftUI with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jevonmao/PermissionsSwiftUI.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jevonmao/PermissionsSwiftUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at da581a2 Use iOS 14 photo permission api (#154)
Cloned https://github.com/jevonmao/PermissionsSwiftUI.git
Revision (git rev-parse @):
da581a2f02fb69e9c974631fb7a79290282f43c3
SUCCESS checkout https://github.com/jevonmao/PermissionsSwiftUI.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/jevonmao/PermissionsSwiftUI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/siteline/SwiftUI-Introspect
[1/8523] Fetching swiftui-introspect
[8524/19455] Fetching swiftui-introspect, swift-snapshot-testing
Fetched https://github.com/siteline/SwiftUI-Introspect from cache (0.42s)
[1094/10932] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.80s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.15.3 (0.43s)
Fetching https://github.com/apple/swift-syntax.git
[1/57633] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.25s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.66s)
Computing version for https://github.com/siteline/SwiftUI-Introspect
Computed https://github.com/siteline/SwiftUI-Introspect at 0.12.0 (0.45s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.15.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/siteline/SwiftUI-Introspect
Working copy of https://github.com/siteline/SwiftUI-Introspect resolved at 0.12.0
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tsts/PermissionsSwiftUITests/__Snapshots__': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tsts/PermissionsSwiftUITests/__Snapshots__': File not found.
Building for debugging...
[0/31] Write sources
[6/31] Copying Localizable.strings
[6/31] Write sources
[6/31] Copying Localizable.strings
[6/31] Copying Info.plist
[6/31] Write sources
[6/31] Copying Localizable.strings
[6/31] Write sources
[23/31] Copying Localizable.strings
[30/31] Write swift-version-24593BA9C3E375BF.txt
[32/37] Compiling Introspect ViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/37] Compiling Introspect UIKitIntrospectionViewController.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[34/37] Compiling Introspect UIKitIntrospectionView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/37] Emitting module Introspect
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[36/37] Compiling Introspect Introspect.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[37/37] Compiling Introspect AppKitIntrospectionView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tsts/PermissionsSwiftUITests/__Snapshots__': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tsts/PermissionsSwiftUITests/__Snapshots__': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Introspect UIKitIntrospectionViewController.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/7] Compiling Introspect ViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/7] Compiling Introspect UIKitIntrospectionView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Introspect
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/7] Compiling Introspect AppKitIntrospectionView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/7] Compiling Introspect Introspect.swift
/host/spi-builder-workspace/.build/checkouts/SwiftUI-Introspect/Introspect/Introspect.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.10 linux