The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ocha, reference 1.1.0 (50ef2f), with Swift 6.1 for Android on 27 May 2025 08:24:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/bannzai/ocha.git
Reference: 1.1.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/bannzai/ocha
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 50ef2f5 Merge pull request #14 from bannzai/migrate/swift5
Cloned https://github.com/bannzai/ocha.git
Revision (git rev-parse @):
50ef2f5e3db5b1543d8d826daccb91cab02573c5
SUCCESS checkout https://github.com/bannzai/ocha.git at 1.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bannzai/ocha.git
https://github.com/bannzai/ocha.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "ragnarok",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bannzai/Ragnarok.git"
    }
  ],
  "manifest_display_name" : "Ocha",
  "name" : "Ocha",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Ocha",
      "targets" : [
        "Ocha"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RagnarokExample",
      "targets" : [
        "RagnarokExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GitCommitExample",
      "targets" : [
        "GitCommitExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Playground",
      "targets" : [
        "Playground"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RagnarokExample",
      "module_type" : "SwiftTarget",
      "name" : "RagnarokExample",
      "path" : "Sources/RagnarokExample",
      "product_dependencies" : [
        "SwiftShell",
        "PathKit",
        "RagnarokCore"
      ],
      "product_memberships" : [
        "RagnarokExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Ocha"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Playground",
      "module_type" : "SwiftTarget",
      "name" : "Playground",
      "path" : "Sources/Playground",
      "product_dependencies" : [
        "SwiftShell",
        "PathKit"
      ],
      "product_memberships" : [
        "Playground"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Ocha"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "OchaTests",
      "module_type" : "SwiftTarget",
      "name" : "OchaTests",
      "path" : "Tests/OchaTests",
      "sources" : [
        "EventTests.swift",
        "TestData/TestFile.swift",
        "Utility.swift",
        "WatcherTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Ocha"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ocha",
      "module_type" : "SwiftTarget",
      "name" : "Ocha",
      "path" : "Sources/Ocha",
      "product_memberships" : [
        "Ocha",
        "RagnarokExample",
        "GitCommitExample",
        "Playground"
      ],
      "sources" : [
        "Event.swift",
        "EventSet.swift",
        "Watcher.swift",
        "WatchingPathable.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GitCommitExample",
      "module_type" : "SwiftTarget",
      "name" : "GitCommitExample",
      "path" : "Sources/GitCommitExample",
      "product_dependencies" : [
        "SwiftShell",
        "PathKit"
      ],
      "product_memberships" : [
        "GitCommitExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Ocha"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 |   var targetDependencies: [PackageDescription.Target.Dependency] {
37 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
38 |   }
39 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
37 |   }
38 |
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/bannzai/Ragnarok.git
[1/1411] Fetching pathkit
[368/6274] Fetching pathkit, swiftshell
[2677/7128] Fetching pathkit, swiftshell, ragnarok
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.31s)
Fetched https://github.com/kylef/PathKit.git from cache (0.31s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.37s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (2.64s)
Fetching https://github.com/apple/swift-syntax.git
[1/70443] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.73s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (6.52s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (3.96s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (1.03s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (1.26s)
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50700.1
error: 'ragnarok': Source files for target ragnarok should be located under 'Sources/ragnarok', or a custom sources path can be set with the 'path' property in Package.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
37 |   }
38 |
error: 'ragnarok': Source files for target ragnarok should be located under 'Sources/ragnarok', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.1 android