Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make compatible with new SDK versions #12

Open
felipao-mx opened this issue Oct 24, 2022 · 0 comments
Open

make compatible with new SDK versions #12

felipao-mx opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@felipao-mx
Copy link
Member

felipao-mx commented Oct 24, 2022

tests fails when running on a new dart SDK version. here is the error log using SDK >= 2.18.2

Installing Dart SDK version "latest" from the stable channel (release) on linux-x64
Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[10](https://github.com/cuenca-mx/clabe-dart/actions/runs/3277530311/jobs/5394925508#step:3:12)0  180M  100  180M    0     0   213M      0 --:--:-- --:--:-- --:--:--  213M
Pub cache set to: /home/runner/.pub-cache
Successfully installed Dart SDK:
Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:[11](https://github.com/cuenca-mx/clabe-dart/actions/runs/3277530311/jobs/5394925508#step:3:13) 2022 +0200) on "linux_x64"
....
00:00 +0: loading test/clabe_test.dart                                                                                                                                                                 
00:01 +0: loading test/clabe_test.dart                                                                                                                                                                 
00:01 +0 -1: loading test/clabe_test.dart [E]                                                                                                                                                          
  Failed to load "test/clabe_test.dart":
  Unable to spawn isolate: test/clabe_test.dart: Error: A library can't opt out of null safety by default, when using sound null safety.
  Error: Cannot run with sound null safety, because the following dependencies
  don't support null safety:
  
   - package:test_core
   - package:test_api
   - package:test
   - package:clabe_dart
   - package:boolean_selector
   - package:matcher
  
  For solutions, see https://dart.dev/go/unsound-null-safety

00:01 +0 -1: Some tests failed.                                                                                                                                                                        
Error: Process completed with exit code 1.
@felipao-mx felipao-mx added the bug Something isn't working label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant