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 papyrus, reference main (be7dd2), with Swift 6.0 for Linux on 9 Dec 2024 01:57:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: main
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/joshuawright11/papyrus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at be7dd29 linux
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
be7dd29d07b2e7657bb67b63ce4cfeb764d00359
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/joshuawright11/papyrus.git
https://github.com/joshuawright11/papyrus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.1",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing"
    }
  ],
  "manifest_display_name" : "papyrus",
  "name" : "papyrus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Papyrus",
      "targets" : [
        "Papyrus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PapyrusPlugin",
      "targets" : [
        "PapyrusPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PapyrusTests",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusTests",
      "path" : "Papyrus/Tests",
      "sources" : [
        "APITests.swift",
        "CurlTests.swift",
        "KeyMappingTests.swift",
        "ParameterTests.swift",
        "ProviderTests.swift",
        "RequestBuilderTests.swift",
        "RequestEncoderTests.swift",
        "ResponseDecoderTests.swift",
        "ResponseTests.swift"
      ],
      "target_dependencies" : [
        "Papyrus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PapyrusPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusPluginTests",
      "path" : "PapyrusPlugin/Tests",
      "product_dependencies" : [
        "MacroTesting"
      ],
      "sources" : [
        "APIMacroTests.swift"
      ],
      "target_dependencies" : [
        "PapyrusPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PapyrusPlugin",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusPlugin",
      "path" : "PapyrusPlugin/Sources",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftOperators",
        "SwiftParser",
        "SwiftParserDiagnostics",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Example",
        "Papyrus",
        "PapyrusPlugin"
      ],
      "sources" : [
        "Extensions/String+Utilities.swift",
        "Extensions/SwiftSyntax+Utilities.swift",
        "Macros/APIMacro.swift",
        "Macros/DecoratorMacro.swift",
        "Macros/MockMacro.swift",
        "Macros/RoutesMacro.swift",
        "Models/API.swift",
        "Models/Declaration.swift",
        "Models/EndpointAttribute.swift",
        "Models/EndpointParameter.swift",
        "Models/PapyrusPluginError.swift",
        "Plugin.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "Papyrus",
      "module_type" : "SwiftTarget",
      "name" : "Papyrus",
      "path" : "Papyrus/Sources",
      "product_memberships" : [
        "Example",
        "Papyrus"
      ],
      "sources" : [
        "Coders.swift",
        "Extensions/String+Multipart.swift",
        "Extensions/URLSession+Papyrus.swift",
        "HTTPBodyDecoder.swift",
        "HTTPBodyEncoder.swift",
        "HTTPService.swift",
        "Interceptors/CurlInterceptor.swift",
        "KeyMappable.swift",
        "KeyMapping.swift",
        "Multipart/MultipartDecoder.swift",
        "Multipart/MultipartEncoder.swift",
        "Multipart/Part.swift",
        "PapyrusError.swift",
        "PapyrusMacros.swift",
        "PapyrusRequest.swift",
        "PapyrusResponse.swift",
        "Provider.swift",
        "RequestBuilder.swift",
        "Routing/PapyrusRouter.swift",
        "Routing/RequestParser.swift",
        "Routing/RouterRequest.swift",
        "Routing/RouterResponse.swift",
        "URLEncoded/URLEncodedForm.swift",
        "URLEncoded/URLEncodedFormDecoder.swift",
        "URLEncoded/URLEncodedFormEncoder.swift",
        "URLEncoded/URLEncodedFormNode.swift"
      ],
      "target_dependencies" : [
        "PapyrusPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Papyrus"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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
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/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/636] Fetching swift-macro-testing
[637/67574] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (4.39s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.44s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (1.99s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.5.2 (0.41s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12452] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.33s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.53s)
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.6
Building for debugging...
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims dummy.c
[18/40] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/46] Emitting module SwiftSyntax510
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[21/46] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/46] Emitting module SwiftSyntax600
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
BUILD FAILURE 6.0 linux