Build Information
Failed to build SGSL, reference master (c96ce3
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 14:50:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kongzii/SGSL
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c96ce3e Merge pull request #11 from kongzii/add-license-1
Cloned https://github.com/kongzii/SGSL.git
Revision (git rev-parse @):
c96ce3ee34b3c0b16d01c1095f600cd4d996e50d
SUCCESS checkout https://github.com/kongzii/SGSL.git at master
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.88s)
Fetching https://github.com/pvieito/LoggerKit.git
[1/525] Fetching loggerkit
Fetched https://github.com/pvieito/LoggerKit.git from cache (0.70s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser from cache
[1/1196] Fetching rainbow
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Fetched https://github.com/onevcat/Rainbow from cache (0.98s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (1.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.53s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.4
Creating working copy for https://github.com/pvieito/LoggerKit.git
Working copy of https://github.com/pvieito/LoggerKit.git resolved at master (84d742e)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (671302a)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "sgsl",
"name": "SGSL",
"url": "https://github.com/kongzii/SGSL.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SGSL",
"dependencies": [
{
"identity": "pythonkit",
"name": "PythonKit",
"url": "https://github.com/pvieito/PythonKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kongzii/SGSL.git
[1/544] Fetching sgsl
Fetched https://github.com/kongzii/SGSL.git from cache (1.43s)
Fetching https://github.com/pvieito/PythonKit.git from cache
Fetched https://github.com/pvieito/PythonKit.git from cache (0.41s)
Creating working copy for https://github.com/kongzii/SGSL.git
Working copy of https://github.com/kongzii/SGSL.git resolved at master (c96ce3e)
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (6fee761)
warning: '.resolve-product-dependencies': dependency 'sgsl' is not used by any target
Found 1 product dependencies
- PythonKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kongzii/SGSL.git
https://github.com/kongzii/SGSL.git
{
"dependencies" : [
{
"identity" : "pythonkit",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pvieito/PythonKit.git"
}
],
"manifest_display_name" : "SGSL",
"name" : "SGSL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SGSL",
"targets" : [
"SGSL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Statistics",
"targets" : [
"Statistics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RandomNumberGeneration",
"targets" : [
"RandomNumberGeneration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MathematicalFunctions",
"targets" : [
"MathematicalFunctions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StatisticsTests",
"module_type" : "SwiftTarget",
"name" : "StatisticsTests",
"path" : "Tests/StatisticsTests",
"product_dependencies" : [
"PythonKit"
],
"sources" : [
"StatisticsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Statistics"
],
"type" : "test"
},
{
"c99name" : "Statistics",
"module_type" : "SwiftTarget",
"name" : "Statistics",
"path" : "Sources/Statistics",
"product_memberships" : [
"SGSL",
"Statistics"
],
"sources" : [
"Statistics.swift"
],
"target_dependencies" : [
"CGSL"
],
"type" : "library"
},
{
"c99name" : "SGSL",
"module_type" : "SwiftTarget",
"name" : "SGSL",
"path" : "Sources/SGSL",
"product_memberships" : [
"SGSL"
],
"sources" : [
"SGSL.swift"
],
"target_dependencies" : [
"MathematicalFunctions",
"Statistics",
"RandomNumberGeneration"
],
"type" : "library"
},
{
"c99name" : "RandomNumberGenerationTests",
"module_type" : "SwiftTarget",
"name" : "RandomNumberGenerationTests",
"path" : "Tests/RandomNumberGenerationTests",
"product_dependencies" : [
"PythonKit"
],
"sources" : [
"RandomNumberGenerationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"RandomNumberGeneration"
],
"type" : "test"
},
{
"c99name" : "RandomNumberGeneration",
"module_type" : "SwiftTarget",
"name" : "RandomNumberGeneration",
"path" : "Sources/RandomNumberGeneration",
"product_memberships" : [
"SGSL",
"RandomNumberGeneration"
],
"sources" : [
"RandomNumberGeneration.swift"
],
"target_dependencies" : [
"CGSL"
],
"type" : "library"
},
{
"c99name" : "MathematicalFunctionsTests",
"module_type" : "SwiftTarget",
"name" : "MathematicalFunctionsTests",
"path" : "Tests/MathematicalFunctionsTests",
"product_dependencies" : [
"PythonKit"
],
"sources" : [
"MathematicalFunctionsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MathematicalFunctions"
],
"type" : "test"
},
{
"c99name" : "MathematicalFunctions",
"module_type" : "SwiftTarget",
"name" : "MathematicalFunctions",
"path" : "Sources/MathematicalFunctions",
"product_memberships" : [
"SGSL",
"MathematicalFunctions"
],
"sources" : [
"MathematicalFunctions.swift"
],
"target_dependencies" : [
"CGSL"
],
"type" : "library"
},
{
"c99name" : "CGSL",
"module_type" : "SystemLibraryTarget",
"name" : "CGSL",
"path" : "Sources/CGSL",
"product_memberships" : [
"SGSL",
"Statistics",
"RandomNumberGeneration",
"MathematicalFunctions"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module Statistics
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element: Numeric {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module RandomNumberGeneration
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element == Double {
[8/11] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element == Double {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Compiling Statistics Statistics.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element: Numeric {
[10/11] Emitting module MathematicalFunctions
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Double {
[11/11] Compiling MathematicalFunctions MathematicalFunctions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Double {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gsl using your system-packager:
brew install gsl
warning: you may be able to install gsl using your system-packager:
brew install gsl
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module RandomNumberGeneration
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element == Double {
[3/7] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
2 | #define cgsl_shim_h
3 |
4 | #include <gsl/gsl_math.h>
| `- error: 'gsl/gsl_math.h' file not found
5 | #include <gsl/gsl_statistics.h>
6 | #include <gsl/gsl_rng.h>
/Users/admin/builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
1 | import CGSL
| `- error: could not build Objective-C module 'CGSL'
2 |
3 | public extension Array where Element == Double {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gsl using your system-packager:
brew install gsl
warning: you may be able to install gsl using your system-packager:
brew install gsl
BUILD FAILURE 6.1 macosSpm