The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OnboardingKit, reference 1.5.0 (1b8dad), with Swift 6.1 for Wasm on 28 May 2025 05:27:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Gerzer/OnboardingKit.git
Reference: 1.5.0
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/Gerzer/OnboardingKit
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 1b8dad5 Add `Once` condition
Cloned https://github.com/Gerzer/OnboardingKit.git
Revision (git rev-parse @):
1b8dad5b3c81f65504e420250baca35b3bcd4d3f
SUCCESS checkout https://github.com/Gerzer/OnboardingKit.git at 1.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Gerzer/OnboardingKit.git
https://github.com/Gerzer/OnboardingKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OnboardingKit",
  "name" : "OnboardingKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "OnboardingKit",
      "targets" : [
        "OnboardingKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OnboardingKit",
      "module_type" : "SwiftTarget",
      "name" : "OnboardingKit",
      "path" : "Sources/OnboardingKit",
      "product_memberships" : [
        "OnboardingKit"
      ],
      "sources" : [
        "OnboardingCondition.swift",
        "OnboardingEvent.swift",
        "OnboardingFlags.swift",
        "OnboardingKit.swift",
        "OnboardingManager.swift",
        "OnboardingTrigger.swift",
        "OptionalProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling OnboardingKit OptionalProtocol.swift
[4/10] Compiling OnboardingKit OnboardingTrigger.swift
[5/10] Compiling OnboardingKit OnboardingKit.swift
[6/10] Compiling OnboardingKit OnboardingManager.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
[7/10] Compiling OnboardingKit OnboardingFlags.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
[8/10] Compiling OnboardingKit OnboardingEvent.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Compiling OnboardingKit OnboardingCondition.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:39:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
 37 | 	public struct ColdLaunch: RegistrableOnboardingCondition {
 38 |
 39 | 		public static let triggers: Set<OnboardingTrigger> = [.launch]
    |                     |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 | 		private static let defaultsKey = "ColdLaunchCount"
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
 7 |
 8 | /// Supported triggers for checking onboarding events.
 9 | public enum OnboardingTrigger {
   |             `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | 	case launch, manual
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:43:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 | 		private static let defaultsKey = "ColdLaunchCount"
 42 |
 43 | 		private static var registered = false
    |                      |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:110:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | 		}
109 |
110 | 		public static let triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
 7 |
 8 | /// Supported triggers for checking onboarding events.
 9 | public enum OnboardingTrigger {
   |             `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | 	case launch, manual
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:169:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 | 	public struct Once: OnboardingCondition {
168 |
169 | 		public static var triggers: Set<OnboardingTrigger> = [.launch]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:196:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
194 | 	@available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct TimeSinceFirstLaunch: RegistrableOnboardingCondition {
195 |
196 | 		public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | 		private static let defaultsKey = "FirstLaunch"
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:200:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
198 | 		private static let defaultsKey = "FirstLaunch"
199 |
200 | 		private static var registered = false
    |                      |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:242:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 | 	@available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct AfterDate: OnboardingCondition {
241 |
242 | 		public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:265:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | 	public struct Conjunction: RegistrableOnboardingCondition {
264 |
265 | 		public static var triggers: Set<OnboardingTrigger> = .all
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:298:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 | 	public struct Disjunction: RegistrableOnboardingCondition {
297 |
298 | 		public static var triggers: Set<OnboardingTrigger> = .all
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | 		public var isSatisfied: Bool {
[10/10] Emitting module OnboardingKit
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:39:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
 37 | 	public struct ColdLaunch: RegistrableOnboardingCondition {
 38 |
 39 | 		public static let triggers: Set<OnboardingTrigger> = [.launch]
    |                     |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 | 		private static let defaultsKey = "ColdLaunchCount"
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
 7 |
 8 | /// Supported triggers for checking onboarding events.
 9 | public enum OnboardingTrigger {
   |             `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | 	case launch, manual
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:43:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 | 		private static let defaultsKey = "ColdLaunchCount"
 42 |
 43 | 		private static var registered = false
    |                      |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:110:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | 		}
109 |
110 | 		public static let triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
 7 |
 8 | /// Supported triggers for checking onboarding events.
 9 | public enum OnboardingTrigger {
   |             `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | 	case launch, manual
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:169:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 | 	public struct Once: OnboardingCondition {
168 |
169 | 		public static var triggers: Set<OnboardingTrigger> = [.launch]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:196:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
194 | 	@available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct TimeSinceFirstLaunch: RegistrableOnboardingCondition {
195 |
196 | 		public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | 		private static let defaultsKey = "FirstLaunch"
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:200:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
198 | 		private static let defaultsKey = "FirstLaunch"
199 |
200 | 		private static var registered = false
    |                      |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:242:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 | 	@available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct AfterDate: OnboardingCondition {
241 |
242 | 		public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:265:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | 	public struct Conjunction: RegistrableOnboardingCondition {
264 |
265 | 		public static var triggers: Set<OnboardingTrigger> = .all
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:298:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 | 	public struct Disjunction: RegistrableOnboardingCondition {
297 |
298 | 		public static var triggers: Set<OnboardingTrigger> = .all
    |                     |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | 		public var isSatisfied: Bool {
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling OnboardingKit OnboardingKit.swift
[3/9] Compiling OnboardingKit OptionalProtocol.swift
[4/9] Compiling OnboardingKit OnboardingEvent.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
[5/9] Compiling OnboardingKit OnboardingFlags.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
[6/9] Compiling OnboardingKit OnboardingTrigger.swift
[7/9] Compiling OnboardingKit OnboardingManager.swift
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Compiling OnboardingKit OnboardingCondition.swift
[9/9] Emitting module OnboardingKit
/host/spi-builder-workspace/Sources/OnboardingKit/OnboardingFlags.swift:11:34: error: cannot find type 'ObservableObject' in scope
 9 |
10 | /// The protocol to which all classes instances of which you want to use as flags objects must conform.
11 | public protocol OnboardingFlags: ObservableObject { }
   |                                  `- error: cannot find type 'ObservableObject' in scope
12 |
13 | /// A flags type that supports being automatically initialized by ``OnboardingManager``.
BUILD FAILURE 6.1 wasm