Closed slashmo closed 4 years ago
That's very weird... I've asked the team for feedback why the error message is bad like that:
Fetching https://github.com/slashmo/gsoc-swift-baggage-context
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
error: Failed to clone https://github.com/apple/swift-nio.git:
Cloning into bare repository '/__w/gsoc-swift-tracing/gsoc-swift-tracing/UseCases/.build/repositories/swift-nio-b68c973e'...
fatal: unable to access 'https://github.com/apple/swift-nio.git/': transfer closed with outstanding read data remaining
Fetching https://github.com/apple/swift-nio-extras.git
##[error]Process completed with exit code 1.
While it seems more like it should be a version conflict?
I could not reproduce the dependency error...?
Can you confirm this happened also locally? (I'm trying to report this to the SPM team but we can't reproduce)
Looking at it again... fatal: unable to access 'https://github.com/apple/swift-nio.git/': transfer closed with outstanding read data remaining
makes me realize perhaps it was just github having some hiccups 🤔
Having both
NIO
&AsyncHTTPClient
as explicit dependencies made the resolution fail.