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 0.1.0 (bbe72c), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 14:06:15 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: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kaii-zen/libvim.swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at bbe72c0 Move type definitions to types.swift
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 @):
bbe72c019cbd1aaf69236199d47d68b704894652
SUCCESS checkout https://github.com/kaii-zen/libvim.swift.git at 0.1.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": "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
[1/480] Fetching libvim.swift
Fetched https://github.com/kaii-zen/libvim.swift.git from cache (1.00s)
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 0.1.0 (bbe72c0)
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...
[0/71] Compiling arabic.c
[1/71] Compiling charset.c
[1/71] Compiling findfile.c
[1/71] Write sources
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/onilibvim/src/buffer.c:2801:14: warning: passing 'char[2]' 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]
 2801 |     msg2_put("\n", msg);
      |              ^~~~
/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);
      |                       ^
/Users/admin/builder/spi-builder-workspace/Sources/clibvim/onilibvim/src/buffer.c:3253:12: 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]
 3253 |   msg2_put(buffer, msg);
      |            ^~~~~~
/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);
      |                       ^
2 warnings generated.
[4/71] Compiling buffer.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.
[5/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"
      |          ^~~~~~~~~
1 error generated.
[5/71] Compiling xprepare.c
[5/71] Compiling autocmd.c
[5/71] Compiling fold.c
[5/71] Compiling channel.c
[5/71] Compiling getchar.c
[5/71] Compiling blob.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/clibvim/src/xdiff/xpatience.c:22:
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"
      |          ^~~~~~~~~
[5/71] Compiling xpatience.c
/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);
      |                       ^
[5/71] Compiling change.c
[5/71] Write swift-version--7754E27361AE5C74.txt
BUILD FAILURE 6.0 macosSpm