The Swift Package Index logo.Swift Package Index

Build Information

Successful build of snappy, reference v1.0.0 (1ae498), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 15:47:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lovetodream/swift-snappy.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lovetodream/swift-snappy
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 1ae4982 ci: run tests on ubuntu and macOS
Cloned https://github.com/lovetodream/swift-snappy.git
Revision (git rev-parse @):
1ae49828144f397aebcbb9d3e334a8f84268ef8d
SUCCESS checkout https://github.com/lovetodream/swift-snappy.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lovetodream/swift-snappy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 185]
[Planning deferred tasks]
[56 / 83] snappy_SnappyTests
[58 / 83]
[62 / 84] CSystem
[74 / 106]
[78 / 106]
[93 / 134]
[97 / 134]
[100 / 134]
[104 / 134] SnappyC
[105 / 134]
[117 / 134] SystemPackage
[124 / 135] SystemPackage
[124 / 135] Snappy
[135 / 173]
[140 / 173]
[143 / 173]
[144 / 173] SystemPackage
[146 / 173]
[151 / 173]
[153 / 173]
[156 / 173]
[159 / 173]
[161 / 173]
[162 / 173]
[170 / 173] Snappy
Build complete! (8.10 sec)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2345] Fetching swift-docc-plugin
[213/9243] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin.git (1.54s)
Fetched https://github.com/apple/swift-system (1.55s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (2.29s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.26s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.62s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:312:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  312 |         return s->left;
      |         ~~~~~~ ~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:442:37: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
  442 |         const u32 space_left = w->op_limit - op;
      |                   ~~~~~~~~~~   ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:470:37: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
  470 |         const u32 space_left = w->op_limit - op;
      |                   ~~~~~~~~~~   ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:482:37: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  482 |         const int space_left = w->op_limit - op;
      |                   ~~~~~~~~~~   ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:817:11: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
  817 |         return v >> (is_little_endian()? 8 * offset : 32 - 8 * offset);
      |         ~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:933:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  933 |                         op = emit_literal(op, next_emit, ip - next_emit, true);
      |                              ~~~~~~~~~~~~                ~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:958:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  958 |                                 int offset = base - candidate;
      |                                     ~~~~~~   ~~~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:994:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  994 |                 op = emit_literal(op, next_emit, ip_end - next_emit, false);
      |                      ~~~~~~~~~~~~                ~~~~~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1152:55: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1152 |                         if (writer_try_fast_append(writer, ip, d->ip_limit - ip, 
      |                             ~~~~~~~~~~~~~~~~~~~~~~             ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1167:28: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1167 |                         u32 avail = d->ip_limit - ip;
      |                             ~~~~~   ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1175:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1175 |                                 avail = n;
      |                                       ~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1219:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1219 |                 d->peeked = n;
      |                           ~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1235:25: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1235 |         u32 nbuf = d->ip_limit - ip;
      |             ~~~~   ~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:1252:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
 1252 |                         u32 to_add = min_t(u32, needed - nbuf, length);
      |                             ~~~~~~                             ^~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SnappyC/snappy.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/SnappyC/compat.h:75:42: note: expanded from macro 'min_t'
   75 | #define min_t(t,x,y) ((x) < (y) ? (x) : (y))
      |                                          ^
14 warnings generated.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "snappy",
  "name" : "snappy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Snappy",
      "targets" : [
        "Snappy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnappyTests",
      "module_type" : "SwiftTarget",
      "name" : "SnappyTests",
      "path" : "Tests/SnappyTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.rawsnappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/alice29.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/asyoulik.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata1.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata2.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata3.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/fireworks.jpeg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/geo.protodata",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html_x_4",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/kppkn.gtb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/lcet10.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/paper-100k.pdf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/plrabn12.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/urls.10K",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SnappyTests.swift"
      ],
      "target_dependencies" : [
        "Snappy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnappyC",
      "module_type" : "ClangTarget",
      "name" : "SnappyC",
      "path" : "Sources/SnappyC",
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "map.c",
        "snappy.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Snappy",
      "module_type" : "SwiftTarget",
      "name" : "Snappy",
      "path" : "Sources/Snappy",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "Snappy.swift"
      ],
      "target_dependencies" : [
        "SnappyC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.