Skip to content

WIP: Fix test compiler errors. #437

WIP: Fix test compiler errors.

WIP: Fix test compiler errors. #437

Triggered via push September 12, 2024 21:43
Status Failure
Total duration 32s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L1566
Operator '!' cannot be applied to operand of type 'ExistsQuery'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/CustomVisitorTests.cs#L175
'TermsQuery' does not contain a definition for 'Terms'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/CustomVisitorTests.cs#L177
There is no argument given that corresponds to the required parameter 'field' of 'TermQuery.TermQuery(Field)'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L103
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMapping>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L107
'CreateIndexRequestDescriptor' does not contain a definition for 'Map' and no accessible extension method 'Map' accepting a first argument of type 'CreateIndexRequestDescriptor' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticMappingResolverTests.cs#L21
'TypeMappingDescriptor<MyNestedType>' does not contain a definition for 'AutoMap' and no accessible extension method 'AutoMap' accepting a first argument of type 'TypeMappingDescriptor<MyNestedType>' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L92
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L96
'TermQueryDescriptor<MyType>' does not contain a definition for 'Field1' and no accessible extension method 'Field1' accepting a first argument of type 'TermQueryDescriptor<MyType>' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L96
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L114
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMapping>' and 'lambda expression'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L500
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L501
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L516
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L517
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L538
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L539
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L554
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L555
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/ElasticExtensions.cs#L201
'ElasticsearchClient.Ping()' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L244
'ElasticsearchClient.Index<TDocument>(TDocument, Action<IndexRequestDescriptor<TDocument>>)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'