The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CSAuthSample, reference 3.0.2 (bb0720), with Swift 6.0 for Linux on 28 Nov 2024 07:18:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CharlesJS/CSAuthSample.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/6] Write sources
/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
/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;
      | ^
[1/6] 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(^)[1/6] Compiling CSAuthSampleCommon CSASCommon.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
[1/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux