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 libvim, reference main (7780ae), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 14:05:23 UTC.

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/kaii-zen/libvim.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kaii-zen/libvim.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7780ae5 Commt .swiftpm to retain scheme settings in xcode
Submodule path 'Sources/clibvim/onilibvim': checked out '9ade7d1e2ac54cb945724762cb8be9c68adef3f0'
Submodule 'onilibvim' (https://github.com/onivim/libvim.git) registered for path 'Sources/clibvim/onilibvim'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/clibvim/onilibvim'...
Cloned https://github.com/kaii-zen/libvim.swift.git
Revision (git rev-parse @):
7780ae5f437fa4654b1aafa50e070a4d0533e627
SUCCESS checkout https://github.com/kaii-zen/libvim.swift.git at main
========================================
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": "libvim.swift",
      "name": "libvim",
      "url": "https://github.com/kaii-zen/libvim.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libvim.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kaii-zen/libvim.swift.git
[10/480] Fetching libvim.swift
Fetched https://github.com/kaii-zen/libvim.swift.git from cache (0.97s)
Creating working copy for https://github.com/kaii-zen/libvim.swift.git
Working copy of https://github.com/kaii-zen/libvim.swift.git resolved at main (7780ae5)
warning: '.resolve-product-dependencies': dependency 'libvim.swift' 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/kaii-zen/libvim.swift.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...
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/onilibvim/src/change.c:40:14: warning: passing 'char *' to parameter of type 'char_u *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   40 |     msg2_put(_(w_readonly), msg);
      |              ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/onilibvim/src/vim.h:488:14: note: expanded from macro '_'
  488 | #define _(x) ((char *)(x))
      |              ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/include/message2.pro:6:23: note: passing argument to parameter 's' here
    6 | void msg2_put(char_u *s, msg_T *msg);
      |                       ^
1 warning generated.
[0/71] Compiling blob.c
[1/71] Compiling change.c
[1/71] Write sources
[3/71] Compiling getchar.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/xutils.c:25:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/xinclude.h:28:
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/../auto/config.h:477:10: fatal error: 'fixes.h' file not found
  477 | #include "fixes.h"
      |          ^~~~~~~~~
1 error generated.
[4/71] Compiling xutils.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/xprepare.c:23:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/xinclude.h:28:
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/../auto/config.h:477:10: fatal error: 'fixes.h' file not found
  477 | #include "fixes.h"
      |          ^~~~~~~~~
[4/71] Compiling xprepare.c
[4/71] Compiling diff.c
[4/71] Compiling autocmd.c
[4/71] Compiling debugger.c
[4/71] Compiling channel.c
[4/71] Compiling dict.c
[4/71] Compiling buffer.c
[4/71] Compiling charset.c
[4/71] Write swift-version--7754E27361AE5C74.txt
BUILD FAILURE 6.0 macosSpm