The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SGSL, reference 0.2.0 (560ff3), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 13:10:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kongzii/SGSL
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 560ff35 Merge pull request #7 from kongzii/abs-dev
Cloned https://github.com/kongzii/SGSL.git
Revision (git rev-parse @):
560ff35b5ca03f9c0836a109a948c5ae4b997b8b
SUCCESS checkout https://github.com/kongzii/SGSL.git at 0.2.0
Fetching https://github.com/pvieito/PythonKit.git
[1/1693] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.83s)
Fetching https://github.com/pvieito/LoggerKit.git
[1/546] Fetching loggerkit
Fetched https://github.com/pvieito/LoggerKit.git from cache (0.76s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/1442] Fetching rainbow
[1213/18954] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.93s)
[351/17512] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (4.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.67s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
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/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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "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",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kongzii/SGSL.git
[1/544] Fetching sgsl
Fetched https://github.com/kongzii/SGSL.git from cache (7.41s)
Fetching https://github.com/pvieito/PythonKit.git from cache
Fetched https://github.com/pvieito/PythonKit.git from cache (0.47s)
Creating working copy for https://github.com/kongzii/SGSL.git
Working copy of https://github.com/kongzii/SGSL.git resolved at 0.2.0 (560ff35)
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (d030b51)
warning: '.resolve-product-dependencies': dependency 'sgsl' is not used by any target
Found 1 product dependencies
  - PythonKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kongzii/SGSL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 {
[7/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 {
[8/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 {
[9/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)
[10/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 {
[11/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 {
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.3 macosSpm