Skip to content

chore(settings)!: make reader bindings IEnumerable to allow for simpl… #476

chore(settings)!: make reader bindings IEnumerable to allow for simpl…

chore(settings)!: make reader bindings IEnumerable to allow for simpl… #476

Triggered via push October 31, 2023 22:13
Status Failure
Total duration 1m 8s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
build (macos-latest): test/LEGO.AsyncAPI.Tests/Models/AsyncApiMessage_Should.cs#L396
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/WebSockets/WebSocketBindings_Should.cs#L47
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Http/HttpBindings_Should.cs#L39
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs#L58
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L64
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L83
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Http/HttpBindings_Should.cs#L76
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L102
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L142
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (macos-latest): test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L178
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
build (windows-latest)
The operation was canceled.
build (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/