Skip to content

WIP

WIP #53

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

Xcode test results

Build Summary

Emitting module for OAuth2Tests
Compile OAuth2PasswordGrantTests.swift (arm64)
Compile OAuth2AuthRequestTests.swift (arm64)
Compile OAuth2ClientCredentialsTests.swift (arm64)
Compile OAuth2DynRegTests.swift (arm64)
error: Swift Compiler Error: Method does not override any method from its superclass
error: Swift Compiler Error: Extra trailing closure passed in call
error: Swift Compiler Error: Extra trailing closure passed in call
error: Swift Compiler Error: Extra trailing closure passed in call

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/OAuth2DynRegTests.swift:74:34: error: extra trailing closure passed in call
                oauth.registerClientIfNeeded() { json, error in
                                               ^~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2DynRegTests.swift:87:32: error: extra trailing closure passed in call
                oauth.registerClientIfNeeded { json, error in
                                             ^~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2DynRegTests.swift:100:34: error: extra trailing closure passed in call
                oauth.registerClientIfNeeded() { json, error in
                                               ^~~~~~~~~~~~~~~~

Compile OAuth2CodeGrantTests.swift (arm64)
error: Swift Compiler Error: Type 'OAuth2MockPerformer' does not conform to protocol 'OAuth2RequestPerformer'
error: Swift Compiler Error: Value of type 'OAuth2CodeGrant' has no member 'didAuthorizeOrFail'
error: Swift Compiler Error: Cannot infer type of closure parameter 'json' without a type annotation
error: Swift Compiler Error: Cannot infer type of closure parameter 'error' without a type annotation
error: Swift Compiler Error: Type of expression is ambiguous without a type annotation

Tests/FlowTests/OAuth2CodeGrantTests.swift:501:7: error: type 'OAuth2MockPerformer' does not conform to protocol 'OAuth2RequestPerformer'
class OAuth2MockPerformer: OAuth2RequestPerformer {
      ^
Sources/Base/OAuth2RequestPerformer.swift:25:7: note: protocol requires function 'perform(request:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
        func perform(request: URLRequest) async throws -> (Data, URLResponse)
             ^
Tests/FlowTests/OAuth2CodeGrantTests.swift:482:9: error: value of type 'OAuth2CodeGrant' has no member 'didAuthorizeOrFail'
                oauth.didAuthorizeOrFail = { json, error in
                ~~~~~ ^~~~~~~~~~~~~~~~~~
Tests/FlowTests/OAuth2CodeGrantTests.swift:482:32: error: cannot infer type of closure parameter 'json' without a type annotation
                oauth.didAuthorizeOrFail = { json, error in
                                             ^
Tests/FlowTests/OAuth2CodeGrantTests.swift:482:38: error: cannot infer type of closure parameter 'error' without a type annotation
                oauth.didAuthorizeOrFail = { json, error in
                                                   ^
Tests/FlowTests/OAuth2CodeGrantTests.swift:491:28: error: type of expression is ambiguous without a type annotation
                oauth.didAuthorizeOrFail = { json, error in
                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

Compile OAuth2DeviceGrantTests.swift (arm64)
Compile OAuth2DataLoaderTests.swift (arm64)
error: Swift Compiler Error: Type 'OAuth2AnyBearerPerformer' does not conform to protocol 'OAuth2RequestPerformer'

Tests/DataLoaderTests/OAuth2DataLoaderTests.swift:98:7: error: type 'OAuth2AnyBearerPerformer' does not conform to protocol 'OAuth2RequestPerformer'
class OAuth2AnyBearerPerformer: OAuth2RequestPerformer {
      ^
Sources/Base/OAuth2RequestPerformer.swift:25:7: note: protocol requires function 'perform(request:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
        func perform(request: URLRequest) async throws -> (Data, URLResponse)
             ^

Compiling OAuth2ImplicitGrantTests.swift, OAuth2RefreshTokenTests.swift, OAuth2Tests.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 74 in Tests/FlowTests/OAuth2DynRegTests.swift

See this annotation in the file changed.

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

error

Extra trailing closure passed in call

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

See this annotation in the file changed.

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

error

Extra trailing closure passed in call

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

See this annotation in the file changed.

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

error

Extra trailing closure passed in call

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 482 in Tests/FlowTests/OAuth2CodeGrantTests.swift

See this annotation in the file changed.

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

error

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

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

See this annotation in the file changed.

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

error

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

Check failure on line 482 in Tests/FlowTests/OAuth2CodeGrantTests.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 491 in Tests/FlowTests/OAuth2CodeGrantTests.swift

See this annotation in the file changed.

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

error

Type of expression is ambiguous without a type annotation

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'