cd /Users/apple/workspace/go/src/github.com/X-Wei/flutter_catalog/ && flutter packages get
Running "flutter pub get" in flutter_catalog... 1.4s
cd /Users/apple/workspace/go/src/github.com/X-Wei/flutter_catalog/ && flutter packages pub run build_runner build --delete-conflicting-outputs
[INFO] Generating build script...
[INFO] Generating build script completed, took 852ms
[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 22.3s
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 1.4s
[INFO] Checking for unexpected pre-existing outputs....
[INFO] Deleting 1 declared outputs which already existed on disk.
[INFO] Checking for unexpected pre-existing outputs. completed, took 8ms
[INFO] Running build...
[INFO] Generating SDK summary...
[INFO] 5.4s elapsed, 0/16 actions completed.
[INFO] Generating SDK summary completed, took 5.4s
[INFO] 6.5s elapsed, 0/16 actions completed.
[INFO] 7.5s elapsed, 0/16 actions completed.
[INFO] 8.7s elapsed, 0/16 actions completed.
[INFO] 9.8s elapsed, 0/16 actions completed.
[INFO] 10.9s elapsed, 0/16 actions completed.
[INFO] 12.0s elapsed, 0/16 actions completed.
[INFO] 13.2s elapsed, 0/16 actions completed.
[INFO] 14.2s elapsed, 0/16 actions completed.
[WARNING] No actions completed for 15.0s, waiting on:
- hive_generator:hive_generator on lib/themes.dart
- hive_generator:hive_generator on lib/main_desktop.dart
- hive_generator:hive_generator on lib/my_app_settings.dart
- hive_generator:hive_generator on lib/main.dart
- hive_generator:hive_generator on lib/my_main_app.dart
.. and 11 more
[INFO] 16.1s elapsed, 0/16 actions completed.
[INFO] 17.2s elapsed, 0/16 actions completed.
[INFO] 18.4s elapsed, 0/16 actions completed.
[INFO] 26.9s elapsed, 1/16 actions completed.
[INFO] 29.1s elapsed, 2/18 actions completed.
[INFO] 31.7s elapsed, 12/27 actions completed.
[INFO] 32.7s elapsed, 52/66 actions completed.
[INFO] Running build completed, took 33.5s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 146ms
[INFO] Succeeded after 33.7s with 2 outputs (147 actions)
cd /Users/apple/workspace/go/src/github.com/X-Wei/flutter_catalog/ && flutter run -d all
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Compiler message:
lib/routes/data/todo_item.g.dart:20:8: Error: The setter 'createdAt' isn't defined for the
class 'TodoItem'.
- 'TodoItem' is from 'package:flutter_catalog/routes/data/todo_item.dart'
('lib/routes/data/todo_item.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field
named 'createdAt'.
)..createdAt = fields[3] as DateTime;
^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
Failed to build bundle.
Error launching application on iPhone 11 Pro Max.