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 AMSMB2, reference master (2efc6a), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 19:01:34 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/AMSMB2.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/AMSMB2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2efc6a8 Merge branch 'master' of github.com:amosavian/AMSMB2
Submodule path 'Dependencies/libsmb2': checked out '5d9abb7bb8832fbfee6c5f7f80c5861260b4c5f9'
Submodule 'Dependencies/libsmb2' (https://github.com/sahlberg/libsmb2) registered for path 'Dependencies/libsmb2'
Cloning into '/Users/admin/builder/spi-builder-workspace/Dependencies/libsmb2'...
Cloned https://github.com/amosavian/AMSMB2.git
Revision (git rev-parse @):
2efc6a8247f63a9dcf2bd5b07cc2c2d2b578a234
SUCCESS checkout https://github.com/amosavian/AMSMB2.git at master
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.51s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "amsmb2",
      "name": "AMSMB2",
      "url": "https://github.com/amosavian/AMSMB2.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AMSMB2",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/amosavian/AMSMB2.git
[1/1339] Fetching amsmb2
Fetched https://github.com/amosavian/AMSMB2.git from cache (2.52s)
Creating working copy for https://github.com/amosavian/AMSMB2.git
Working copy of https://github.com/amosavian/AMSMB2.git resolved at master (2efc6a8)
warning: '.resolve-product-dependencies': dependency 'amsmb2' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amosavian/AMSMB2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/57] Write swift-version--7754E27361AE5C74.txt
[1/57] Compiling usha.c
[2/57] Compiling spnego-wrapper.c
[3/57] Compiling timestamps.c
[4/57] Compiling socket.c
[5/57] Compiling smb2-signing.c
[6/57] Compiling smb3-seal.c
[7/57] Compiling smb2-data-reparse-point.c
[8/57] Compiling unicode.c
[9/57] Compiling smb2-data-security-descriptor.c
[10/57] Compiling smb2-data-file-info.c
[11/57] Compiling smb2-data-filesystem-info.c
[12/57] Compiling smb2-cmd-write.c
[13/57] Compiling smb2-cmd-tree-disconnect.c
[14/57] Compiling smb2-cmd-tree-connect.c
[15/57] Compiling smb2-cmd-set-info.c
[16/57] Compiling smb2-cmd-session-setup.c
[17/57] Compiling sync.c
[18/57] Compiling smb2-cmd-read.c
[19/57] Compiling smb2-cmd-query-info.c
[20/57] Compiling smb2-cmd-query-directory.c
[21/57] Compiling smb2-share-enum.c
[22/57] Compiling smb2-cmd-oplock-break.c
[23/57] Compiling errors.c
[24/57] Compiling smb2-cmd-notify-change.c
[25/57] Compiling smb2-cmd-negotiate.c
[26/57] Compiling smb2-cmd-logoff.c
[27/57] Compiling smb2-cmd-lock.c
[28/57] Compiling smb2-cmd-flush.c
[29/57] Compiling smb2-cmd-ioctl.c
[30/57] Compiling smb2-cmd-error.c
[31/57] Compiling smb2-cmd-echo.c
[32/57] Compiling sha384-512.c
[33/57] Compiling smb2-cmd-close.c
[34/57] Compiling smb2-cmd-create.c
[35/57] Compiling sha1.c
[36/57] Compiling sha224-256.c
[37/57] Compiling md4c.c
[38/57] Compiling md5.c
[39/57] Compiling krb5-wrapper.c
[40/57] Compiling pdu.c
[41/57] Compiling ntlmssp.c
[42/57] Compiling hmac.c
[43/57] Compiling hmac-md5.c
[44/57] Compiling init.c
[44/57] Write sources
[46/57] Compiling compat.c
[47/57] Compiling dcerpc-lsa.c
[48/57] Compiling dcerpc.c
[49/57] Compiling dcerpc-srvsvc.c
[50/57] Compiling alloc.c
[51/57] Compiling libsmb2.c
[52/57] Compiling aes128ccm.c
[53/57] Compiling asn1-ber.c
[54/57] Compiling aes.c
[56/68] Compiling AMSMB2 Parsers.swift
[57/68] Compiling AMSMB2 ObjCCompat.swift
[58/68] Compiling AMSMB2 MSRPC.swift
[59/69] Compiling AMSMB2 Fsctl.swift
[60/69] Compiling AMSMB2 AMSMB2.swift
[61/69] Compiling AMSMB2 Context.swift
[62/69] Compiling AMSMB2 FileMonitoring.swift
[63/69] Emitting module AMSMB2
[64/69] Compiling AMSMB2 Directory.swift
[65/69] Compiling AMSMB2 Extensions.swift
[66/69] Compiling AMSMB2 FileHandle.swift
[67/69] Compiling AMSMB2 Stream.swift
[67/69] Write Objects.LinkFileList
[68/69] Linking libAMSMB2.dylib
Build complete! (16.04s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "AMSMB2",
  "name" : "AMSMB2",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AMSMB2",
      "targets" : [
        "AMSMB2"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libsmb2",
      "module_type" : "ClangTarget",
      "name" : "libsmb2",
      "path" : "Dependencies/libsmb2",
      "product_memberships" : [
        "AMSMB2"
      ],
      "sources" : [
        "lib/aes.c",
        "lib/aes128ccm.c",
        "lib/alloc.c",
        "lib/asn1-ber.c",
        "lib/compat.c",
        "lib/dcerpc-lsa.c",
        "lib/dcerpc-srvsvc.c",
        "lib/dcerpc.c",
        "lib/errors.c",
        "lib/hmac-md5.c",
        "lib/hmac.c",
        "lib/init.c",
        "lib/krb5-wrapper.c",
        "lib/libsmb2.c",
        "lib/md4c.c",
        "lib/md5.c",
        "lib/ntlmssp.c",
        "lib/pdu.c",
        "lib/sha1.c",
        "lib/sha224-256.c",
        "lib/sha384-512.c",
        "lib/smb2-cmd-close.c",
        "lib/smb2-cmd-create.c",
        "lib/smb2-cmd-echo.c",
        "lib/smb2-cmd-error.c",
        "lib/smb2-cmd-flush.c",
        "lib/smb2-cmd-ioctl.c",
        "lib/smb2-cmd-lock.c",
        "lib/smb2-cmd-logoff.c",
        "lib/smb2-cmd-negotiate.c",
        "lib/smb2-cmd-notify-change.c",
        "lib/smb2-cmd-oplock-break.c",
        "lib/smb2-cmd-query-directory.c",
        "lib/smb2-cmd-query-info.c",
        "lib/smb2-cmd-read.c",
        "lib/smb2-cmd-session-setup.c",
        "lib/smb2-cmd-set-info.c",
        "lib/smb2-cmd-tree-connect.c",
        "lib/smb2-cmd-tree-disconnect.c",
        "lib/smb2-cmd-write.c",
        "lib/smb2-data-file-info.c",
        "lib/smb2-data-filesystem-info.c",
        "lib/smb2-data-reparse-point.c",
        "lib/smb2-data-security-descriptor.c",
        "lib/smb2-share-enum.c",
        "lib/smb2-signing.c",
        "lib/smb3-seal.c",
        "lib/socket.c",
        "lib/spnego-wrapper.c",
        "lib/sync.c",
        "lib/timestamps.c",
        "lib/unicode.c",
        "lib/usha.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AMSMB2Tests",
      "module_type" : "SwiftTarget",
      "name" : "AMSMB2Tests",
      "path" : "AMSMB2Tests",
      "product_dependencies" : [
        "Atomics"
      ],
      "sources" : [
        "SMB2ManagerTests.swift"
      ],
      "target_dependencies" : [
        "AMSMB2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AMSMB2",
      "module_type" : "SwiftTarget",
      "name" : "AMSMB2",
      "path" : "AMSMB2",
      "product_memberships" : [
        "AMSMB2"
      ],
      "sources" : [
        "AMSMB2.swift",
        "Context.swift",
        "Directory.swift",
        "Extensions.swift",
        "FileHandle.swift",
        "FileMonitoring.swift",
        "Fsctl.swift",
        "MSRPC.swift",
        "ObjCCompat.swift",
        "Parsers.swift",
        "Stream.swift"
      ],
      "target_dependencies" : [
        "libsmb2"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.