Skip to content

feat!: Use 32-bit vector_math #9998

feat!: Use 32-bit vector_math

feat!: Use 32-bit vector_math #9998

Triggered via pull request December 14, 2024 21:05
Status Failure
Total duration 17m 32s
Artifacts

cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors, 6 warnings, and 20 notices
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L14
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
A value of type 'dynamic' can't be assigned to a variable of type 'Vector2'.: examples/games/padracing/lib/ball.dart#L51
Try changing the type of the variable, or casting the right-hand type to 'Vector2'. See https://dart.dev/diagnostics/invalid_assignment to learn more about this problem.
The argument type 'dynamic' can't be assigned to the parameter type 'Offset'. : examples/games/padracing/lib/ball.dart#L75
See https://dart.dev/diagnostics/argument_type_not_assignable to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L80
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L85
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
A negation operand must have a static type of 'bool'.: examples/games/padracing/lib/ball.dart#L92
Try changing the operand to the '!' operator. See https://dart.dev/diagnostics/non_bool_negation_expression to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via 'package:flame/components.dart' and 'package:flame/extensions.dart')' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/car.dart#L36
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
'Vector2' isn't a function.: examples/games/padracing/lib/car.dart#L37
Try correcting the name to match an existing function, or define a method or function named 'Vector2'. See https://dart.dev/diagnostics/invocation_of_non_function to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via 'package:flame/components.dart' and 'package:flame/extensions.dart')' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/car.dart#L37
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
'Vector2' isn't a function.: examples/games/padracing/lib/car.dart#L38
Try correcting the name to match an existing function, or define a method or function named 'Vector2'. See https://dart.dev/diagnostics/invocation_of_non_function to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L14
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
A value of type 'dynamic' can't be assigned to a variable of type 'Vector2'.: examples/games/padracing/lib/ball.dart#L51
Try changing the type of the variable, or casting the right-hand type to 'Vector2'. See https://dart.dev/diagnostics/invalid_assignment to learn more about this problem.
The argument type 'dynamic' can't be assigned to the parameter type 'Offset'. : examples/games/padracing/lib/ball.dart#L75
See https://dart.dev/diagnostics/argument_type_not_assignable to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L80
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/extensions.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/ball.dart#L85
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
A negation operand must have a static type of 'bool'.: examples/games/padracing/lib/ball.dart#L92
Try changing the operand to the '!' operator. See https://dart.dev/diagnostics/non_bool_negation_expression to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via 'package:flame/components.dart' and 'package:flame/extensions.dart')' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/car.dart#L36
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
'Vector2' isn't a function.: examples/games/padracing/lib/car.dart#L37
Try correcting the name to match an existing function, or define a method or function named 'Vector2'. See https://dart.dev/diagnostics/invocation_of_non_function to learn more about this problem.
The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via 'package:flame/components.dart' and 'package:flame/extensions.dart')' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.: examples/games/padracing/lib/car.dart#L37
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports. See https://dart.dev/diagnostics/ambiguous_import to learn more about this problem.
'Vector2' isn't a function.: examples/games/padracing/lib/car.dart#L38
Try correcting the name to match an existing function, or define a method or function named 'Vector2'. See https://dart.dev/diagnostics/invocation_of_non_function to learn more about this problem.
test
19 tests passed, 172 failed.
test
0 tests passed, 5 failed.
test
0 tests passed, 1 failed.
test
0 tests passed, 5 failed.
test
0 tests passed, 4 failed.
test
0 tests passed, 1 failed.
test
0 tests passed, 4 failed.
test
0 tests passed, 2 failed.
test
0 tests passed, 1 failed.
test
0 tests passed, 1 failed.
markdown-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dcm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyze-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L75
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L90
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L90
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L92
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L20
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L38
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L38
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L39
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L39
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L52
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L75
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L90
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L90
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/ball.dart#L92
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L20
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L38
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L38
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L39
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L39
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.
Method invocation or property access on a 'dynamic' target.: examples/games/padracing/lib/lap_line.dart#L52
Try giving the target a type. See https://dart.dev/lints/avoid_dynamic_calls to learn more about this problem.