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 SGSL, reference master (c96ce3), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 16:48:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kongzii/SGSL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.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 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 {
[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 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 {
[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 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 {
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.94s)
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (d5ba1b3)
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.2 macosSpm