There seems to be some incompatibility between custom_lint and Flutter when running Linux in Docker, at least in CI (I tried both GH actions and Circle CI, Flutter versions 3.10.6 and 3.13.0). Runs fail with SocketException: Connection failed (OS Error: Cannot assign requested address, errno = 99), address = ::1, port = 42977 (the port number varies)
Describe the bug
There seems to be some incompatibility between
custom_lint
and Flutter when running Linux in Docker, at least in CI (I tried both GH actions and Circle CI, Flutter versions 3.10.6 and 3.13.0). Runs fail withSocketException: Connection failed (OS Error: Cannot assign requested address, errno = 99), address = ::1, port = 42977
(the port number varies)Example run in GH actions: https://github.com/tjarvstrand/custom_lints_test/actions/runs/5910988866/job/16033101882
To Reproduce
Here's minimal example repo that reproduces the issue: https://github.com/tjarvstrand/custom_lints_test
Removing Flutter references from
pubspec.yaml
allows the check workflow to pass.Expected behavior The check should pass even with flutter as a dependency.