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 MMLanScan, reference v4.0.0 (0ed541), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 23:48:17 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b5i/MMLanScan.git
Reference: v4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b5i/MMLanScan
 * tag               v4.0.0     -> FETCH_HEAD
HEAD is now at 0ed541d Added support for SPM.
Cloned https://github.com/b5i/MMLanScan.git
Revision (git rev-parse @):
0ed541d3d19b871b41f8f84e891db0d7557c5186
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/b5i/MMLanScan.git at v4.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/b5i/MMLanScan.git
https://github.com/b5i/MMLanScan.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MMLanScan",
  "name" : "MMLanScan",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MMLanScan",
      "targets" : [
        "MMLanScan"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MMLanScan",
      "module_type" : "ClangTarget",
      "name" : "MMLanScan",
      "path" : "MMLanScan",
      "product_memberships" : [
        "MMLanScan"
      ],
      "sources" : [
        "External Libs/MacFinder/MacFinder.m",
        "External Libs/SimplePing/SimplePing.m",
        "Misc/LANProperties.m",
        "Misc/MACOperation.m",
        "Misc/MMLANScanner.m",
        "Misc/NetworkCalculator.m",
        "Misc/PingOperation.m",
        "Objects/MMDevice.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:14:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: error: type 'struct rtstat' has incompatible definitions in different translation units
  138 | struct    rtstat {
      |           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/route.h:152:10: note: field 'rts_badrtgwroute' has type 'short' here
  152 |         short   rts_badrtgwroute;       /* route to gateway is not direct */
      |                 ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: note: no corresponding field here
  138 | struct    rtstat {
      |           ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:70:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: error: type 'struct arpstat' has incompatible definitions in different translation units
  124 | struct arpstat {
      |        ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/if_arp.h:146:11: note: field 'held' has type 'uint32_t' (aka 'unsigned int') here
  146 |         uint32_t held;          /* # of packets held waiting for a reply */
      |                  ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: note: no corresponding field here
  124 | struct arpstat {
      |        ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:113:8: error: type 'struct ether_arp' has incompatible definitions in different translation units
  113 | struct  ether_arp {
      |         ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:116:12: note: field has name 'arp_spa' here
  116 |     u_char      arp_spa[4];     /* sender protocol address */
      |                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/netinet/if_ether.h:116:10: note: field has name 'arp_sha' here
  116 |         u_char  arp_sha[ETHER_ADDR_LEN];        /* sender hardware address */
      |                 ^
3 errors generated.
[0/8] Compiling MACOperation.m
[0/8] Compiling MMDevice.m
[0/8] Compiling MacFinder.m
[0/8] Compiling SimplePing.m
[0/8] Compiling NetworkCalculator.m
[0/8] Compiling MMLANScanner.m
[0/8] Compiling PingOperation.m
[0/8] Compiling LANProperties.m
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:14:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: error: type 'struct rtstat' has incompatible definitions in different translation units
  138 | struct    rtstat {
      |           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/route.h:152:10: note: field 'rts_badrtgwroute' has type 'short' here
  152 |         short   rts_badrtgwroute;       /* route to gateway is not direct */
      |                 ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: note: no corresponding field here
  138 | struct    rtstat {
      |           ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:70:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: error: type 'struct arpstat' has incompatible definitions in different translation units
  124 | struct arpstat {
      |        ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/if_arp.h:146:11: note: field 'held' has type 'uint32_t' (aka 'unsigned int') here
  146 |         uint32_t held;          /* # of packets held waiting for a reply */
      |                  ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: note: no corresponding field here
  124 | struct arpstat {
      |        ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/MACOperation.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:113:8: error: type 'struct ether_arp' has incompatible definitions in different translation units
  113 | struct  ether_arp {
      |         ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:116:12: note: field has name 'arp_spa' here
  116 |     u_char      arp_spa[4];     /* sender protocol address */
      |                 ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/netinet/if_ether.h:116:10: note: field has name 'arp_sha' here
  116 |         u_char  arp_sha[ETHER_ADDR_LEN];        /* sender hardware address */
      |                 ^
3 errors generated.
[0/8] Compiling MACOperation.m
[0/8] Compiling MacFinder.m
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/PingOperation.m:12:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:14:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: error: type 'struct rtstat' has incompatible definitions in different translation units
  138 | struct    rtstat {
      |           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/route.h:152:10: note: field 'rts_badrtgwroute' has type 'short' here
  152 |         short   rts_badrtgwroute;       /* route to gateway is not direct */
      |                 ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/route.h:138:11: note: no corresponding field here
  138 | struct    rtstat {
      |           ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/PingOperation.m:12:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:70:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: error: type 'struct arpstat' has incompatible definitions in different translation units
  124 | struct arpstat {
      |        ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/net/if_arp.h:146:11: note: field 'held' has type 'uint32_t' (aka 'unsigned int') here
  146 |         uint32_t held;          /* # of packets held waiting for a reply */
      |                  ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_arp.h:124:8: note: no corresponding field here
  124 | struct arpstat {
      |        ^
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/PingOperation.m:12:
In file included from /Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/MacFinder.h:17:
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:113:8: error: type 'struct ether_arp' has incompatible definitions in different translation units
  113 | struct  ether_arp {
      |         ^
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/../External Libs/MacFinder/Network Headers/if_ether.h:116:12: note: field has name 'arp_spa' here
  116 |     u_char      arp_spa[4];     /* sender protocol address */
      |                 ^
[0/8] Compiling PingOperation.m
[0/8] Compiling SimplePing.m
[0/8] Compiling MMDevice.m
[0/8] Compiling NetworkCalculator.m
[0/8] Compiling MMLANScanner.m
[0/8] Compiling LANProperties.m
BUILD FAILURE 6.1 macosSpm