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

Successful build of grip, reference 1.3.5 (0a2efd), with Swift 6.2 (beta) for Android on 18 Jun 2025 14:37:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/grip.git
Reference: 1.3.5
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/krad/grip
 * tag               1.3.5      -> FETCH_HEAD
HEAD is now at 0a2efd0 Getting the binary encoder to work with swift 4.1
Cloned https://github.com/krad/grip.git
Revision (git rev-parse @):
0a2efd04d2318f13ac766b47fbaa35613a9494f4
SUCCESS checkout https://github.com/krad/grip.git at 1.3.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/krad/grip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/15] Emitting module grip
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 20 | /// compiler.
 21 | public extension BinaryEncodable {
 22 |     public func binaryEncode(to encoder: BinaryEncoder) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 23 |         try self.encode(to: encoder)
 24 |     }
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:37:5: warning: 'public' modifier is redundant for static method declared in a public extension
 35 | /// extracting the resulting data.
 36 | public extension BinaryEncoder {
 37 |     public static func encode(_ value: BinaryEncodable) throws -> [UInt8] {
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
 38 |         let encoder = BinaryEncoder()
 39 |         try value.binaryEncode(to: encoder)
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:53:14: warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 51 |         /// require `BinaryEncodable` because `BinaryEncoder` doesn't support full keyed
 52 |         /// coding functionality.)
 53 |         case typeNotConformingToBinaryEncodable(Encodable.Type)
    |              `- warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 54 |
 55 |         /// Attempted to encode a type which is not `Encodable`.
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:22:5: warning: 'public' modifier is redundant for property declared in a public extension
20 | public extension Data {
21 |
22 |     public var bytes: [UInt8] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
23 |         var bytes = [UInt8](repeating: 0, count: self.count)
24 |         self.copyBytes(to: &bytes, count: self.count)
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:28:5: warning: 'public' modifier is redundant for instance method declared in a public extension
26 |     }
27 |
28 |     public func hexEncodedString() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
29 |         return map { String(format: "%02hhx", $0) }.joined()
30 |     }
[4/16] Compiling grip VideoDimensionsPacket.swift
[5/16] Compiling grip VideoParamSetPacket.swift
[6/16] Compiling grip Packets.swift
[7/16] Compiling grip StreamTypePacket.swift
[8/16] Compiling grip Writeable.swift
[9/16] Compiling grip CompressedSample.swift
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:22:5: warning: 'public' modifier is redundant for property declared in a public extension
20 | public extension Data {
21 |
22 |     public var bytes: [UInt8] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
23 |         var bytes = [UInt8](repeating: 0, count: self.count)
24 |         self.copyBytes(to: &bytes, count: self.count)
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:28:5: warning: 'public' modifier is redundant for instance method declared in a public extension
26 |     }
27 |
28 |     public func hexEncodedString() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
29 |         return map { String(format: "%02hhx", $0) }.joined()
30 |     }
[10/16] Compiling grip ByteHelpers.swift
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:22:5: warning: 'public' modifier is redundant for property declared in a public extension
20 | public extension Data {
21 |
22 |     public var bytes: [UInt8] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
23 |         var bytes = [UInt8](repeating: 0, count: self.count)
24 |         self.copyBytes(to: &bytes, count: self.count)
/host/spi-builder-workspace/Sources/grip/Extensions/ByteHelpers.swift:28:5: warning: 'public' modifier is redundant for instance method declared in a public extension
26 |     }
27 |
28 |     public func hexEncodedString() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
29 |         return map { String(format: "%02hhx", $0) }.joined()
30 |     }
[11/16] Compiling grip NALU.swift
[12/16] Compiling grip AudioSamplePacket.swift
[13/16] Compiling grip BinaryEncodable.swift
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 20 | /// compiler.
 21 | public extension BinaryEncodable {
 22 |     public func binaryEncode(to encoder: BinaryEncoder) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 23 |         try self.encode(to: encoder)
 24 |     }
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:37:5: warning: 'public' modifier is redundant for static method declared in a public extension
 35 | /// extracting the resulting data.
 36 | public extension BinaryEncoder {
 37 |     public static func encode(_ value: BinaryEncodable) throws -> [UInt8] {
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
 38 |         let encoder = BinaryEncoder()
 39 |         try value.binaryEncode(to: encoder)
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:53:14: warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 51 |         /// require `BinaryEncodable` because `BinaryEncoder` doesn't support full keyed
 52 |         /// coding functionality.)
 53 |         case typeNotConformingToBinaryEncodable(Encodable.Type)
    |              `- warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 54 |
 55 |         /// Attempted to encode a type which is not `Encodable`.
[14/16] Compiling grip BinaryEncodableExtensions.swift
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 20 | /// compiler.
 21 | public extension BinaryEncodable {
 22 |     public func binaryEncode(to encoder: BinaryEncoder) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 23 |         try self.encode(to: encoder)
 24 |     }
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:37:5: warning: 'public' modifier is redundant for static method declared in a public extension
 35 | /// extracting the resulting data.
 36 | public extension BinaryEncoder {
 37 |     public static func encode(_ value: BinaryEncodable) throws -> [UInt8] {
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
 38 |         let encoder = BinaryEncoder()
 39 |         try value.binaryEncode(to: encoder)
/host/spi-builder-workspace/Sources/grip/Codable/BinaryEncodable.swift:53:14: warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 51 |         /// require `BinaryEncodable` because `BinaryEncoder` doesn't support full keyed
 52 |         /// coding functionality.)
 53 |         case typeNotConformingToBinaryEncodable(Encodable.Type)
    |              `- warning: associated value 'typeNotConformingToBinaryEncodable' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Encodable.Type'
 54 |
 55 |         /// Attempted to encode a type which is not `Encodable`.
[15/16] Compiling grip StreamType.swift
[16/16] Compiling grip VideoSamplePacket.swift
Build complete! (18.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "grip",
  "name" : "grip",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "grip",
      "targets" : [
        "grip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "gripTests",
      "module_type" : "SwiftTarget",
      "name" : "gripTests",
      "path" : "Tests/gripTests",
      "sources" : [
        "AudioSampleTests.swift",
        "NALUIteratorTests.swift",
        "StreamTypePacketTests.swift",
        "VideoDimensionsTests.swift",
        "VideoParamsPacketTests.swift",
        "VideoSampleTests.swift"
      ],
      "target_dependencies" : [
        "grip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "grip",
      "module_type" : "SwiftTarget",
      "name" : "grip",
      "path" : "Sources/grip",
      "product_memberships" : [
        "grip"
      ],
      "sources" : [
        "Codable/BinaryEncodable.swift",
        "Codable/BinaryEncodableExtensions.swift",
        "CompressedSample.swift",
        "Extensions/ByteHelpers.swift",
        "NALU.swift",
        "Packets/AudioSamplePacket.swift",
        "Packets/Packets.swift",
        "Packets/StreamTypePacket.swift",
        "Packets/VideoDimensionsPacket.swift",
        "Packets/VideoParamSetPacket.swift",
        "Packets/VideoSamplePacket.swift",
        "StreamType.swift",
        "Writeable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.