The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SGSL with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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 from cache
Fetched https://github.com/pvieito/PythonKit.git (0.21s)
Fetching https://github.com/pvieito/LoggerKit.git
[1/525] Fetching loggerkit
Fetched https://github.com/pvieito/LoggerKit.git (0.29s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow (0.25s)
Fetched https://github.com/apple/swift-argument-parser (0.26s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.50s)
Creating working copy for https://github.com/pvieito/LoggerKit.git
Working copy of https://github.com/pvieito/LoggerKit.git resolved at master
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/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/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sgsl",
      "name": "SGSL",
      "url": "https://github.com/kongzii/SGSL.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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 (1.34s)
Fetching https://github.com/pvieito/PythonKit.git from cache
Fetched https://github.com/pvieito/PythonKit.git (0.19s)
Creating working copy for https://github.com/kongzii/SGSL.git
Working copy of https://github.com/kongzii/SGSL.git resolved at master
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master
warning: '.resolve-product-dependencies': dependency 'sgsl' is not used by any target
Found 1 product dependencies
  - PythonKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module MathematicalFunctions
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
[2/6] Compiling MathematicalFunctions MathematicalFunctions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module RandomNumberGeneration
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Statistics
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
warning: you may be able to install gsl using your system-packager:
    brew install gsl
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module MathematicalFunctions
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
[2/6] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module RandomNumberGeneration
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
error: fatalError
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
       ^
warning: you may be able to install gsl using your system-packager:
    brew install gsl
BUILD FAILURE 5.9 macosSpm