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 GaugeProgressViewStyle, reference 1.0.2 (3ee937), with Swift 6.1 for Android on 28 May 2025 08:33:53 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/kkla320/GaugeProgressViewStyle.git
Reference: 1.0.2
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/kkla320/GaugeProgressViewStyle
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 3ee9371 Merge pull request #14 from kkla320/develop
Cloned https://github.com/kkla320/GaugeProgressViewStyle.git
Revision (git rev-parse @):
3ee9371480c5d3ff8a8ecfff48307bf77dc52656
SUCCESS checkout https://github.com/kkla320/GaugeProgressViewStyle.git at 1.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kkla320/GaugeProgressViewStyle.git
https://github.com/kkla320/GaugeProgressViewStyle.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "viewinspector",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nalexn/ViewInspector.git"
    },
    {
      "identity" : "trigonometry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kkla320/Trigonometry"
    }
  ],
  "manifest_display_name" : "GaugeProgressViewStyle",
  "name" : "GaugeProgressViewStyle",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "GaugeProgressViewStyle",
      "targets" : [
        "GaugeProgressViewStyle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GaugeProgressViewStyleTests",
      "module_type" : "SwiftTarget",
      "name" : "GaugeProgressViewStyleTests",
      "path" : "Tests/GaugeProgressViewStyleTests",
      "product_dependencies" : [
        "ViewInspector"
      ],
      "sources" : [
        "GaugePointerTests.swift",
        "GaugePositionTests.swift",
        "Helper/CGPoint+rounded.swift",
        "RingTests.swift"
      ],
      "target_dependencies" : [
        "GaugeProgressViewStyle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GaugeProgressViewStyle",
      "module_type" : "SwiftTarget",
      "name" : "GaugeProgressViewStyle",
      "path" : "Sources/GaugeProgressViewStyle",
      "product_dependencies" : [
        "Trigonometry"
      ],
      "product_memberships" : [
        "GaugeProgressViewStyle"
      ],
      "sources" : [
        "Extensions/Angle+angularGradiendGaugeStart.swift",
        "Extensions/Angle+angularGradientGaugeEnd.swift",
        "Extensions/AngularGradient+trafficLight.swift",
        "Extensions/CGPoint+init.swift",
        "Extensions/CGPoint+subtractingFromX.swift",
        "Extensions/CGRect+center.swift",
        "Extensions/CGRect+shortestSide.swift",
        "Extensions/SwiftUIAngle+Angle.swift",
        "Gauge/Gauge.swift",
        "Gauge/GaugePointer.swift",
        "Gauge/GaugePosition.swift",
        "GaugeProgressViewStyle.swift",
        "Operators/AddOperatorCGPoint.swift",
        "ProgressViewStyle+gauge.swift",
        "Shapes/Ring.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kkla320/Trigonometry
Fetching https://github.com/nalexn/ViewInspector.git
[1/41] Fetching trigonometry
Fetched https://github.com/kkla320/Trigonometry from cache (0.27s)
[1/12412] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (0.59s)
Computing version for https://github.com/kkla320/Trigonometry
Computed https://github.com/kkla320/Trigonometry at 2.0.0 (1.17s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.1 (0.54s)
Creating working copy for https://github.com/kkla320/Trigonometry
Working copy of https://github.com/kkla320/Trigonometry resolved at 2.0.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Trigonometry TrigonometryFunctions.swift
[5/9] Emitting module Trigonometry
[6/9] Compiling Trigonometry Double+TrigonometryFunctions.swift
[7/9] Compiling Trigonometry Angle.swift
[8/9] Compiling Trigonometry Measurement+Angle.swift
[9/9] Compiling Trigonometry Float+TrigonometryFunctions.swift
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:5:16: error: no exact matches in call to global function 'sin'
 3 | extension Float: TrigonometryFunctions {
 4 |     public static func opposite(angle: Angle, hypothenuse: Float) -> Float {
 5 |         return sin(Float(angle.radians)) * hypothenuse
   |                `- error: no exact matches in call to global function 'sin'
 6 |     }
 7 |
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:9:16: error: no exact matches in call to global function 'cos'
 7 |
 8 |     public static func adjacent(angle: Angle, hypothenuse: Float) -> Float {
 9 |         return cos(Float(angle.radians)) * hypothenuse
   |                `- error: no exact matches in call to global function 'cos'
10 |     }
11 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:16: error: cannot convert return expression of type 'Double' to return type 'Float'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:25: error: cannot convert value of type 'Float' to expected argument type 'Double'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                         `- error: cannot convert value of type 'Float' to expected argument type 'Double'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:47: error: cannot convert value of type 'Float' to expected argument type 'Double'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                                               `- error: cannot convert value of type 'Float' to expected argument type 'Double'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:17:30: error: no exact matches in call to global function 'asin'
15 |
16 |     public static func angle(opposite: Float, hypothenuse: Float) -> Angle {
17 |         let radians = Double(asin(opposite/hypothenuse))
   |                              `- error: no exact matches in call to global function 'asin'
18 |         return Measurement<UnitAngle>(radians: radians)
19 |     }
Foundation.asin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 78 | long double acosl(long double __x);
 79 |
 80 | double asin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 81 | float asinf(float __x);
 82 | long double asinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:22:30: error: no exact matches in call to global function 'acos'
20 |
21 |     public static func angle(adjacent: Float, hypothenuse: Float) -> Angle {
22 |         let radians = Double(acos(adjacent/hypothenuse))
   |                              `- error: no exact matches in call to global function 'acos'
23 |         return Measurement<UnitAngle>(radians: radians)
24 |     }
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 74 |     : __builtin_signbitl(x))
 75 |
 76 | double acos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 77 | float acosf(float __x);
 78 | long double acosl(long double __x);
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Trigonometry TrigonometryFunctions.swift
[3/7] Compiling Trigonometry Angle.swift
[4/7] Emitting module Trigonometry
[5/7] Compiling Trigonometry Measurement+Angle.swift
[6/7] Compiling Trigonometry Double+TrigonometryFunctions.swift
[7/7] Compiling Trigonometry Float+TrigonometryFunctions.swift
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:5:16: error: no exact matches in call to global function 'sin'
 3 | extension Float: TrigonometryFunctions {
 4 |     public static func opposite(angle: Angle, hypothenuse: Float) -> Float {
 5 |         return sin(Float(angle.radians)) * hypothenuse
   |                `- error: no exact matches in call to global function 'sin'
 6 |     }
 7 |
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:9:16: error: no exact matches in call to global function 'cos'
 7 |
 8 |     public static func adjacent(angle: Angle, hypothenuse: Float) -> Float {
 9 |         return cos(Float(angle.radians)) * hypothenuse
   |                `- error: no exact matches in call to global function 'cos'
10 |     }
11 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:16: error: cannot convert return expression of type 'Double' to return type 'Float'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:25: error: cannot convert value of type 'Float' to expected argument type 'Double'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                         `- error: cannot convert value of type 'Float' to expected argument type 'Double'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:13:47: error: cannot convert value of type 'Float' to expected argument type 'Double'
11 |
12 |     public static func leg(hypothenuse: Float, otherLeg: Float) -> Float {
13 |         return sqrt(pow(hypothenuse, 2) - pow(otherLeg, 2))
   |                                               `- error: cannot convert value of type 'Float' to expected argument type 'Double'
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:17:30: error: no exact matches in call to global function 'asin'
15 |
16 |     public static func angle(opposite: Float, hypothenuse: Float) -> Angle {
17 |         let radians = Double(asin(opposite/hypothenuse))
   |                              `- error: no exact matches in call to global function 'asin'
18 |         return Measurement<UnitAngle>(radians: radians)
19 |     }
Foundation.asin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func asin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:80:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 78 | long double acosl(long double __x);
 79 |
 80 | double asin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 81 | float asinf(float __x);
 82 | long double asinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/Trigonometry/Sources/Trigonometry/Float+TrigonometryFunctions.swift:22:30: error: no exact matches in call to global function 'acos'
20 |
21 |     public static func angle(adjacent: Float, hypothenuse: Float) -> Angle {
22 |         let radians = Double(acos(adjacent/hypothenuse))
   |                              `- error: no exact matches in call to global function 'acos'
23 |         return Measurement<UnitAngle>(radians: radians)
24 |     }
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 74 |     : __builtin_signbitl(x))
 75 |
 76 | double acos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 77 | float acosf(float __x);
 78 | long double acosl(long double __x);
BUILD FAILURE 6.1 android