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 0.2.0 (560ff3), with Swift 6.1 for Android on 27 May 2025 08:44:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kongzii/SGSL.git
https://github.com/kongzii/SGSL.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pythonkit",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvieito/PythonKit.git"
    }
  ],
  "manifest_display_name" : "SGSL",
  "name" : "SGSL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "SGSL",
      "targets" : [
        "SGSL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Statistics",
      "targets" : [
        "Statistics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RandomNumberGeneration",
      "targets" : [
        "RandomNumberGeneration"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MathematicalFunctions",
      "targets" : [
        "MathematicalFunctions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StatisticsTests",
      "module_type" : "SwiftTarget",
      "name" : "StatisticsTests",
      "path" : "Tests/StatisticsTests",
      "product_dependencies" : [
        "PythonKit"
      ],
      "sources" : [
        "StatisticsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Statistics"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Statistics",
      "module_type" : "SwiftTarget",
      "name" : "Statistics",
      "path" : "Sources/Statistics",
      "product_memberships" : [
        "SGSL",
        "Statistics"
      ],
      "sources" : [
        "Statistics.swift"
      ],
      "target_dependencies" : [
        "CGSL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SGSL",
      "module_type" : "SwiftTarget",
      "name" : "SGSL",
      "path" : "Sources/SGSL",
      "product_memberships" : [
        "SGSL"
      ],
      "sources" : [
        "SGSL.swift"
      ],
      "target_dependencies" : [
        "MathematicalFunctions",
        "Statistics",
        "RandomNumberGeneration"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RandomNumberGenerationTests",
      "module_type" : "SwiftTarget",
      "name" : "RandomNumberGenerationTests",
      "path" : "Tests/RandomNumberGenerationTests",
      "product_dependencies" : [
        "PythonKit"
      ],
      "sources" : [
        "RandomNumberGenerationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "RandomNumberGeneration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RandomNumberGeneration",
      "module_type" : "SwiftTarget",
      "name" : "RandomNumberGeneration",
      "path" : "Sources/RandomNumberGeneration",
      "product_memberships" : [
        "SGSL",
        "RandomNumberGeneration"
      ],
      "sources" : [
        "RandomNumberGeneration.swift"
      ],
      "target_dependencies" : [
        "CGSL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MathematicalFunctionsTests",
      "module_type" : "SwiftTarget",
      "name" : "MathematicalFunctionsTests",
      "path" : "Tests/MathematicalFunctionsTests",
      "product_dependencies" : [
        "PythonKit"
      ],
      "sources" : [
        "MathematicalFunctionsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MathematicalFunctions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MathematicalFunctions",
      "module_type" : "SwiftTarget",
      "name" : "MathematicalFunctions",
      "path" : "Sources/MathematicalFunctions",
      "product_memberships" : [
        "SGSL",
        "MathematicalFunctions"
      ],
      "sources" : [
        "MathematicalFunctions.swift"
      ],
      "target_dependencies" : [
        "CGSL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGSL",
      "module_type" : "SystemLibraryTarget",
      "name" : "CGSL",
      "path" : "Sources/CGSL",
      "product_memberships" : [
        "SGSL",
        "Statistics",
        "RandomNumberGeneration",
        "MathematicalFunctions"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.30s)
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
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 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 {
[7/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 {
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:
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 {
[9/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)
[10/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 {
<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>
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install gsl using your system-packager:
    apt-get install libgsl-dev
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 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 {
[3/7] 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 {
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)
[4/7] 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 {
[5/7] 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 {
BUILD FAILURE 6.1 android