-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility
Description
| Previous ID | SR-8332 |
| Radar | rdar://problem/42435686 |
| Original Reporter | @clackary |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | |
| Labels | Bug, SourceCompatibility |
| Assignee | None |
| Priority | Medium |
md5: e715c0e69080aee00b6d8fb0cefe7875
Issue Description:
ci.swift.org log: https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/274/artifact/swift-source-compat-suite/FAIL_fluent_4.2_BuildSwiftPackage.log
To reproduce:
- Install latest GM/Beta Xcode
$ git clone git@github.com:apple/swift-source-compat-suite.git$ cd swift-source-compat-suite$ git checkout add-fluent- (Un-apply xfail patch locally)
$ git show ae01b83cc435d | git apply -R
To build Swift from scratch before testing:
6a. $ ./reproduce.py master --project-path fluent
Or if you've already built Swift:
6b. $ ./reproduce.py master --project-path fluent --swiftc path/to/swiftc
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/project_cache/fluent/.build/checkouts/database-kit-c669b89b/Sources/DatabaseKit/Connection/Container+NewConnection.swift:23:28: error: missing argument for parameter #​1 in call
conn.close()
^
<#_#>
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/project_cache/fluent/.build/checkouts/database-kit-c669b89b/Sources/DatabaseKit/Database/DatabaseConfig.swift:72:30: error: argument type 'D.Connection' does not conform to expected type 'Worker' (aka 'EventLoopGroup')
return .done(on: conn)
^~~~
as! Worker
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/project_cache/fluent/.build/checkouts/database-kit-c669b89b/Sources/DatabaseKit/Utilities/Deprecated.swift:39:16: error: value of type 'D.Connection' has no member 'close'
return conn.close()
^~~~ ~~~~~Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility