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 SwiftyHYGDB, reference 0.8.0 (98f632), with Swift 6.1 for Wasm on 27 May 2025 17:38:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Bersaelor/SwiftyHYGDB.git
Reference: 0.8.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/Bersaelor/SwiftyHYGDB
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 98f632f Merge pull request #11 from Bersaelor/feature/swift_package_manager_update
Cloned https://github.com/Bersaelor/SwiftyHYGDB.git
Revision (git rev-parse @):
98f632f1ef7c62b9864d77f52b639a7d5193305c
SUCCESS checkout https://github.com/Bersaelor/SwiftyHYGDB.git at 0.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Bersaelor/SwiftyHYGDB.git
https://github.com/Bersaelor/SwiftyHYGDB.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyHYGDB",
  "name" : "SwiftyHYGDB",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyHYGDB",
      "targets" : [
        "SwiftyHYGDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyHYGDBTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyHYGDBTests",
      "path" : "Tests/SwiftyHYGDBTests",
      "sources" : [
        "LoadSaveRadialStarTests.swift",
        "Testhelper+StarIdentical.swift"
      ],
      "target_dependencies" : [
        "SwiftyHYGDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyHYGDB",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyHYGDB",
      "path" : "Sources/SwiftyHYGDB",
      "product_memberships" : [
        "SwiftyHYGDB"
      ],
      "sources" : [
        "Box.swift",
        "FloatingPoint+CompressedString.swift",
        "Indexer.swift",
        "LineGenerator.swift",
        "Point3D.swift",
        "RadialStar+CSV.swift",
        "RadialStar+Codable.swift",
        "RadialStar.swift",
        "Star3D+CVS.swift",
        "Star3D+Codable.swift",
        "Star3D.swift",
        "StarData.swift",
        "SwiftyHYGDB.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/15] Compiling SwiftyHYGDB Star3D.swift
[4/15] Compiling SwiftyHYGDB StarData.swift
[5/16] Compiling SwiftyHYGDB Star3D+CVS.swift
[6/16] Compiling SwiftyHYGDB Star3D+Codable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Compiling SwiftyHYGDB Box.swift
[8/16] Compiling SwiftyHYGDB FloatingPoint+CompressedString.swift
[9/16] Emitting module SwiftyHYGDB
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:15:16: warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let missingValueIndex: Int = -1
 14 |
 15 |     static var glIds: [String] = []
    |                |- warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'glIds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'glIds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:16:16: warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
    |                |- warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'properNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'properNames' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:17:16: warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
    |                |- warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bayerFlamstedts' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bayerFlamstedts' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     static var spectralTypes: [String] = []
 19 |
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:18:16: warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
    |                |- warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'spectralTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'spectralTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     private static var yearsSinceEraStart: Int {
[10/16] Compiling SwiftyHYGDB RadialStar+Codable.swift
[11/16] Compiling SwiftyHYGDB RadialStar.swift
[12/16] Compiling SwiftyHYGDB Point3D.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/RadialStar+CSV.swift:123:58: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
121 |             let args: [CVarArg] = [valuePtr]
122 |             scanned = withVaList(args, { (vaListPtr) -> Int32 in
123 |                 return vsscanf(newCPtr, T.cFormatString, vaListPtr)
    |                                                          `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
124 |             })
125 |         })
[13/16] Compiling SwiftyHYGDB RadialStar+CSV.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/RadialStar+CSV.swift:123:58: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
121 |             let args: [CVarArg] = [valuePtr]
122 |             scanned = withVaList(args, { (vaListPtr) -> Int32 in
123 |                 return vsscanf(newCPtr, T.cFormatString, vaListPtr)
    |                                                          `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
124 |             })
125 |         })
[14/16] Compiling SwiftyHYGDB Indexer.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[15/16] Compiling SwiftyHYGDB LineGenerator.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[16/16] Compiling SwiftyHYGDB SwiftyHYGDB.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:15:16: warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let missingValueIndex: Int = -1
 14 |
 15 |     static var glIds: [String] = []
    |                |- warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'glIds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'glIds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:16:16: warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
    |                |- warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'properNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'properNames' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:17:16: warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
    |                |- warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bayerFlamstedts' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bayerFlamstedts' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     static var spectralTypes: [String] = []
 19 |
/host/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:18:16: warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
    |                |- warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'spectralTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'spectralTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     private static var yearsSinceEraStart: Int {
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/14] Compiling SwiftyHYGDB Point3D.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/RadialStar+CSV.swift:123:58: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
121 |             let args: [CVarArg] = [valuePtr]
122 |             scanned = withVaList(args, { (vaListPtr) -> Int32 in
123 |                 return vsscanf(newCPtr, T.cFormatString, vaListPtr)
    |                                                          `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
124 |             })
125 |         })
[3/14] Compiling SwiftyHYGDB RadialStar+CSV.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/RadialStar+CSV.swift:123:58: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
121 |             let args: [CVarArg] = [valuePtr]
122 |             scanned = withVaList(args, { (vaListPtr) -> Int32 in
123 |                 return vsscanf(newCPtr, T.cFormatString, vaListPtr)
    |                                                          `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
124 |             })
125 |         })
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Compiling SwiftyHYGDB Box.swift
[5/15] Compiling SwiftyHYGDB FloatingPoint+CompressedString.swift
[6/15] Emitting module SwiftyHYGDB
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[7/15] Compiling SwiftyHYGDB Indexer.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[8/15] Compiling SwiftyHYGDB LineGenerator.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:10:46: error: cannot find type 'FILE' in scope
 8 | import Foundation
 9 |
10 | func lineIterator(file: UnsafeMutablePointer<FILE>) -> AnyIterator<String>
   |                                              `- error: cannot find type 'FILE' in scope
11 | {
12 |     return AnyIterator { () -> String? in
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[9/15] Compiling SwiftyHYGDB Star3D.swift
[10/15] Compiling SwiftyHYGDB StarData.swift
[11/15] Compiling SwiftyHYGDB SwiftyHYGDB.swift
/host/spi-builder-workspace/Sources/SwiftyHYGDB/LineGenerator.swift:24:47: error: cannot find type 'FILE' in scope
22 | }
23 |
24 | func lineIteratorC(file: UnsafeMutablePointer<FILE>) -> AnyIterator<UnsafeMutablePointer<CChar>>
   |                                               `- error: cannot find type 'FILE' in scope
25 | {
26 |     return AnyIterator { () -> UnsafeMutablePointer<CChar>? in
[12/15] Compiling SwiftyHYGDB Star3D+CVS.swift
[13/15] Compiling SwiftyHYGDB Star3D+Codable.swift
[14/15] Compiling SwiftyHYGDB RadialStar+Codable.swift
[15/15] Compiling SwiftyHYGDB RadialStar.swift
BUILD FAILURE 6.1 wasm