#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 [internal] load metadata for ghcr.io/cirruslabs/flutter:stable #3 DONE 0.0s #4 [internal] load metadata for docker.io/library/dart:stable #4 DONE 0.4s #5 [internal] load .dockerignore #5 transferring context: 251B done #5 DONE 0.0s #6 [stage-1 1/8] FROM docker.io/library/dart:stable@sha256:ce08d4cb45d2f5197cd24adf0ccb0743dea75f0f11d7bc55a71dd22bd428955c #6 resolve docker.io/library/dart:stable@sha256:ce08d4cb45d2f5197cd24adf0ccb0743dea75f0f11d7bc55a71dd22bd428955c 0.0s done #6 DONE 0.1s #7 [builder 1/11] FROM ghcr.io/cirruslabs/flutter:stable@sha256:bc5062a72c83df6661a8e54dc9dbec65d5db163fa7297d12a995948e832156ae #7 resolve ghcr.io/cirruslabs/flutter:stable@sha256:bc5062a72c83df6661a8e54dc9dbec65d5db163fa7297d12a995948e832156ae 0.0s done #7 DONE 0.1s #8 [internal] load build context #8 transferring context: 70.45kB 0.0s done #8 DONE 0.0s #9 [stage-1 3/8] RUN apt-get update && apt-get install -y sqlite3 libsqlite3-dev ffmpeg && rm -rf /var/lib/apt/lists/* #9 CACHED #10 [stage-1 4/8] RUN mkdir -p /tmp/streams && chmod 777 /tmp/streams #10 CACHED #11 [stage-1 5/8] COPY bin/ ./bin/ #11 CACHED #12 [stage-1 2/8] WORKDIR /app #12 CACHED #13 [stage-1 6/8] RUN dart pub get --directory=bin #13 CACHED #14 [builder 2/11] WORKDIR /app #14 CACHED #15 [builder 3/11] RUN git config --global --add safe.directory /app #15 CACHED #16 [builder 5/11] COPY pubspec.yaml ./ #16 CACHED #17 [builder 4/11] RUN flutter config --enable-web #17 CACHED #18 [builder 6/11] RUN flutter pub get #18 CACHED #19 [builder 7/11] COPY . . #19 DONE 0.1s #20 [builder 8/11] RUN flutter pub get #20 0.247 Woah! You appear to be trying to run flutter as root. #20 0.247 We strongly recommend running the flutter tool without superuser privileges. #20 0.247 / #20 0.247 ­ƒôÄ #20 0.422 Resolving dependencies... #20 0.566 Downloading packages... #20 0.668 _fe_analyzer_shared 67.0.0 (92.0.0 available) #20 0.668 analyzer 6.4.1 (9.0.0 available) #20 0.668 analyzer_plugin 0.11.3 (0.13.11 available) #20 0.668 build 2.4.1 (4.0.3 available) #20 0.668 build_config 1.1.2 (1.2.0 available) #20 0.668 build_resolvers 2.4.2 (3.0.4 available) #20 0.668 build_runner 2.4.13 (2.10.4 available) #20 0.668 build_runner_core 7.3.2 (9.3.2 available) #20 0.668 characters 1.4.0 (1.4.1 available) #20 0.668 custom_lint_core 0.6.3 (0.8.1 available) #20 0.668 dart_style 2.3.6 (3.1.3 available) #20 0.668 dio_cache_interceptor 3.5.1 (4.0.5 available) #20 0.668 dio_cache_interceptor_hive_store 3.2.2 (discontinued replaced by http_cache_hive_store) #20 0.668 flutter_lints 3.0.2 (6.0.0 available) #20 0.668 flutter_riverpod 2.6.1 (3.0.3 available) #20 0.668 freezed_annotation 2.4.4 (3.1.0 available) #20 0.668 go_router 13.2.5 (17.0.0 available) #20 0.668 intl 0.19.0 (0.20.2 available) #20 0.668 lints 3.0.0 (6.0.0 available) #20 0.668 matcher 0.12.17 (0.12.18 available) #20 0.668 material_color_utilities 0.11.1 (0.13.0 available) #20 0.668 riverpod 2.6.1 (3.0.3 available) #20 0.668 riverpod_analyzer_utils 0.5.1 (0.5.10 available) #20 0.668 riverpod_annotation 2.6.1 (3.0.3 available) #20 0.668 riverpod_generator 2.4.0 (3.0.3 available) #20 0.668 shelf_web_socket 2.0.1 (3.0.0 available) #20 0.668 source_gen 1.5.0 (4.1.1 available) #20 0.668 source_helper 1.3.5 (1.3.9 available) #20 0.668 test_api 0.7.7 (0.7.8 available) #20 0.668 Got dependencies! #20 0.668 1 package is discontinued. #20 0.668 29 packages have newer versions incompatible with dependency constraints. #20 0.668 Try `flutter pub outdated` for more information. #20 DONE 1.0s #21 [builder 9/11] RUN dart run build_runner build --delete-conflicting-outputs #21 0.263 Woah! You appear to be trying to run flutter as root. #21 0.263 We strongly recommend running the flutter tool without superuser privileges. #21 0.263 / #21 0.263 ­ƒôÄ #21 2.635 [INFO] Generating build script... #21 2.801 [INFO] Generating build script completed, took 170ms #21 2.801 #21 2.827 [INFO] Precompiling build script...... #21 5.021 [INFO] Precompiling build script... completed, took 2.2s #21 5.021 #21 5.293 [INFO] Initializing inputs #21 5.618 [INFO] Building new asset graph... #21 6.510 [INFO] Building new asset graph completed, took 891ms #21 6.510 #21 6.510 [INFO] Checking for unexpected pre-existing outputs.... #21 6.512 [INFO] Deleting 2 declared outputs which already existed on disk. #21 6.513 [INFO] Checking for unexpected pre-existing outputs. completed, took 2ms #21 6.513 #21 6.518 [INFO] Running build... #21 6.541 [INFO] Generating SDK summary... #21 7.629 [INFO] 1.1s elapsed, 0/16 actions completed. #21 8.561 [WARNING] riverpod_generator on bin/utils/password_hasher.dart: #21 8.561 Your current `analyzer` version may not fully support your current SDK version. #21 8.561 #21 8.561 Analyzer language version: 3.4.0 #21 8.561 SDK language version: 3.10.0 #21 8.561 #21 8.561 Please update to the latest `analyzer` version (9.0.0) by running #21 8.561 `flutter packages upgrade`. #21 8.561 #21 8.561 If you are not getting the latest version by running the above command, you #21 8.561 can try adding a constraint like the following to your pubspec to start #21 8.561 diagnosing why you can't get the latest version: #21 8.561 #21 8.561 dev_dependencies: #21 8.561 analyzer: ^9.0.0 #21 8.561 #21 9.108 [INFO] Generating SDK summary completed, took 2.6s #21 9.108 #21 9.176 [SEVERE] riverpod_generator on bin/server.dart: #21 9.176 #21 9.176 This builder requires Dart inputs without syntax errors. #21 9.176 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #21 9.176 server.dart:61:48: Expected to find ')'. #21 9.176 #21 9.176 Try fixing the errors and re-running the build. #21 9.176 #21 9.700 [SEVERE] hive_generator on bin/server.dart: #21 9.700 #21 9.700 This builder requires Dart inputs without syntax errors. #21 9.700 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #21 9.700 server.dart:61:48: Expected to find ')'. #21 9.700 #21 9.700 Try fixing the errors and re-running the build. #21 9.700 #21 9.863 [INFO] Running build completed, took 3.3s #21 9.863 #21 9.863 [INFO] Caching finalized dependency graph... #21 9.943 [INFO] Caching finalized dependency graph completed, took 80ms #21 9.943 #21 9.946 [SEVERE] Failed after 3.4s #21 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.700 server.dart:61:48: Expected to find ')'. 9.700 9.700 Try fixing the errors and re-running the build. 9.700 9.863 [INFO] Running build completed, took 3.3s 9.863 9.863 [INFO] Caching finalized dependency graph... 9.943 [INFO] Caching finalized dependency graph completed, took 80ms 9.943 9.946 [SEVERE] Failed after 3.4s ------ docker-compose : Dockerfile:35 Au caractère Ligne:1 : 1 + docker-compose up -d --build > verify_settings_migration_2.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