The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SGSL with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kongzii/SGSL.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pvieito/PythonKit.git
[1/1579] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.23s)
Fetching https://github.com/pvieito/LoggerKit.git
[1/525] Fetching loggerkit
Fetched https://github.com/pvieito/LoggerKit.git from cache (0.20s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/1114] Fetching rainbow
[1115/12540] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (1.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.40s)
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)
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
warning: you may be able to install gsl using your system-packager:
    apt-get install libgsl-dev
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module RandomNumberGeneration
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
[7/11] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Emitting module MathematicalFunctions
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
warning: you may be able to install gsl using your system-packager:
    apt-get install libgsl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module MathematicalFunctions
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
[3/7] Compiling MathematicalFunctions MathematicalFunctions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module RandomNumberGeneration
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
[5/7] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
BUILD FAILURE 5.10 linux