Skip to content

Instantly share code, notes, and snippets.

@maximveksler
Created July 27, 2022 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maximveksler/1fdff8b1e05ac296171ac9938752f429 to your computer and use it in GitHub Desktop.
Save maximveksler/1fdff8b1e05ac296171ac9938752f429 to your computer and use it in GitHub Desktop.
m@m-inspiron5567:~/code/pr/flutter_firebase_phone_auth_riverpod$ flutter pub get
Running "flutter pub get" in flutter_firebase_phone_auth_riverpod... 2,206ms
m@m-inspiron5567:~/code/pr/flutter_firebase_phone_auth_riverpod$ flutter pub run build_runner build --delete-conflicting-outputs
[INFO] Generating build script...
[INFO] Generating build script completed, took 384ms
[INFO] Precompiling build script......
[INFO] Precompiling build script... completed, took 7.5s
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 770ms
[INFO] Checking for unexpected pre-existing outputs....
[INFO] Deleting 2 declared outputs which already existed on disk.
[INFO] Checking for unexpected pre-existing outputs. completed, took 3ms
[INFO] Running build...
[INFO] Generating SDK summary...
[INFO] 3.7s elapsed, 0/16 actions completed.
[INFO] Generating SDK summary completed, took 3.7s
[INFO] 4.8s elapsed, 14/18 actions completed.
[INFO] 7.1s elapsed, 14/18 actions completed.
[INFO] 10.3s elapsed, 14/18 actions completed.
[WARNING] freezed:freezed on lib/state/sign_in_state.dart:
The class SignInState was declared as abstract, but it is not needed anymore.
Read here: https://github.com/rrousselGit/freezed/blob/master/packages/freezed/CHANGELOG.md#0140
[SEVERE] freezed:freezed on lib/state/sign_in_state.dart:
An error `FormatterException` occurred while formatting the generated source for
`package:flutter_firebase_phone_auth_riverpod/state/sign_in_state.dart`
which was output to
`lib/state/sign_in_state.freezed.dart`.
This may indicate an issue in the generator, the input source code, or in the
source formatter.
Could not format because the source could not be parsed:
line 21, column 242 of .: Expected to find ')'.
21 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() notValid,required TResult Function() canSubmit,required TResult Function() loading,required TResult Function() success,required TResult Function( String* errorText) error,}) => throw _privateConstructorUsedError;
│ ^
line 22, column 208 of .: Expected to find ')'.
22 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,}) => throw _privateConstructorUsedError;
│ ^
line 23, column 206 of .: Expected to find ')'.
23 │ @optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,required TResult orElse(),}) => throw _privateConstructorUsedError;
│ ^
line 107, column 242 of .: Expected to find ')'.
107 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() notValid,required TResult Function() canSubmit,required TResult Function() loading,required TResult Function() success,required TResult Function( String* errorText) error,}) {
│ ^
line 111, column 208 of .: Expected to find ')'.
111 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,}) {
│ ^
line 115, column 206 of .: Expected to find ')'.
115 │ @optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,required TResult orElse(),}) {
│ ^
line 205, column 242 of .: Expected to find ')'.
205 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() notValid,required TResult Function() canSubmit,required TResult Function() loading,required TResult Function() success,required TResult Function( String* errorText) error,}) {
│ ^
line 209, column 208 of .: Expected to find ')'.
209 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,}) {
│ ^
line 213, column 206 of .: Expected to find ')'.
213 │ @optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()? notValid,TResult Function()? canSubmit,TResult Function()? loading,TResult Function()? success,TResult Function( String* errorText)? error,required TResult orElse(),}) {
│ ^
line 303, column 242 of .: Expected to find ')'.
303 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() notValid,required TResult Function() canSubmit,required TResult Function() loading,required TResult Function() success,required TResult Function( String* errorText) error,}) {
│ ^
(21 more errors...)
[WARNING] freezed:freezed on lib/state/auth_state.dart:
The class AuthState was declared as abstract, but it is not needed anymore.
Read here: https://github.com/rrousselGit/freezed/blob/master/packages/freezed/CHANGELOG.md#0140
[SEVERE] freezed:freezed on lib/state/auth_state.dart:
An error `FormatterException` occurred while formatting the generated source for
`package:flutter_firebase_phone_auth_riverpod/state/auth_state.dart`
which was output to
`lib/state/auth_state.freezed.dart`.
This may indicate an issue in the generator, the input source code, or in the
source formatter.
Could not format because the source could not be parsed:
line 21, column 147 of .: Expected to find ')'.
21 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() initializing,required TResult Function( CountryWithPhoneCode* country) ready,required TResult Function( String* errorText) error,}) => throw _privateConstructorUsedError;
│ ^
line 21, column 198 of .: Expected to find ')'.
21 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() initializing,required TResult Function( CountryWithPhoneCode* country) ready,required TResult Function( String* errorText) error,}) => throw _privateConstructorUsedError;
│ ^
line 22, column 137 of .: Expected to find ')'.
22 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,}) => throw _privateConstructorUsedError;
│ ^
line 22, column 180 of .: Expected to find ')'.
22 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,}) => throw _privateConstructorUsedError;
│ ^
line 23, column 135 of .: Expected to find ')'.
23 │ @optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,required TResult orElse(),}) => throw _privateConstructorUsedError;
│ ^
line 23, column 178 of .: Expected to find ')'.
23 │ @optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,required TResult orElse(),}) => throw _privateConstructorUsedError;
│ ^
line 100, column 147 of .: Expected to find ')'.
100 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() initializing,required TResult Function( CountryWithPhoneCode* country) ready,required TResult Function( String* errorText) error,}) {
│ ^
line 100, column 198 of .: Expected to find ')'.
100 │ @optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function() initializing,required TResult Function( CountryWithPhoneCode* country) ready,required TResult Function( String* errorText) error,}) {
│ ^
line 104, column 137 of .: Expected to find ')'.
104 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,}) {
│ ^
line 104, column 180 of .: Expected to find ')'.
104 │ @optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult Function()? initializing,TResult Function( CountryWithPhoneCode* country)? ready,TResult Function( String* errorText)? error,}) {
│ ^
(40 more errors...)
[INFO] Running build completed, took 10.6s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 41ms
[SEVERE] Failed after 10.6s
pub finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment