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 RemoteImage, reference main (7aa6d7), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 23:39:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/RemoteImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/RemoteImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7aa6d7a refactor : CacheManager class -> actor
Cloned https://github.com/insub4067/RemoteImage.git
Revision (git rev-parse @):
7aa6d7a252b49c9a4385fd8ce9b7e2b05a70397f
SUCCESS checkout https://github.com/insub4067/RemoteImage.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",
  "dependencies": [
    {
      "identity": "remoteimage",
      "name": "RemoteImage",
      "url": "https://github.com/insub4067/RemoteImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RemoteImage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/insub4067/RemoteImage.git
[1/156] Fetching remoteimage
Fetched https://github.com/insub4067/RemoteImage.git from cache (0.68s)
Creating working copy for https://github.com/insub4067/RemoteImage.git
Working copy of https://github.com/insub4067/RemoteImage.git resolved at main (7aa6d7a)
warning: '.resolve-product-dependencies': dependency 'remoteimage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/insub4067/RemoteImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling RemoteImage UIImageView+remoteImage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module RemoteImage
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:20:32: error: cannot find type 'UIImage' in scope
18 |     private let placeholder: Placeholder
19 |
20 |     @State private  var image: UIImage? = .none
   |                                `- error: cannot find type 'UIImage' in scope
21 |
22 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:13:27: error: cannot find 'GetImageUseCase' in scope
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
12 |
13 |     private let useCase = GetImageUseCase()
   |                           `- error: cannot find 'GetImageUseCase' in scope
14 |
15 |     private let url: URL?
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:16:28: error: cannot find type 'RemoteImageParamter' in scope
14 |
15 |     private let url: URL?
16 |     private let parameter: RemoteImageParamter
   |                            `- error: cannot find type 'RemoteImageParamter' in scope
17 |     private let content: (Image) -> Content
18 |     private let placeholder: Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:17:27: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
15 |     private let url: URL?
16 |     private let parameter: RemoteImageParamter
17 |     private let content: (Image) -> Content
   |                           `- error: 'Image' is only available in macOS 10.15 or newer
18 |     private let placeholder: Placeholder
19 |
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
18 |     private let placeholder: Placeholder
19 |
20 |     @State private  var image: UIImage? = .none
   |      `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:24:20: error: cannot find type 'RemoteImageParamter' in scope
22 |     public init(
23 |         _ url: URL?,
24 |         parameter: RemoteImageParamter = .init(),
   |                    `- error: cannot find type 'RemoteImageParamter' in scope
25 |         content: @escaping (Image) -> Content,
26 |         placeholder: () -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:25:29: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
20 |     @State private  var image: UIImage? = .none
21 |
22 |     public init(
   |            `- note: add @available attribute to enclosing initializer
23 |         _ url: URL?,
24 |         parameter: RemoteImageParamter = .init(),
25 |         content: @escaping (Image) -> Content,
   |                             `- error: 'Image' is only available in macOS 10.15 or newer
26 |         placeholder: () -> Placeholder
27 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:34:27: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 |         Group {
36 |             if let image {
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:11:36: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:11:55: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               |                                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
[5/11] Compiling RemoteImage CacheManager.swift
[6/11] Compiling RemoteImage GetImageUseCase.swift
[7/11] Compiling RemoteImage UIImage+.swift
[8/11] Compiling RemoteImage MemoryManager.swift
[9/11] Compiling RemoteImage DiskManager.swift
[10/11] Compiling RemoteImage ImageCacheable.swift
[11/11] Compiling RemoteImage RemoteImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:20:32: error: cannot find type 'UIImage' in scope
18 |     private let placeholder: Placeholder
19 |
20 |     @State private  var image: UIImage? = .none
   |                                `- error: cannot find type 'UIImage' in scope
21 |
22 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:13:27: error: cannot find 'GetImageUseCase' in scope
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
12 |
13 |     private let useCase = GetImageUseCase()
   |                           `- error: cannot find 'GetImageUseCase' in scope
14 |
15 |     private let url: URL?
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:16:28: error: cannot find type 'RemoteImageParamter' in scope
14 |
15 |     private let url: URL?
16 |     private let parameter: RemoteImageParamter
   |                            `- error: cannot find type 'RemoteImageParamter' in scope
17 |     private let content: (Image) -> Content
18 |     private let placeholder: Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:17:27: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
15 |     private let url: URL?
16 |     private let parameter: RemoteImageParamter
17 |     private let content: (Image) -> Content
   |                           `- error: 'Image' is only available in macOS 10.15 or newer
18 |     private let placeholder: Placeholder
19 |
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
18 |     private let placeholder: Placeholder
19 |
20 |     @State private  var image: UIImage? = .none
   |      `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:24:20: error: cannot find type 'RemoteImageParamter' in scope
22 |     public init(
23 |         _ url: URL?,
24 |         parameter: RemoteImageParamter = .init(),
   |                    `- error: cannot find type 'RemoteImageParamter' in scope
25 |         content: @escaping (Image) -> Content,
26 |         placeholder: () -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:25:29: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
20 |     @State private  var image: UIImage? = .none
21 |
22 |     public init(
   |            `- note: add @available attribute to enclosing initializer
23 |         _ url: URL?,
24 |         parameter: RemoteImageParamter = .init(),
25 |         content: @escaping (Image) -> Content,
   |                             `- error: 'Image' is only available in macOS 10.15 or newer
26 |         placeholder: () -> Placeholder
27 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:34:27: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 |         Group {
36 |             if let image {
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:11:36: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:11:55: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 15.0, *)
11 | public struct RemoteImage<Content: View, Placeholder: View>: View {
   |               |                                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |
13 |     private let useCase = GetImageUseCase()
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/UI/RemoteImage.swift:35:9: error: no exact matches in call to initializer
33 |
34 |     public var body: some View {
35 |         Group {
   |         `- error: no exact matches in call to initializer
36 |             if let image {
   |             |- note: closure containing control flow statement cannot be used with result builder 'AccessibilityRotorContentBuilder'
   |             `- note: closure containing control flow statement cannot be used with result builder 'SceneBuilder'
37 |                 content(Image(uiImage: image))
38 |             } else {
BUILD FAILURE 6.0 macosSpm