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, reference master (c96ce3), with Swift 6.0 for Linux on 31 Oct 2024 01:42:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SGSL.git
Reference: master
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
 * 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kongzii/SGSL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pvieito/PythonKit.git
[1/1633] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.21s)
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (6fee761)
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:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
 1 | import CGSL
   |        `- error: could not build 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)
[7/11] Emitting module MathematicalFunctions
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
 1 | import CGSL
   |        `- error: could not build C module 'CGSL'
 2 |
 3 | public extension Double {
[8/11] Compiling MathematicalFunctions MathematicalFunctions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
 1 | import CGSL
   |        `- error: could not build C module 'CGSL'
 2 |
 3 | public extension Double {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module Statistics
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
  1 | import CGSL
    |        `- error: could not build C module 'CGSL'
  2 |
  3 | public extension Array where Element: Numeric {
[10/11] Compiling Statistics Statistics.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
  1 | import CGSL
    |        `- error: could not build C module 'CGSL'
  2 |
  3 | public extension Array where Element: Numeric {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
BUILD FAILURE 6.0 linux