#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.0s #5 [internal] load metadata for docker.io/library/dart:stable #5 DONE 1.0s #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.1s 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: 139.44kB 0.0s done #9 DONE 0.0s #10 [stage-1 3/8] RUN apt-get update && apt-get install -y sqlite3 libsqlite3-dev ffmpeg && rm -rf /var/lib/apt/lists/* #10 CACHED #11 [stage-1 2/8] WORKDIR /app #11 CACHED #12 [stage-1 4/8] RUN mkdir -p /tmp/streams && chmod 777 /tmp/streams #12 CACHED #13 [builder 2/11] WORKDIR /app #13 CACHED #14 [builder 3/11] RUN git config --global --add safe.directory /app #14 CACHED #15 [builder 4/11] RUN flutter config --enable-web #15 CACHED #16 [builder 5/11] COPY pubspec.yaml ./ #16 CACHED #17 [builder 6/11] RUN flutter pub get #17 CACHED #18 [stage-1 5/8] COPY bin/ ./bin/ #18 DONE 0.1s #19 [builder 7/11] COPY . . #19 DONE 0.1s #20 [builder 8/11] RUN flutter pub get #20 0.277 Woah! You appear to be trying to run flutter as root. #20 0.277 We strongly recommend running the flutter tool without superuser privileges. #20 0.277 / #20 0.277 ­ƒôÄ #20 0.457 Resolving dependencies... #20 0.613 Downloading packages... #20 0.722 _fe_analyzer_shared 67.0.0 (92.0.0 available) #20 0.722 analyzer 6.4.1 (9.0.0 available) #20 0.722 analyzer_plugin 0.11.3 (0.13.11 available) #20 0.722 build 2.4.1 (4.0.3 available) #20 0.722 build_config 1.1.2 (1.2.0 available) #20 0.722 build_resolvers 2.4.2 (3.0.4 available) #20 0.722 build_runner 2.4.13 (2.10.4 available) #20 0.722 build_runner_core 7.3.2 (9.3.2 available) #20 0.722 characters 1.4.0 (1.4.1 available) #20 0.722 custom_lint_core 0.6.3 (0.8.1 available) #20 0.722 dart_style 2.3.6 (3.1.3 available) #20 0.722 dio_cache_interceptor 3.5.1 (4.0.5 available) #20 0.722 dio_cache_interceptor_hive_store 3.2.2 (discontinued replaced by http_cache_hive_store) #20 0.722 flutter_lints 3.0.2 (6.0.0 available) #20 0.722 flutter_riverpod 2.6.1 (3.0.3 available) #20 0.722 freezed_annotation 2.4.4 (3.1.0 available) #20 0.722 go_router 13.2.5 (17.0.0 available) #20 0.722 intl 0.19.0 (0.20.2 available) #20 0.722 lints 3.0.0 (6.0.0 available) #20 0.722 matcher 0.12.17 (0.12.18 available) #20 0.722 material_color_utilities 0.11.1 (0.13.0 available) #20 0.722 riverpod 2.6.1 (3.0.3 available) #20 0.722 riverpod_analyzer_utils 0.5.1 (0.5.10 available) #20 0.722 riverpod_annotation 2.6.1 (3.0.3 available) #20 0.722 riverpod_generator 2.4.0 (3.0.3 available) #20 0.722 shelf_web_socket 2.0.1 (3.0.0 available) #20 0.722 source_gen 1.5.0 (4.1.1 available) #20 0.722 source_helper 1.3.5 (1.3.9 available) #20 0.722 test_api 0.7.7 (0.7.8 available) #20 ... #21 [stage-1 6/8] RUN dart pub get --directory=bin #21 0.374 Resolving dependencies in `bin`... #21 0.509 Downloading packages... #21 0.814 + args 2.7.0 #21 0.814 + async 2.13.0 #21 0.814 + collection 1.19.1 #21 0.814 + convert 3.1.2 #21 0.814 + crypto 3.0.7 #21 0.814 + ffi 2.1.4 #21 0.814 + fixnum 1.1.1 #21 0.814 + http 1.6.0 #21 0.814 + http_methods 1.1.1 #21 0.814 + http_parser 4.1.2 #21 0.814 + meta 1.17.0 #21 0.814 + mime 2.0.0 #21 0.814 + path 1.9.1 #21 0.814 + shelf 1.4.2 #21 0.814 + shelf_router 1.1.4 #21 0.814 + shelf_static 1.1.3 #21 0.814 + source_span 1.10.1 #21 0.814 + sqlite3 2.9.4 (3.1.1 available) #21 0.814 + stack_trace 1.12.1 #21 0.814 + stream_channel 2.1.4 #21 0.814 + string_scanner 1.4.1 #21 0.814 + term_glyph 1.2.2 #21 0.814 + typed_data 1.4.0 #21 0.814 + uuid 4.5.2 #21 0.814 + web 1.1.1 #21 0.814 Changed 25 dependencies in `bin`! #21 0.814 1 package has newer versions incompatible with dependency constraints. #21 0.814 Try `dart pub outdated` for more information. #21 DONE 0.9s #20 [builder 8/11] RUN flutter pub get #20 0.722 Got dependencies! #20 0.722 1 package is discontinued. #20 0.722 29 packages have newer versions incompatible with dependency constraints. #20 0.722 Try `flutter pub outdated` for more information. #20 DONE 1.0s #22 [builder 9/11] RUN dart run build_runner build --delete-conflicting-outputs #22 0.266 Woah! You appear to be trying to run flutter as root. #22 0.266 We strongly recommend running the flutter tool without superuser privileges. #22 0.266 / #22 0.266 ­ƒôÄ #22 2.635 [INFO] Generating build script... #22 2.793 [INFO] Generating build script completed, took 162ms #22 2.793 #22 2.819 [INFO] Precompiling build script...... #22 4.998 [INFO] Precompiling build script... completed, took 2.2s #22 4.998 #22 5.276 [INFO] Initializing inputs #22 5.584 [INFO] Building new asset graph... #22 6.493 [INFO] Building new asset graph completed, took 908ms #22 6.493 #22 6.493 [INFO] Checking for unexpected pre-existing outputs.... #22 6.493 [INFO] Deleting 2 declared outputs which already existed on disk. #22 6.495 [INFO] Checking for unexpected pre-existing outputs. completed, took 2ms #22 6.495 #22 6.501 [INFO] Running build... #22 6.524 [INFO] Generating SDK summary... #22 7.691 [INFO] 1.2s elapsed, 0/16 actions completed. #22 7.960 [WARNING] riverpod_generator on bin/api/settings_handler.dart: #22 7.960 Your current `analyzer` version may not fully support your current SDK version. #22 7.960 #22 7.960 Analyzer language version: 3.4.0 #22 7.960 SDK language version: 3.10.0 #22 7.960 #22 7.960 Please update to the latest `analyzer` version (9.0.0) by running #22 7.960 `flutter packages upgrade`. #22 7.960 #22 7.960 If you are not getting the latest version by running the above command, you #22 7.960 can try adding a constraint like the following to your pubspec to start #22 7.960 diagnosing why you can't get the latest version: #22 7.960 #22 7.960 dev_dependencies: #22 7.960 analyzer: ^9.0.0 #22 7.960 #22 9.150 [INFO] 2.7s elapsed, 0/16 actions completed. #22 9.184 [INFO] Generating SDK summary completed, took 2.7s #22 9.184 #22 9.249 [SEVERE] riverpod_generator on bin/server.dart: #22 9.249 #22 9.249 This builder requires Dart inputs without syntax errors. #22 9.249 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #22 9.249 server.dart:108:5: Expected an identifier. #22 9.249 server.dart:108:5: Expected to find ')'. #22 9.249 #22 9.249 Try fixing the errors and re-running the build. #22 9.249 #22 9.789 [SEVERE] hive_generator on bin/server.dart: #22 9.789 #22 9.789 This builder requires Dart inputs without syntax errors. #22 9.789 However, asset:xtremflow/bin/server.dart (or an existing part) contains the following errors. #22 9.789 server.dart:108:5: Expected an identifier. #22 9.789 server.dart:108:5: Expected to find ')'. #22 9.789 #22 9.789 Try fixing the errors and re-running the build. #22 9.789 #22 9.944 [INFO] Running build completed, took 3.4s #22 9.944 #22 9.944 [INFO] Caching finalized dependency graph... #22 10.03 [INFO] Caching finalized dependency graph completed, took 81ms #22 10.03 #22 10.03 [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.789 server.dart:108:5: Expected to find ')'. 9.789 9.789 Try fixing the errors and re-running the build. 9.789 9.944 [INFO] Running build completed, took 3.4s 9.944 9.944 [INFO] Caching finalized dependency graph... 10.03 [INFO] Caching finalized dependency graph completed, took 81ms 10.03 10.03 [SEVERE] Failed after 3.5s ------ docker-compose : Dockerfile:35 Au caractère Ligne:1 : 1 + docker-compose up -d --build > verify_cache_fix.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