Build Information
Failed to build SGSL with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: 0.2.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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 from cache
Fetched https://github.com/pvieito/PythonKit.git from cache (0.17s)
Fetching https://github.com/pvieito/LoggerKit.git from cache
Fetched https://github.com/pvieito/LoggerKit.git from cache (0.18s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.26s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.49s)
Creating working copy for https://github.com/pvieito/LoggerKit.git
Working copy of https://github.com/pvieito/LoggerKit.git resolved at master (84d742e)
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Rainbow-64aa5363 is not valid git repository for 'https://github.com/onevcat/Rainbow', will fetch again.
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.03s)
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Rainbow-64aa5363 is not valid git repository for 'https://github.com/onevcat/Rainbow', will fetch again.
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.01s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.25s)
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
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 (671302a)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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 from cache (1.43s)
Fetching https://github.com/pvieito/PythonKit.git from cache
Fetched https://github.com/pvieito/PythonKit.git from cache (0.15s)
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 (b54598c)
warning: '.resolve-product-dependencies': dependency 'sgsl' is not used by any target
Found 1 product dependencies
- PythonKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/kongzii/SGSL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-6044DDE57671499D.txt
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:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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)
[7/11] Emitting module MathematicalFunctions
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
^
[8/11] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.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)
[9/11] Emitting module Statistics
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build Objective-C module 'CGSL'
import CGSL
^
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
BUILD FAILURE 5.10 macosSpm