Skip to content

Update minimum OS versions (deployment targets) to support Swift conc… #59

Update minimum OS versions (deployment targets) to support Swift conc…

Update minimum OS versions (deployment targets) to support Swift conc… #59

GitHub Actions / results-xcode-tests-macOS failed Nov 28, 2024 in 0s

Xcode test results

Build Summary

Emitting module for OAuth2Tests
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Type 'OAuth2MockPerformer' does not conform to protocol 'OAuth2RequestPerformer'
error: Swift Compiler Error: Type 'OAuth2AnyBearerPerformer' does not conform to protocol 'OAuth2RequestPerformer'

Tests/FlowTests/OAuth2DynRegTests.swift:116:16: error: method does not override any method from its superclass
        override func register(client: OAuth2, callback: @escaping ((OAuth2JSON?, OAuth2Error?) -> Void)) {
        ~~~~~~~~      ^
Tests/FlowTests/OAuth2CodeGrantTests.swift:501:7: error: type 'OAuth2MockPerformer' does not conform to protocol 'OAuth2RequestPerformer'
class OAuth2MockPerformer: OAuth2RequestPerformer {
      ^
Tests/FlowTests/OAuth2CodeGrantTests.swift:501:7: note: add stubs for conformance
class OAuth2MockPerformer: OAuth2RequestPerformer {
      ^
Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:98:7: error: type 'OAuth2AnyBearerPerformer' does not conform to protocol 'OAuth2RequestPerformer'
class OAuth2AnyBearerPerformer: OAuth2RequestPerformer {
      ^
Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:98:7: note: add stubs for conformance
class OAuth2AnyBearerPerformer: OAuth2RequestPerformer {
      ^

Compile OAuth2ImplicitGrantTests.swift (arm64)
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'authParameters' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Tests/FlowTests/OAuth2ImplicitGrantTests.swift:56:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:56:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:56:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:70:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:70:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:70:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:80:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:80:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:80:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:91:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:91:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:91:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:103:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:103:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:103:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:113:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:113:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:113:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:123:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:123:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:123:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:133:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:133:32: error: cannot infer type of closure parameter 'authParameters' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:133:48: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { authParameters, error in
                                                             ^
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:142:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2ImplicitGrantTests.swift:157:9: error: value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { authParameters, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~

Compile OAuth2RefreshTokenTests.swift (arm64)
Compile OAuth2Tests.swift (arm64)
error: Swift Compiler Error: Extra trailing closure passed in call

Tests/BaseTests/OAuth2Tests.swift:124:18: error: extra trailing closure passed in call
                oa.authorize() { params, error in
                               ^~~~~~~~~~~~~~~~~~

Compile OAuth2PasswordGrantTests.swift (arm64)
Compile OAuth2AuthRequestTests.swift (arm64)
Compile OAuth2ClientCredentialsTests.swift (arm64)
Compile OAuth2DynRegTests.swift (arm64)
Compiling OAuth2CodeGrantTests.swift, OAuth2DeviceGrantTests.swift, OAuth2DataLoaderTests.swift
error: Command SwiftCompile failed with a nonzero exit code

Command SwiftCompile failed with a nonzero exit code

Annotations

Check failure on line 116 in Tests/FlowTests/OAuth2DynRegTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Method does not override any method from its superclass

Check failure on line 501 in Tests/FlowTests/OAuth2CodeGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Type 'OAuth2MockPerformer' does not conform to protocol 'OAuth2RequestPerformer'

Check failure on line 98 in Tests/DataLoaderTests/OAuth2DataLoaderTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Type 'OAuth2AnyBearerPerformer' does not conform to protocol 'OAuth2RequestPerformer'

Check failure on line 56 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 56 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 56 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 70 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 70 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 70 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 80 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 80 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 80 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 91 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 91 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 91 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 103 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 103 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 103 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 113 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 113 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 113 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 123 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'

Check failure on line 123 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'authParameters' without a type annotation

Check failure on line 123 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot infer type of closure parameter 'error' without a type annotation

Check failure on line 133 in Tests/FlowTests/OAuth2ImplicitGrantTests.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Value of type 'OAuth2ImplicitGrant' has no member 'didAuthorizeOrFail'