[SR-14905] Swift NIO doesn't build with trunk stdlib on linux: recent stdlib fix may be breaking other things #57252
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Fedora Core 33
Additional Detail from JIRA
md5: 24c61965243cfe4ee49cf34fc02b7b66
Issue Description:
I hit this when just trying to build Swift NIO trunk with the official July 7 trunk snapshot build for CentOS 8:
> ../src/swift-DEVELOPMENT-SNAPSHOT-2021-07-07-a-centos8/usr/bin/swift build
/home/butta/swift-nio/Sources/_NIO1APIShims/NIO1APIShims.swift:49:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/home/butta/swift-nio/Sources/*NIO1APIShims/NIO1APIShims.swift:49:1: error: unavailable subscript 'subscript(*🙂' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_🙂' declared here
public subscript(bounds: Range<Self.Index>) -> Self.SubSequence
{ get }
^
Swift.Collection:12:5: note: requirement 'subscript(_🙂' declared here
subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
^
I figure this is related to this recent stdlib pull:
#38161
@glessard, let me know what you think. I filed a NIO issue too:
apple/swift-nio#1892
The text was updated successfully, but these errors were encountered: