Recognize if-like Tree.MultiSegmentApp as IfThenElse IR #6825
1968 passed, 8 failed and 57 skipped
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.ApplicationSpec.xml
7 tests were completed in 47ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.ApplicationSpec | 7✅ | 47ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.CLIOutputSpec.xml
9 tests were completed in 16ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.CLIOutputSpec | 9✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.OptsSpec.xml
30 tests were completed in 172ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.OptsSpec | 30✅ | 172ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.SpellingSpec.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.SpellingSpec | 3✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.task.TaskProgressSpec.xml
2 tests were completed in 31ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.task.TaskProgressSpec | 2✅ | 31ms |
❌ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.pass.analyse.test.AliasAnalysisTest.xml
70 tests were completed in 36ms with 69 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.pass.analyse.test.AliasAnalysisTest | 69✅ | 1❌ | 36ms |
❌ org.enso.compiler.pass.analyse.test.AliasAnalysisTest
✅ The analysis scope should have a number of scopes of 1 without children
✅ The analysis scope should have a nesting level of 1 without children
✅ The analysis scope should have the correct number of scopes with children
✅ The analysis scope should have the correct nesting depth with children
✅ The analysis scope should allow correctly getting the n-th parent
✅ The analysis scope should return `None` for nonexistent parents
✅ The analysis scope should find the occurrence for an ID in the current scope if it exists
✅ The analysis scope should find the occurrence for an name in the current scope if it exists
✅ The analysis scope should find no occurrences if they do not exist
✅ The analysis scope should correctly resolve usage links where they exist
✅ The analysis scope should correctly find the scope where a given ID occurs
✅ The analysis scope should correctly find the scopes in which a given symbol occurs
✅ The analysis scope should return the correct set of symbols
✅ The analysis scope should check correctly for specified occurrences of a symbol
✅ The analysis scope should be able to convert from a symbol to identifiers that use it
✅ The analysis scope should be able to convert from an identifier to the associated symbol
✅ The analysis scope should be able to check if a provided scope is a child of the current scope
✅ The analysis scope should allow itself to be copied deeply
✅ The analysis scope should count the number of scopes to the root
✅ if_then_doubled example should have four subscopes
✅ if_then_doubled example should frame needs two slots for x
✅ if_then_doubled example should are uses different
✅ if_then_doubled example should frame pointer for definition of a
✅ if_then_doubled example should xUse1 uses xDef1
✅ if_then_doubled example should xUse2 uses xDef2
✅ The Aliasing graph should allow itself to be deep copied
✅ The Aliasing graph should correctly resolve usages where possible
✅ The Aliasing graph should gather all links for a given ID correctly
✅ The Aliasing graph should find the scope where a given ID is defined
✅ The Aliasing graph should find all scopes where a given symbol occurs
✅ The Aliasing graph should correctly determine the number of scopes in the graph
✅ The Aliasing graph should correctly determine the maximum level of nesting in the graph
✅ The Aliasing graph should correctly determines whether an occurrence shadows other bindings
✅ The Aliasing graph should correctly determine the identifiers of bindings shadowed by a definition
✅ The Aliasing graph should correctly determine all symbols that occur in the graph
✅ The Aliasing graph should correctly return all links for a given symbol
✅ The Aliasing graph should correctly finds the occurrence for a provided ID
✅ The Aliasing graph should correctly finds the definition link for a provided id
✅ Alias analysis for atom definitions should assign Info.Scope.Root metadata to the atom
✅ Alias analysis for atom definitions should create definition occurrences in the atom's scope
✅ Alias analysis for atom definitions should create defaults in the same scope as the argument
✅ Alias analysis for atom definitions should create usage links where valid
✅ Alias analysis for atom definitions should enforce the ordering scope constraint on function arguments
✅ Alias analysis on function methods should assign Info.Scope.Root metadata to the method
✅ Alias analysis on function methods should assign Info.Scope.Child to all child scopes
✅ Alias analysis on function methods should not allocate additional scopes unnecessarily
✅ Alias analysis on function methods should allocate new scopes where necessary
✅ Alias analysis on function methods should assign Info.GraphOccurrence to definitions and usages of symbols
✅ Alias analysis on function methods should create the correct usage links for resolvable entities
✅ Alias analysis on function methods should not resolve links for unknown symbols
✅ Alias analysis on block methods should assign Info.Scope.Root metadata to the method
✅ Alias analysis on block methods should assign Info.Scope.Child to all child scopes
✅ Alias analysis on block methods should not allocate additional scopes unnecessarily
✅ Alias analysis on self should assign Info.Scope.Root metadata to the method
✅ Alias analysis on self should not add self to the scope
✅ Alias analysis on self should add self as a definition
✅ Alias analysis on conversion methods should assign Info.Scope.Root metatata to the method
✅ Alias analysis on conversion methods should assign Info.Scope.Child to all child scopes
✅ Alias analysis on conversion methods should not allocate additional scopes unnecessarily
✅ Alias analysis on conversion methods should allocate new scopes where necessary
✅ Alias analysis on conversion methods should assign Info.GraphOccurrence to definitions and usages of symbols
✅ Alias analysis on conversion methods should create the correct usage links for resolvable entities
✅ Alias analysis on conversion methods should not resolve links for unknown symbols
✅ Alias analysis on case expressions should expose the scrutinee in the parent scope
✅ Alias analysis on case expressions should create child scopes for the branch function
✅ Alias analysis on case expressions should cons branch scope should have argument definitions
✅ Alias analysis on case expressions should correctly link to pattern variables
✅ Alias analysis on case expressions should correctly link to pattern variables in type patterns
✅ Alias analysis on typeset literals should create a new scope for the literal
❌ Redefinitions should be caught for bindings
org.scalatest.exceptions.TestFailedException:
Expression.Binding(
name =
Name.Literal(
name = a,
isMethod = false,
location = Some(IdentifiedLocation[start=45, end=46, uuid=None]),
passData = MetadataStorage[],
diagnostics = null,
id = null
)
,
expression = Application.Prefix(diagnostics = null, passData = MetadataStorage[], location = IdentifiedLocation[start=49, end=54, uuid=None], id = null, function = Name.Literal( name = +, isMethod = true, location = Some(IdentifiedLocation[start=51, end=52, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 67682bba-f1d7-4d98-b986-286293622f93 ) , arguments = List(CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=49, end=50, uuid=None], id = null, name = None, value = Name.Literal( name = b, isMethod = false, location = Some(IdentifiedLocation[start=49, end=50, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 94d9fa5b-3680-45a1-9d73-19b96d02efca ) , isSynthetic = false), CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=53, end=54, uuid=None], id = null, name = None, value = Literal.Number( base = None, value = 1, location = Some(IdentifiedLocation[start=53, end=54, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null ) , isSynthetic = false)), hasDefaultsSuspended = false),
location = Some(IdentifiedLocation[start=45, end=54, uuid=None])
passData = MetadataStorage[AliasMetadata.Occurrence, IgnoredBindings.State.NotIgnored],
diagnostics = null,
id = 6fbbda66-0391-46d2-acbb-01b31ad2f0f0
)
was not an instance of org.enso.compiler.core.ir.expression.errors.Redefined$Binding, but an instance of org.enso.compiler.core.ir.Expression$Binding
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.pass.analyse.test.FramePointerAnalysisTest.xml
17 tests were completed in 32ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.pass.analyse.test.FramePointerAnalysisTest | 17✅ | 32ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.CacheInvalidationTest.xml
1 tests were completed in 31ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.CacheInvalidationTest | 1⚪ | 31ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.ChangesetBuilderTest.xml
21 tests were completed in 1s with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.ChangesetBuilderTest | 21✅ | 1s |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.FreshNameSupplyTest.xml
1 tests were completed in 141ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.FreshNameSupplyTest | 1✅ | 141ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.SuggestionBuilderTest.xml
64 tests were completed in 203ms with 63 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.SuggestionBuilderTest | 63✅ | 1⚪ | 203ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.core.ir.DiagnosticStorageTest.xml
2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.core.ir.DiagnosticStorageTest | 2✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.core.ir.MetadataStorageTest.xml
10 tests were completed in 10ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.core.ir.MetadataStorageTest | 10✅ | 10ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.BindingAnalysisTest.xml
5 tests were completed in 16ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.BindingAnalysisTest | 5✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.DataflowAnalysisTest.xml
33 tests were completed in 31ms with 33 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.DataflowAnalysisTest | 33✅ | 31ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.DemandAnalysisTest.xml
7 tests were completed in 14ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.DemandAnalysisTest | 7✅ | 14ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.GatherDiagnosticsTest.xml
4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.GatherDiagnosticsTest | 4✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.PrivateModifierTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.PrivateModifierTest | 3✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.TailCallTest.xml
20 tests were completed in 144ms with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.TailCallTest | 20✅ | 144ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.ComplexTypeTest.xml
8 tests were completed in 9ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.ComplexTypeTest | 8✅ | 9ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.FunctionBindingTest.xml
13 tests were completed in 15ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.FunctionBindingTest | 13✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.GenerateMethodBodiesTest.xml
21 tests were completed in 0ms with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.GenerateMethodBodiesTest | 21✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.ImportsTest.xml
3 tests were completed in 15ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.ImportsTest | 3✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.xml
19 tests were completed in 47ms with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest | 19✅ | 47ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.NestedPatternMatchTest.xml
10 tests were completed in 16ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.NestedPatternMatchTest | 10✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.OperatorToFunctionTest.xml
5 tests were completed in 9ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.OperatorToFunctionTest | 5✅ | 9ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.SectionsToBinOpTest.xml
5 tests were completed in 31ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.SectionsToBinOpTest | 5✅ | 31ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.NoSelfInStaticTests.xml
5 tests were completed in 15ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.NoSelfInStaticTests | 5✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.ShadowedPatternFieldsTest.xml
2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.ShadowedPatternFieldsTest | 2✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.UnusedBindingsTest.xml
8 tests were completed in 31ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.UnusedBindingsTest | 8✅ | 31ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.optimise.LambdaConsolidateTest.xml
9 tests were completed in 16ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.optimise.LambdaConsolidateTest | 9✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.optimise.UnreachableMatchBranchesTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.optimise.UnreachableMatchBranchesTest | 3✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.PassConfigurationTest.xml
9 tests were completed in 16ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.PassConfigurationTest | 9✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.PassManagerTest.xml
2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.PassManagerTest | 2✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.DocumentationCommentsTest.xml
13 tests were completed in 16ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.DocumentationCommentsTest | 13✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.ExpressionAnnotationsTest.xml
4 tests were completed in 16ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.ExpressionAnnotationsTest | 4✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.GlobalNamesTest.xml
11 tests were completed in 0ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.GlobalNamesTest | 11✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.IgnoredBindingsTest.xml
12 tests were completed in 0ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.IgnoredBindingsTest | 12✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.MethodDefinitionsTest.xml
1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.MethodDefinitionsTest | 1✅ | 5ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.ModuleAnnotationsTest.xml
8 tests were completed in 16ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.ModuleAnnotationsTest | 8✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.OverloadsResolutionTest.xml
6 tests were completed in 15ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.OverloadsResolutionTest | 6✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.PatternsTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.PatternsTest | 1✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.SugaredTypeFunctionsTest.xml
14 tests were completed in 15ms with 12 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.SugaredTypeFunctionsTest | 12✅ | 2⚪ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.SuspendedArgumentsTest.xml
9 tests were completed in 15ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.SuspendedArgumentsTest | 9✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.TypeNamesTest.xml
4 tests were completed in 23ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.TypeNamesTest | 4✅ | 23ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.TypeSignaturesTest.xml
12 tests were completed in 3ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.TypeSignaturesTest | 12✅ | 3ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.PassesTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.compiler.pass.analyse.test.AliasAnalysisTest ► Redefinitions should be caught for bindings
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.pass.analyse.test.AliasAnalysisTest.xml
Error:
org.scalatest.exceptions.TestFailedException: Expression.Binding( name = Name.Literal( name = a, isMethod = false, location = Some(IdentifiedLocation[start=45, end=46, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null), expression = Application.Prefix(diagnostics = null, passData = MetadataStorage[], location = IdentifiedLocation[start=49, end=54, uuid=None], id = null, function = Name.Literal( name = +, isMethod = true, location = Some(IdentifiedLocation[start=51, end=52, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 67682bba-f1d7-4d98-b986-286293622f93 ) , arguments = List(CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=49, end=50, uuid=None], id = null, name = None, value = Name.Literal( name = b, isMethod = false, location = Some(IdentifiedLocation[start=49, end=50, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 94d9fa5b-3680-45a1-9d73-19b96d02efca ) , isSynthetic = false), CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=53, end=54, uuid=None], id = null, name = None, value = Literal.Number( base = None, value = 1, location = Some(IdentifiedLocation[start=53, end=54, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null ) , isSynthetic = false)), hasDefaultsSuspended = false), location = Some(IdentifiedLocation[start=45, end=54, uuid=None]) passData = MetadataStorage[AliasMetadata.Occurrence, IgnoredBindings.State.NotIgnored], diagnostics = null, id = 6fbbda66-0391-46d2-acbb-01b31ad2f0f0) was not an instance of org.enso.compiler.core.ir.expression.errors.Redefined$Binding, but an instance of org.enso.compiler.core.ir.Expression$Binding
Raw output
org.scalatest.exceptions.TestFailedException: Expression.Binding( name = Name.Literal( name = a, isMethod = false, location = Some(IdentifiedLocation[start=45, end=46, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null), expression = Application.Prefix(diagnostics = null, passData = MetadataStorage[], location = IdentifiedLocation[start=49, end=54, uuid=None], id = null, function = Name.Literal( name = +, isMethod = true, location = Some(IdentifiedLocation[start=51, end=52, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 67682bba-f1d7-4d98-b986-286293622f93 ) , arguments = List(CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=49, end=50, uuid=None], id = null, name = None, value = Name.Literal( name = b, isMethod = false, location = Some(IdentifiedLocation[start=49, end=50, uuid=None]), passData = MetadataStorage[AliasMetadata.Occurrence], diagnostics = null, id = 94d9fa5b-3680-45a1-9d73-19b96d02efca ) , isSynthetic = false), CallArgument.Specified(diagnostics = null, passData = MetadataStorage[AliasMetadata.ChildScope], location = IdentifiedLocation[start=53, end=54, uuid=None], id = null, name = None, value = Literal.Number( base = None, value = 1, location = Some(IdentifiedLocation[start=53, end=54, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null ) , isSynthetic = false)), hasDefaultsSuspended = false), location = Some(IdentifiedLocation[start=45, end=54, uuid=None]) passData = MetadataStorage[AliasMetadata.Occurrence, IgnoredBindings.State.NotIgnored], diagnostics = null, id = 6fbbda66-0391-46d2-acbb-01b31ad2f0f0) was not an instance of org.enso.compiler.core.ir.expression.errors.Redefined$Binding, but an instance of org.enso.compiler.core.ir.Expression$Binding
at org.scalatest.matchers.MatchersHelper$.newTestFailedException(MatchersHelper.scala:143)
at org.scalatest.matchers.TypeMatcherHelper$.assertAnType(TypeMatcherHelper.scala:194)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.$anonfun$new$96(AliasAnalysisTest.scala:1390)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.withFixture(AliasAnalysisTest.scala:28)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.runTest(AliasAnalysisTest.scala:28)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.runTests(AliasAnalysisTest.scala:28)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AliasAnalysisTest.scala:28)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.enso.runtime/org.enso.compiler.pass.analyse.test.AliasAnalysisTest.run(AliasAnalysisTest.scala:28)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Check failure on line 26 in lib/scala/testkit/src/main/scala/org/enso/testkit/OsSpec.scala
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.instrument.RuntimeComponentsTest ► should load component groups of standard library
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.instrument.RuntimeComponentsTest.xml
Error:
org.scalatest.exceptions.TestFailedException: List("C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Internal\SQLite\SQLite_Dialect.enso:657:9: warning: Unused variable expr.", " 657 | expr = SQL_Expression.Operation "CASE" [is_true, SQL_Expression.Literal "TRUE", is_false, SQL_Expression.Literal "FALSE", SQL_Expression.Literal "NULL"]", " | ^~~~", "C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Errors.enso:91:9: warning: Unused variable max_length.", " 91 | max_length = 300", " | ^~~~~~~~~~") did not equal List()
Raw output
org.scalatest.exceptions.TestFailedException: List("C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Internal\SQLite\SQLite_Dialect.enso:657:9: warning: Unused variable expr.", " 657 | expr = SQL_Expression.Operation "CASE" [is_true, SQL_Expression.Literal "TRUE", is_false, SQL_Expression.Literal "FALSE", SQL_Expression.Literal "NULL"]", " | ^~~~", "C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Errors.enso:91:9: warning: Unused variable max_length.", " 91 | max_length = 300", " | ^~~~~~~~~~") did not equal List()
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.$anonfun$new$4(RuntimeComponentsTest.scala:381)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.org$scalatest$concurrent$TimeLimitedTests$$super$withFixture(RuntimeComponentsTest.scala:35)
at org.scalatest.concurrent.TimeLimitedTests.$anonfun$withFixture$3(TimeLimitedTests.scala:154)
at org.scalatest.enablers.Timed$$anon$1.timeoutAfter(Timed.scala:127)
at org.scalatest.concurrent.TimeLimits$.failAfterImpl(TimeLimits.scala:282)
at org.scalatest.concurrent.TimeLimitedTests.withFixture(TimeLimitedTests.scala:153)
at org.scalatest.concurrent.TimeLimitedTests.withFixture$(TimeLimitedTests.scala:150)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.org$enso$testkit$OsSpec$$super$withFixture(RuntimeComponentsTest.scala:35)
at org.enso.testkit.OsSpec.withFixture(OsSpec.scala:26)
at org.enso.testkit.OsSpec.withFixture$(OsSpec.scala:18)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.withFixture(RuntimeComponentsTest.scala:35)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.org$scalatest$BeforeAndAfterEach$$super$runTest(RuntimeComponentsTest.scala:35)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.runTest(RuntimeComponentsTest.scala:35)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.org$scalatest$BeforeAndAfterAll$$super$run(RuntimeComponentsTest.scala:35)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeComponentsTest.run(RuntimeComponentsTest.scala:35)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.instrument.RuntimeServerTest ► RuntimeServer should return compiler error variable redefined
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.instrument.RuntimeServerTest.xml
Error:
org.scalatest.exceptions.TestFailedException: List(Response(Some(25fa9a08-b5b8-4c3e-95f2-6513a1060775), PushContextResponse(649409fe-58bc-4d54-97de-a7dbe0813a2e)), Response(None, ExecutionUpdate(649409fe-58bc-4d54-97de-a7dbe0813a2e, List(Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(1, 4), Position(1, 5))), None, Vector()), Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(2, 4), Position(2, 5))), None, Vector()))))) did not contain the same elements as List(Response(Some(25fa9a08-b5b8-4c3e-95f2-6513a1060775), PushContextResponse(649409fe-58bc-4d54-97de-a7dbe0813a2e)), Response(None, ExecutionUpdate(649409fe-58bc-4d54-97de-a7dbe0813a2e, List(Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(1, 4), Position(1, 5))), None, Vector()), Diagnostic(Error, Some("Variable x is being redefined."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(2, 4), Position(2, 9))), None, Vector())))))
Raw output
org.scalatest.exceptions.TestFailedException: List(Response(Some(25fa9a08-b5b8-4c3e-95f2-6513a1060775), PushContextResponse(649409fe-58bc-4d54-97de-a7dbe0813a2e)), Response(None, ExecutionUpdate(649409fe-58bc-4d54-97de-a7dbe0813a2e, List(Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(1, 4), Position(1, 5))), None, Vector()), Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(2, 4), Position(2, 5))), None, Vector()))))) did not contain the same elements as List(Response(Some(25fa9a08-b5b8-4c3e-95f2-6513a1060775), PushContextResponse(649409fe-58bc-4d54-97de-a7dbe0813a2e)), Response(None, ExecutionUpdate(649409fe-58bc-4d54-97de-a7dbe0813a2e, List(Diagnostic(Warning, Some("Unused variable x."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(1, 4), Position(1, 5))), None, Vector()), Diagnostic(Error, Some("Variable x is being redefined."), Some(C:\Users\ContainerAdministrator\AppData\Local\Temp\enso-test-packages18371335186279625716\src\Main.enso), Some(Range(Position(2, 4), Position(2, 9))), None, Vector())))))
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
at org.scalatest.matchers.dsl.ResultOfContainWord.theSameElementsAs(ResultOfContainWord.scala:205)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeServerTest.$anonfun$new$65(RuntimeServerTest.scala:5977)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeServerTest.org$scalatest$BeforeAndAfterEach$$super$runTest(RuntimeServerTest.scala:26)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeServerTest.runTest(RuntimeServerTest.scala:26)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Check failure on line 26 in lib/scala/testkit/src/main/scala/org/enso/testkit/OsSpec.scala
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.instrument.RuntimeStdlibTest ► should import Base modules
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.instrument.RuntimeStdlibTest.xml
Error:
org.scalatest.exceptions.TestFailedException: List("C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Errors.enso:91:9: warning: Unused variable max_length.", " 91 | max_length = 300", " | ^~~~~~~~~~", "C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Internal\SQLite\SQLite_Dialect.enso:657:9: warning: Unused variable expr.", " 657 | expr = SQL_Expression.Operation "CASE" [is_true, SQL_Expression.Literal "TRUE", is_false, SQL_Expression.Literal "FALSE", SQL_Expression.Literal "NULL"]", " | ^~~~", "Hello World!") did not equal List("Hello World!")
Raw output
org.scalatest.exceptions.TestFailedException: List("C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Errors.enso:91:9: warning: Unused variable max_length.", " 91 | max_length = 300", " | ^~~~~~~~~~", "C:\runner\_work\enso\enso\distribution\lib\Standard\Database\0.0.0-dev\src\Internal\SQLite\SQLite_Dialect.enso:657:9: warning: Unused variable expr.", " 657 | expr = SQL_Expression.Operation "CASE" [is_true, SQL_Expression.Literal "TRUE", is_false, SQL_Expression.Literal "FALSE", SQL_Expression.Literal "NULL"]", " | ^~~~", "Hello World!") did not equal List("Hello World!")
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.$anonfun$new$1(RuntimeStdlibTest.scala:302)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.org$scalatest$concurrent$TimeLimitedTests$$super$withFixture(RuntimeStdlibTest.scala:26)
at org.scalatest.concurrent.TimeLimitedTests.$anonfun$withFixture$3(TimeLimitedTests.scala:154)
at org.scalatest.enablers.Timed$$anon$1.timeoutAfter(Timed.scala:127)
at org.scalatest.concurrent.TimeLimits$.failAfterImpl(TimeLimits.scala:282)
at org.scalatest.concurrent.TimeLimitedTests.withFixture(TimeLimitedTests.scala:153)
at org.scalatest.concurrent.TimeLimitedTests.withFixture$(TimeLimitedTests.scala:150)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.org$enso$testkit$OsSpec$$super$withFixture(RuntimeStdlibTest.scala:26)
at org.enso.testkit.OsSpec.withFixture(OsSpec.scala:26)
at org.enso.testkit.OsSpec.withFixture$(OsSpec.scala:18)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.withFixture(RuntimeStdlibTest.scala:26)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.org$scalatest$BeforeAndAfterEach$$super$runTest(RuntimeStdlibTest.scala:26)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.runTest(RuntimeStdlibTest.scala:26)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.org$scalatest$BeforeAndAfterAll$$super$run(RuntimeStdlibTest.scala:26)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at org.enso.runtime/org.enso.interpreter.test.instrument.RuntimeStdlibTest.run(RuntimeStdlibTest.scala:26)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.semantic.CompileDiagnosticsTest ► Compile Error Reporting when Context is Cached should surface redefinition errors in the language
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.CompileDiagnosticsTest.xml
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.CompileDiagnosticsTest.xml
Error:
org.scalatest.exceptions.TestFailedException: Nothing did not equal "(Compile_Error.Error 'Variable x is being redefined.')"
Raw output
org.scalatest.exceptions.TestFailedException: Nothing did not equal "(Compile_Error.Error 'Variable x is being redefined.')"
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.semantic.CompileDiagnosticsTest.$anonfun$specify$3(CompileDiagnosticsTest.scala:54)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1880)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.scalatest.wordspec.AnyWordSpec.run(AnyWordSpec.scala:1880)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.semantic.StrictCompileDiagnosticsTest ► Compile Errors in Batch Mode when Context is Cached should be reported and abort execution
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.StrictCompileDiagnosticsTest.xml
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.StrictCompileDiagnosticsTest.xml
Error:
org.scalatest.exceptions.TestFailedException: HashSet("Test:4:9: error: Unexpected expression.", "Test:2:9: error: Parentheses can't be empty.", "Test:3:5: warning: Unused variable x.", "Test:2:5: warning: Unused variable x.", "Test:4:5: warning: Unused variable y.") did not equal HashSet("Test:3:5: error: Variable x is being redefined.", "Test:4:9: error: Unexpected expression.", "Test:2:9: error: Parentheses can't be empty.", "Test:2:5: warning: Unused variable x.", "Test:4:5: warning: Unused variable y.")
Raw output
org.scalatest.exceptions.TestFailedException: HashSet("Test:4:9: error: Unexpected expression.", "Test:2:9: error: Parentheses can't be empty.", "Test:3:5: warning: Unused variable x.", "Test:2:5: warning: Unused variable x.", "Test:4:5: warning: Unused variable y.") did not equal HashSet("Test:3:5: error: Variable x is being redefined.", "Test:4:9: error: Unexpected expression.", "Test:2:9: error: Parentheses can't be empty.", "Test:2:5: warning: Unused variable x.", "Test:4:5: warning: Unused variable y.")
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.semantic.StrictCompileDiagnosticsTest.$anonfun$specify$1(StrictCompileDiagnosticsTest.scala:38)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1880)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.scalatest.wordspec.AnyWordSpec.run(AnyWordSpec.scala:1880)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)