#1 [internal] load local bake definitions #1 reading from stdin 534B 0.0s done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 2.26kB done #2 DONE 0.0s #3 [auth] library/dart:pull token for registry-1.docker.io #3 DONE 0.0s #4 [internal] load metadata for ghcr.io/cirruslabs/flutter:stable #4 DONE 0.1s #5 [internal] load metadata for docker.io/library/dart:stable #5 DONE 0.7s #6 [internal] load .dockerignore #6 transferring context: 251B done #6 DONE 0.0s #7 [stage-1 1/8] FROM docker.io/library/dart:stable@sha256:ce08d4cb45d2f5197cd24adf0ccb0743dea75f0f11d7bc55a71dd22bd428955c #7 resolve docker.io/library/dart:stable@sha256:ce08d4cb45d2f5197cd24adf0ccb0743dea75f0f11d7bc55a71dd22bd428955c 0.0s done #7 DONE 0.1s #8 [builder 1/11] FROM ghcr.io/cirruslabs/flutter:stable@sha256:bc5062a72c83df6661a8e54dc9dbec65d5db163fa7297d12a995948e832156ae #8 resolve ghcr.io/cirruslabs/flutter:stable@sha256:bc5062a72c83df6661a8e54dc9dbec65d5db163fa7297d12a995948e832156ae 0.1s done #8 DONE 0.1s #9 [internal] load build context #9 transferring context: 145.59kB 0.0s done #9 DONE 0.0s #10 [builder 2/11] WORKDIR /app #10 CACHED #11 [builder 5/11] COPY pubspec.yaml ./ #11 CACHED #12 [builder 3/11] RUN git config --global --add safe.directory /app #12 CACHED #13 [builder 4/11] RUN flutter config --enable-web #13 CACHED #14 [stage-1 3/8] RUN apt-get update && apt-get install -y sqlite3 libsqlite3-dev ffmpeg && rm -rf /var/lib/apt/lists/* #14 CACHED #15 [stage-1 2/8] WORKDIR /app #15 CACHED #16 [builder 6/11] RUN flutter pub get #16 CACHED #17 [stage-1 4/8] RUN mkdir -p /tmp/streams && chmod 777 /tmp/streams #17 CACHED #18 [stage-1 5/8] COPY bin/ ./bin/ #18 DONE 0.1s #19 [builder 7/11] COPY . . #19 DONE 0.2s #20 [builder 8/11] RUN flutter pub get #20 0.300 Woah! You appear to be trying to run flutter as root. #20 0.300 We strongly recommend running the flutter tool without superuser privileges. #20 0.300 / #20 0.300 ­ƒôÄ #20 0.480 Resolving dependencies... #20 0.628 Downloading packages... #20 0.733 _fe_analyzer_shared 67.0.0 (92.0.0 available) #20 0.733 analyzer 6.4.1 (9.0.0 available) #20 0.733 analyzer_plugin 0.11.3 (0.13.11 available) #20 0.733 build 2.4.1 (4.0.3 available) #20 0.733 build_config 1.1.2 (1.2.0 available) #20 0.733 build_resolvers 2.4.2 (3.0.4 available) #20 0.733 build_runner 2.4.13 (2.10.4 available) #20 0.733 build_runner_core 7.3.2 (9.3.2 available) #20 0.733 characters 1.4.0 (1.4.1 available) #20 0.733 custom_lint_core 0.6.3 (0.8.1 available) #20 0.733 dart_style 2.3.6 (3.1.3 available) #20 0.733 dio_cache_interceptor 3.5.1 (4.0.5 available) #20 0.733 dio_cache_interceptor_hive_store 3.2.2 (discontinued replaced by http_cache_hive_store) #20 0.733 flutter_lints 3.0.2 (6.0.0 available) #20 0.733 flutter_riverpod 2.6.1 (3.0.3 available) #20 0.733 freezed_annotation 2.4.4 (3.1.0 available) #20 0.733 go_router 13.2.5 (17.0.0 available) #20 0.733 intl 0.19.0 (0.20.2 available) #20 0.733 lints 3.0.0 (6.0.0 available) #20 0.733 matcher 0.12.17 (0.12.18 available) #20 0.733 material_color_utilities 0.11.1 (0.13.0 available) #20 0.733 riverpod 2.6.1 (3.0.3 available) #20 0.733 riverpod_analyzer_utils 0.5.1 (0.5.10 available) #20 0.733 riverpod_annotation 2.6.1 (3.0.3 available) #20 0.733 riverpod_generator 2.4.0 (3.0.3 available) #20 0.733 shelf_web_socket 2.0.1 (3.0.0 available) #20 0.734 source_gen 1.5.0 (4.1.1 available) #20 0.734 source_helper 1.3.5 (1.3.9 available) #20 0.734 test_api 0.7.7 (0.7.8 available) #20 0.734 Got dependencies! #20 0.734 1 package is discontinued. #20 0.734 29 packages have newer versions incompatible with dependency constraints. #20 0.734 Try `flutter pub outdated` for more information. #20 DONE 1.0s #21 [stage-1 6/8] RUN dart pub get --directory=bin #21 0.372 Resolving dependencies in `bin`... #21 0.644 Downloading packages... #21 0.945 + args 2.7.0 #21 0.945 + async 2.13.0 #21 0.945 + collection 1.19.1 #21 0.945 + convert 3.1.2 #21 0.945 + crypto 3.0.7 #21 0.945 + ffi 2.1.4 #21 0.945 + fixnum 1.1.1 #21 0.945 + http 1.6.0 #21 0.945 + http_methods 1.1.1 #21 0.945 + http_parser 4.1.2 #21 0.945 + meta 1.17.0 #21 0.945 + mime 2.0.0 #21 0.945 + path 1.9.1 #21 0.945 + shelf 1.4.2 #21 0.945 + shelf_router 1.1.4 #21 0.945 + shelf_static 1.1.3 #21 0.945 + source_span 1.10.1 #21 0.945 + sqlite3 2.9.4 (3.1.1 available) #21 0.945 + stack_trace 1.12.1 #21 0.945 + stream_channel 2.1.4 #21 0.945 + string_scanner 1.4.1 #21 0.945 + term_glyph 1.2.2 #21 0.945 + typed_data 1.4.0 #21 0.945 + uuid 4.5.2 #21 0.945 + web 1.1.1 #21 0.945 Changed 25 dependencies in `bin`! #21 0.945 1 package has newer versions incompatible with dependency constraints. #21 0.945 Try `dart pub outdated` for more information. #21 DONE 1.0s #22 [builder 9/11] RUN dart run build_runner build --delete-conflicting-outputs #22 0.273 Woah! You appear to be trying to run flutter as root. #22 0.273 We strongly recommend running the flutter tool without superuser privileges. #22 0.273 / #22 0.273 ­ƒôÄ #22 2.651 [INFO] Generating build script... #22 2.809 [INFO] Generating build script completed, took 161ms #22 2.809 #22 2.827 [INFO] Precompiling build script...... #22 4.988 [INFO] Precompiling build script... completed, took 2.2s #22 4.988 #22 5.267 [INFO] Initializing inputs #22 5.574 [INFO] Building new asset graph... #22 6.477 [INFO] Building new asset graph completed, took 902ms #22 6.477 #22 6.477 [INFO] Checking for unexpected pre-existing outputs.... #22 6.477 [INFO] Deleting 2 declared outputs which already existed on disk. #22 6.479 [INFO] Checking for unexpected pre-existing outputs. completed, took 1ms #22 6.479 #22 6.484 [INFO] Running build... #22 6.505 [INFO] Generating SDK summary... #22 7.634 [INFO] 1.2s elapsed, 0/16 actions completed. #22 8.588 [WARNING] riverpod_generator on bin/utils/password_hasher.dart: #22 8.588 Your current `analyzer` version may not fully support your current SDK version. #22 8.588 #22 8.588 Analyzer language version: 3.4.0 #22 8.588 SDK language version: 3.10.0 #22 8.588 #22 8.588 Please update to the latest `analyzer` version (9.0.0) by running #22 8.588 `flutter packages upgrade`. #22 8.588 #22 8.588 If you are not getting the latest version by running the above command, you #22 8.588 can try adding a constraint like the following to your pubspec to start #22 8.588 diagnosing why you can't get the latest version: #22 8.588 #22 8.588 dev_dependencies: #22 8.588 analyzer: ^9.0.0 #22 8.588 #22 9.120 [INFO] Generating SDK summary completed, took 2.6s #22 9.120 #22 9.201 [SEVERE] riverpod_generator on bin/server.dart: #22 9.201 #22 9.201 This builder requires Dart inputs without syntax errors. #22 9.201 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #22 9.201 server.dart:61:48: Expected to find ')'. #22 9.201 #22 9.201 Try fixing the errors and re-running the build. #22 9.201 #22 9.259 [SEVERE] riverpod_generator on lib/features/iptv/providers/settings_provider.dart: #22 9.259 #22 9.259 This builder requires Dart inputs without syntax errors. #22 9.259 However, package:xtremflow/features/iptv/providers/settings_provider.dart (or an existing part) contains the following errors. #22 9.259 settings_provider.dart:228:1: Directives must appear before any declarations. #22 9.259 settings_provider.dart:229:1: Directives must appear before any declarations. #22 9.259 settings_provider.dart:230:1: Directives must appear before any declarations. #22 9.259 And 2 more... #22 9.259 #22 9.259 Try fixing the errors and re-running the build. #22 9.259 #22 9.737 [SEVERE] hive_generator on bin/server.dart: #22 9.737 #22 9.737 This builder requires Dart inputs without syntax errors. #22 9.737 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #22 9.737 server.dart:61:48: Expected to find ')'. #22 9.737 #22 9.737 Try fixing the errors and re-running the build. #22 9.737 #22 9.757 [SEVERE] hive_generator on lib/features/iptv/providers/settings_provider.dart: #22 9.757 #22 9.757 This builder requires Dart inputs without syntax errors. #22 9.757 However, package:xtremflow/features/iptv/providers/settings_provider.dart (or an existing part) contains the following errors. #22 9.757 settings_provider.dart:228:1: Directives must appear before any declarations. #22 9.757 settings_provider.dart:229:1: Directives must appear before any declarations. #22 9.757 settings_provider.dart:230:1: Directives must appear before any declarations. #22 9.757 And 2 more... #22 9.757 #22 9.757 Try fixing the errors and re-running the build. #22 9.757 #22 9.882 [INFO] Running build completed, took 3.4s #22 9.882 #22 9.882 [INFO] Caching finalized dependency graph... #22 9.964 [INFO] Caching finalized dependency graph completed, took 82ms #22 9.964 #22 9.967 [SEVERE] Failed after 3.5s #22 ERROR: process "/bin/sh -c dart run build_runner build --delete-conflicting-outputs" did not complete successfully: exit code: 1 ------ > [builder 9/11] RUN dart run build_runner build --delete-conflicting-outputs: 9.757 And 2 more... 9.757 9.757 Try fixing the errors and re-running the build. 9.757 9.882 [INFO] Running build completed, took 3.4s 9.882 9.882 [INFO] Caching finalized dependency graph... 9.964 [INFO] Caching finalized dependency graph completed, took 82ms 9.964 9.967 [SEVERE] Failed after 3.5s ------ docker-compose : Dockerfile:35 Au caractère Ligne:1 : 1 + docker-compose up -d --build > verify_settings_migration.txt 2>&1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Dockerfile:35:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError -------------------- 33 | 34 | # Generate code (for Riverpod and Hive) 35 | >>> RUN dart run build_runner build --delete-conflicting-outputs 36 | 37 | # Clean build environment to avoid conflicts -------------------- failed to solve: process "/bin/sh -c dart run build_runner build --delete-conflicting-outputs" did not complete successfully: exit code: 1