The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CSAuthSample, reference 3.0.2 (bb0720), with Swift 6.1 for Wasm on 28 May 2025 02:30:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/CharlesJS/CSAuthSample.git
Reference: 3.0.2
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/CharlesJS/CSAuthSample
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at bb0720b Give up on auto-formatting the code as a build step for now
Cloned https://github.com/CharlesJS/CSAuthSample.git
Revision (git rev-parse @):
bb0720b6a24fb1a71c3b4f276cc4b0a9fc76c179
SUCCESS checkout https://github.com/CharlesJS/CSAuthSample.git at 3.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CharlesJS/CSAuthSample.git
https://github.com/CharlesJS/CSAuthSample.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSAuthSample",
  "name" : "CSAuthSample",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "CSAuthSampleApp",
      "targets" : [
        "CSAuthSampleApp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSAuthSampleHelper",
      "targets" : [
        "CSAuthSampleHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSAuthSampleCommon",
      "targets" : [
        "CSAuthSampleCommon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSAuthSampleHelper",
      "module_type" : "ClangTarget",
      "name" : "CSAuthSampleHelper",
      "path" : "Sources/CSAuthSampleHelper",
      "product_memberships" : [
        "CSAuthSampleHelper"
      ],
      "sources" : [
        "CSASHelperConnection.m",
        "CSASHelperConnectionWrapper.m",
        "CSASHelperTool.m"
      ],
      "target_dependencies" : [
        "CSAuthSampleCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSAuthSampleCommon",
      "module_type" : "ClangTarget",
      "name" : "CSAuthSampleCommon",
      "path" : "Sources/CSAuthSampleCommon",
      "product_memberships" : [
        "CSAuthSampleApp",
        "CSAuthSampleHelper",
        "CSAuthSampleCommon"
      ],
      "sources" : [
        "CSASCommon.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSAuthSampleApp",
      "module_type" : "SwiftTarget",
      "name" : "CSAuthSampleApp",
      "path" : "Sources/CSAuthSampleApp",
      "product_memberships" : [
        "CSAuthSampleApp"
      ],
      "sources" : [
        "HelperClient.swift",
        "SandboxWorkaround.swift"
      ],
      "target_dependencies" : [
        "CSAuthSampleCommon"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/6] Write sources
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:8:1: error: use of '@import' when modules are disabled
    8 | @import ObjectiveC.runtime;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:9:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:12:2: error: prefix attribute must be followed by an interface, protocol, or implementation
   12 | @class CSASHelperTool;
      |  ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:15:42: error: cannot find interface declaration for 'NSProxy', superclass of 'CSASHelperConnectionWrapper'
   15 | @interface CSASHelperConnectionWrapper : NSProxy
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:18:42: error: expected a type
   18 |                           xpcConnection:(NSXPCConnection *)xpcConnection
      |                                          ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:19:42: error: expected a type
   19 |                              helperTool:(CSASHelperTool *)helperTool
      |                                          ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:24:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   24 | NS_ASSUME_NONNULL_END
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:8:2: error: prefix attribute must be followed by an interface, protocol, or implementation
    8 | @import Foundation;
      |  ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:9:1: error: use of '@import' when modules are disabled
    9 | @import CSAuthSampleCommon;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:9:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected ':'
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:1: error: missing context for method declaration
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected method body
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
[1/6] Compiling CSAuthSampleHelper CSASHelperConnectionWrapper.m
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnection.m:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnection.m:9:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:9:1: error: use of '@import' when modules are disabled
    9 | @import CSAuthSampleCommon;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnection.m:9:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnection.m:9:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:9:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected ':'
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:1: error: missing context for method declaration
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected method body
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:51: error: expected a type
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      |                                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:60: error: unknown type name 'NSError'
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                            ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nullable' if the block pointer may be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nonnull' if the block pointer should never be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected ':'
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:1: error: missing context for method declaration
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected method body
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:38:1: error: '@end' must appear in an Objective-C context
   38 | @end
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:40:35: error: expected function body after function declarator
   40 | NS_SWIFT_NAME(AuthorizationRight) @interface CSASAuthorizationRight: NSObject <NSSecureCoding>
      |                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
[1/6] Compiling CSAuthSampleHelper CSASHelperConnection.m
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:11:1: error: use of '@import' when modules are disabled
   11 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:12:1: error: use of '@import' when modules are disabled
   12 | @import Darwin.POSIX.syslog;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:13:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(v[1/6] Compiling CSAuthSampleCommon CSASCommon.m
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:11:1: error: use of '@import' when modules are disabled
   11 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:12:1: error: use of '@import' when modules are disabled
   12 | @import Darwin.POSIX.syslog;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:13:1: error: use of '@import' when modules are disabled
   13 | @import ObjectiveC.runtime;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:14:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:14:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:9:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected ':'
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:1: error: missing context for method declaration
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected method body
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:51: error: expected a type
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      |                                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:60: error: unknown type name 'NSError'
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                            ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nullable' if the block pointer may be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nonnull' if the block pointer should never be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected ':'
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:1: error: missing context for method declaration
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected method body
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:38:1: error: '@end' must appear in an Objective-C context
   38 | @end
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:40:35: error: expected function body after function declarator
   40 | NS_SWIFT_NAME(AuthorizationRight) @interface CSASAuthorizationRight: NSObject <NSSecureCoding>
      |                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
[1/6] Compiling CSAuthSampleHelper CSASHelperTool.m
[1/6] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:11:1: error: use of '@import' when modules are disabled
   11 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:12:1: error: use of '@import' when modules are disabled
   12 | @import Darwin.POSIX.syslog;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:13:1: error: use of '@import' when modules are disabled
   13 | @import ObjectiveC.runtime;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:14:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperTool.m:14:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:9:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected ':'
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:1: error: missing context for method declaration
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected method body
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:51: error: expected a type
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      |                                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:60: error: unknown type name 'NSError'
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                            ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nullable' if the block pointer may be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:35:57: note: insert '_Nonnull' if the block pointer should never be null
   35 |                                            reply:(void (^)(NSError * _Nullable))reply
      |                                                         ^
      |                                                          _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected ':'
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:34:1: error: missing context for method declaration
   34 | - (void)uninstallHelperToolWithAuthorizationData:(NSData *)authData
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:36:14: error: expected method body
   36 | NS_SWIFT_NAME(uninstallHelperTool(authorizationData:reply:));
      |              ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:38:1: error: '@end' must appear in an Objective-C context
   38 | @end
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:40:35: error: expected function body after function declarator
   40 | NS_SWIFT_NAME(AuthorizationRight) @interface CSASAuthorizationRight: NSObject <NSSecureCoding>
      |                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
[0/5] Compiling CSAuthSampleHelper CSASHelperTool.m
[0/5] Compiling CSAuthSampleHelper CSASHelperConnection.m
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:8:1: error: use of '@import' when modules are disabled
    8 | @import ObjectiveC.runtime;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:9:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:12:2: error: prefix attribute must be followed by an interface, protocol, or implementation
   12 | @class CSASHelperTool;
      |  ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:15:42: error: cannot find interface declaration for 'NSProxy', superclass of 'CSASHelperConnectionWrapper'
   15 | @interface CSASHelperConnectionWrapper : NSProxy
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:18:42: error: expected a type
   18 |                           xpcConnection:(NSXPCConnection *)xpcConnection
      |                                          ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:19:42: error: expected a type
   19 |                              helperTool:(CSASHelperTool *)helperTool
      |                                          ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.h:24:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   24 | NS_ASSUME_NONNULL_END
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:8:2: error: prefix attribute must be followed by an interface, protocol, or implementation
    8 | @import Foundation;
      |  ^
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:9:1: error: use of '@import' when modules are disabled
    9 | @import CSAuthSampleCommon;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
/host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/CSASHelperConnectionWrapper.m:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperConnection.h:10:
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleHelper/include/CSASHelperTool.h:9:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nullable' if the block pointer may be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nullable
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: note: insert '_Nonnull' if the block pointer should never be null
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                   ^
      |                                    _Nonnull
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected ':'
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
      |              :
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:1: error: missing context for method declaration
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:31:14: error: expected method body
   31 | NS_SWIFT_NAME(getVersion(reply:));
      |              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
[0/5] Compiling CSAuthSampleHelper CSASHelperConnectionWrapper.m
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:11:1: error: use of '@import' when modules are disabled
   11 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:12:1: error: use of '@import' when modules are disabled
   12 | @import Darwin.POSIX.syslog;
      | ^
In file included from /host/spi-builder-workspace/Sources/CSAuthSampleCommon/CSASCommon.m:13:
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:8:1: error: use of '@import' when modules are disabled
    8 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:10:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   10 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:20:32: error: expected function body after function declarator
   20 | NS_SWIFT_NAME(BuiltInCommands) @protocol CSASBuiltInCommands
      |                                ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:38: error: unknown type name 'NSString'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                      ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:68: error: unknown type name 'NSError'
   30 | - (void)getVersionWithReply:(void(^)(NSString * _Nullable version, NSError * _Nullable))reply
      |                                                                    ^
/host/spi-builder-workspace/Sources/CSAuthSampleCommon/include/CSASCommon.h:30:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   30 | - [0/5] Compiling CSAuthSampleCommon CSASCommon.m
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm