Build Information
Failed to build SnapshotTestingStitch with Swift 6.0 (beta) for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sherlouk/swift-snapshot-testing-stitch.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/sherlouk/swift-snapshot-testing-stitch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a1c51ab Merge pull request #11 from MojtabaHs/docs/fix-typos
Cloned https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Revision (git rev-parse @):
a1c51ab705388cecee16ab80f6e0f4d1623595b1
SUCCESS checkout https://github.com/sherlouk/swift-snapshot-testing-stitch.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/alexey1312/SnapshotTestingHEIC.git
[1/150] Fetching snapshottestingheic
Fetched https://github.com/alexey1312/SnapshotTestingHEIC.git from cache (0.22s)
[1/11249] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.75s)
Computing version for https://github.com/alexey1312/SnapshotTestingHEIC.git
Computed https://github.com/alexey1312/SnapshotTestingHEIC.git at 1.2.1 (0.51s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.10.0 (0.54s)
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.10.0
Creating working copy for https://github.com/alexey1312/SnapshotTestingHEIC.git
Working copy of https://github.com/alexey1312/SnapshotTestingHEIC.git resolved at 1.2.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/34] Emitting module SnapshotTesting
[6/38] Compiling SnapshotTesting SpriteKit.swift
[7/38] Compiling SnapshotTesting String.swift
[8/38] Compiling SnapshotTesting SwiftUIView.swift
[9/38] Compiling SnapshotTesting UIBezierPath.swift
[10/38] Compiling SnapshotTesting String+SpecialCharacters.swift
[11/38] Compiling SnapshotTesting View.swift
[12/38] Compiling SnapshotTesting XCTAttachment.swift
[13/38] Compiling SnapshotTesting Diff.swift
[14/38] Compiling SnapshotTesting NSImage.swift
[15/38] Compiling SnapshotTesting NSView.swift
[16/38] Compiling SnapshotTesting NSViewController.swift
[17/38] Compiling SnapshotTesting SceneKit.swift
[18/38] Compiling SnapshotTesting Diffing.swift
[19/38] Compiling SnapshotTesting Wait.swift
[20/38] Compiling SnapshotTesting SnapshotTestCase.swift
[21/38] Compiling SnapshotTesting Snapshotting.swift
[22/38] Compiling SnapshotTesting Codable.swift
[23/38] Compiling SnapshotTesting Data.swift
[24/38] Compiling SnapshotTesting Description.swift
[25/38] Compiling SnapshotTesting NSBezierPath.swift
[26/38] Compiling SnapshotTesting UIImage.swift
[27/38] Compiling SnapshotTesting UIView.swift
[28/38] Compiling SnapshotTesting UIViewController.swift
[29/38] Compiling SnapshotTesting URLRequest.swift
[30/38] Compiling SnapshotTesting Any.swift
[31/38] Compiling SnapshotTesting CALayer.swift
[32/38] Compiling SnapshotTesting CGPath.swift
[33/38] Compiling SnapshotTesting CaseIterable.swift
[34/38] Compiling SnapshotTesting AssertInlineSnapshot.swift
[35/38] Compiling SnapshotTesting AssertSnapshot.swift
[36/38] Compiling SnapshotTesting Async.swift
[37/38] Compiling SnapshotTesting Internal.swift
[38/38] Compiling SnapshotTesting PlistEncoder.swift
[40/48] Compiling SnapshotTestingHEIC NSImage.swift
[41/48] Compiling SnapshotTestingHEIC UIImage+HEIC.swift
[42/49] Compiling SnapshotTestingHEIC UIImage.swift
[43/49] Compiling SnapshotTestingHEIC UIView.swift
[44/49] Compiling SnapshotTestingHEIC NSView.swift
[45/49] Compiling SnapshotTestingHEIC NSViewController.swift
[46/49] Emitting module SnapshotTestingHEIC
[47/49] Compiling SnapshotTestingHEIC CompressionQuality.swift
[48/49] Compiling SnapshotTestingHEIC NSImage+HEIC.swift
[49/49] Compiling SnapshotTestingHEIC UIViewController.swift
[51/56] Compiling SnapshotTestingStitch Snapshotting.swift
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/56] Compiling SnapshotTestingStitch ImageFormat.swift
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
[53/56] Emitting module SnapshotTestingStitch
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
[54/56] Compiling SnapshotTestingStitch Stitcher.swift
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
[55/56] Compiling SnapshotTestingStitch StitchTask.swift
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
[56/56] Compiling SnapshotTestingStitch StitchStyle.swift
/host/spi-builder-workspace/Sources/SnapshotTestingStitch/Snapshotting.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import SnapshotTesting
3 | import SnapshotTestingHEIC
BUILD FAILURE 6.0 linux