Closed vsarunas closed 3 weeks ago
Ping @d-ronnqvist
I'm seeing this on my Android CI too, can confirm that the just-released 1.4.0 tag broke building this plugin with Swift 5.10.1 on linux:
swift-nio/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift:74:64: error: value of type 'NSLock' has no member 'withLock'
let targetSymbolGraphs = try symbolGraphGenerationLock.withLock {
~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
It works fine with the upcoming Swift 6 and 6.1.
This should be resolved in release 1.4.1 now.
Super, thanks @d-ronnqvist !
I think we're still seeing problems with Swift 5.8.1 on linux:
https://github.com/apple/swift-protobuf/actions/runs/10529237017/job/29178134702?pr=1694
That looks like a different failure than before.
I'm on vacation next week, away from a computer, but I can look at this when I get back if no one else has fixed this by then.