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

Successful build of swift-dotenv, reference develop (bed533), with Swift 6.0 for Linux on 5 Nov 2024 23:18:06 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebarndog/swift-dotenv.git
Reference: develop
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/thebarndog/swift-dotenv
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at bed5331 Merge pull request #46 from doozMen/develop
Cloned https://github.com/thebarndog/swift-dotenv.git
Revision (git rev-parse @):
bed53315bc88e8e9d3a7eabb2b9440c6e9c7aa51
SUCCESS checkout https://github.com/thebarndog/swift-dotenv.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/thebarndog/swift-dotenv.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling SwiftDotenv String+CamelCase.swift
[4/5] Compiling SwiftDotenv Dotenv.swift
/host/spi-builder-workspace/Sources/Dotenv.swift:148:35: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
146 |             throw LoadingFailure.environmentFileIsMissing
147 |         }
148 |         guard let contents = try? String(contentsOf: URL(fileURLWithPath: path)) else {
    |                                   `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
149 |             throw LoadingFailure.unableToReadEnvironmentFile
150 |         }
[5/5] Emitting module SwiftDotenv
Build complete! (8.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-dotenv",
  "name" : "swift-dotenv",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftDotenv",
      "targets" : [
        "SwiftDotenv"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDotenvTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDotenvTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/fixture.env",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DotenvTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDotenv"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDotenv",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDotenv",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftDotenv"
      ],
      "sources" : [
        "Dotenv.swift",
        "String+CamelCase.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Done.