Build log
host
scenic_driver_nerves_waveshare_touch 0.2.0 · fail · run scenic_driver_nerves_waveshare_touch-0.2.0-1792618216316
484 of 484 lines
1Resolving Hex dependencies...2Resolution completed in 0.116s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.7.86 ex_image_info 0.2.77 font_metrics 0.5.28 input_event 1.4.29 interactive_cmd 0.1.410 logger_backends 1.0.111 nerves 2.0.0-pre.312 nerves_discovery 0.1.613 nerves_logging 0.2.414 nerves_runtime 0.13.1315 nerves_system_bbb 2.31.016 nerves_system_br 1.35.217 nerves_system_mangopi_mq_pro 0.18.018 nerves_system_qemu_aarch64 0.5.019 nerves_system_rpi0 2.2.020 nerves_system_rpi4 2.2.021 nerves_system_rpi5 2.2.022 nerves_system_trellis 0.6.023 nerves_system_x86_64 1.35.024 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.125 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.128 nerves_toolchain_x86_64_nerves_linux_musl 15.3.129 nerves_uevent 0.1.830 nimble_options 1.1.131 property_table 0.3.432 ring_logger 0.11.733 scenic 0.11.234 scenic_driver_nerves_waveshare_touch 0.2.035 tablet 0.3.336 toolshed 0.5.037 truetype_metrics 0.6.138 uboot_env 1.0.339All dependencies have been fetched40==> nimble_options41Compiling 3 files (.ex)42Generated nimble_options app43warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"44 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/245 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/146 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/547 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/248 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/449 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/25051==> elixir_make52Compiling 6 files (.ex)53 warning: unused require Logger54 │55 6 │ require Logger56 │ ~57 │58 └─ lib/elixir_make/precompiler.ex:6:35960 warning: unused require Logger61 │62 4 │ require Logger63 │ ~64 │65 └─ lib/elixir_make/artefact.ex:4:36667 warning: unused require Logger68 │69 16 │ require Logger70 │ ~71 │72 └─ lib/mix/tasks/elixir_make.precompile.ex:16:37374Generated elixir_make app75==> nerves_logging76 CC kmsg_tailer.o77 LD kmsg_tailer78Not crosscompiling. To test locally, the port binary needs extra permissions.79Set SUDO=sudo to set permissions. The default is to skip this step.80SUDO_ASKPASS=/usr/bin/ssh-askpass81SUDO=true82Compiling 5 files (.ex)83Generated nerves_logging app84==> input_event85 CC input_event.o86 LD input_event87Compiling 5 files (.ex)88Generated input_event app89==> font_metrics90Compiling 2 files (.ex)91Generated font_metrics app92==> truetype_metrics93Compiling 1 file (.ex)94 warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator95 │96 334 │ <<_::binary-size(offset), cmap::binary>> = cmap_data97 │ ~98 │99 └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/1100101 warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator102 │103 446 │ <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table104 │ ~105 │106 └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/2107108 warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator109 │110 678 │ _::binary-size(offset),111 │ ~112 │113 └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/3114115 warning: the variable "table_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator116 │117 679 │ table_data::binary-size(table_size),118 │ ~119 │120 └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3121122 warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator123 │124 700 │ _::binary-size(offset),125 │ ~126 │127 └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2128129 warning: the variable "table_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator130 │131 701 │ table_data::binary-size(table_size),132 │ ~133 │134 └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2135136Generated truetype_metrics app137==> ex_image_info138Compiling 12 files (.ex)139 warning: the variable "block_len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator140 │141 41 │ <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->142 │ ~143 │144 └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2145146 warning: the variable "idf_off_pos" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator147 │148 56 │ <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),149 │ ~150 │151 └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4152153 warning: the variable "buff_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator154 │155 57 │ buff_idf::bytes-size(buff_size), _::binary>> ->156 │ ~157 │158 └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4159160 warning: unused require Bitwise161 │162 7 │ require Bitwise163 │ ~164 │165 └─ lib/ex_image_info/types/tiff.ex:7:3166167 warning: unused require Bitwise168 │169 6 │ require Bitwise170 │ ~171 │172 └─ lib/ex_image_info/types/webp.ex:6:3173174 warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)175 │176 49 │ defp parse_jpeg_block(_, _), do: nil177 │ ~178 │179 └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2180181Generated ex_image_info app182==> scenic183mkdir -p /work/proj/_build/host/lib/scenic/ebin/../priv184mkdir -p /work/proj/_build/host/lib/scenic/ebin/../obj185cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/line.o c_src/line.c186cc /work/proj/_build/host/lib/scenic/ebin/../obj/line.o -L/usr/local/lib/erlang/usr/lib -shared -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/line.so187cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/matrix.o c_src/matrix.c188cc /work/proj/_build/host/lib/scenic/ebin/../obj/matrix.o -L/usr/local/lib/erlang/usr/lib -shared -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/matrix.so189cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/bitmap.o c_src/bitmap.c190cc /work/proj/_build/host/lib/scenic/ebin/../obj/bitmap.o -L/usr/local/lib/erlang/usr/lib -shared -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/bitmap.so191Compiling 84 files (.ex)192 warning: using single-quoted strings to represent charlists is deprecated.193 Use ~c"" if you indeed want a charlist or use "" instead.194 You may run "mix format --migrate" to change all single-quoted195 strings to use the ~c sigil and fix this warning.196 │197 81 │ |> :filename.join('bitmap')198 │ ~199 │200 └─ lib/scenic/assets/stream/bitmap.ex:81:25201202 warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator203 │204 190 │ <<_::binary-size(skip), g::8, _::binary>> = p205 │ ~206 │207 └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4208209 warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator210 │211 198 │ <<_::binary-size(skip), g::8, a::8, _::binary>> = p212 │ ~213 │214 └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4215216 warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator217 │218 206 │ <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p219 │ ~220 │221 └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4222223 warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator224 │225 214 │ <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p226 │ ~227 │228 └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4229230 warning: using single-quoted strings to represent charlists is deprecated.231 Use ~c"" if you indeed want a charlist or use "" instead.232 You may run "mix format --migrate" to change all single-quoted233 strings to use the ~c sigil and fix this warning.234 │235 105 │ space_width = FontMetrics.width(' ', @default_font_size, fm)236 │ ~237 │238 └─ lib/scenic/component/input/checkbox.ex:105:37239240 warning: using single-quoted strings to represent charlists is deprecated.241 Use ~c"" if you indeed want a charlist or use "" instead.242 You may run "mix format --migrate" to change all single-quoted243 strings to use the ~c sigil and fix this warning.244 │245 177 │ space_width = FontMetrics.width(' ', @default_font_size, fm)246 │ ~247 │248 └─ lib/scenic/component/input/checkbox.ex:177:37249250 warning: using single-quoted strings to represent charlists is deprecated.251 Use ~c"" if you indeed want a charlist or use "" instead.252 You may run "mix format --migrate" to change all single-quoted253 strings to use the ~c sigil and fix this warning.254 │255 80 │ space_width = FontMetrics.width(' ', @default_font_size, fm)256 │ ~257 │258 └─ lib/scenic/component/input/radio_button.ex:80:37259260 warning: using single-quoted strings to represent charlists is deprecated.261 Use ~c"" if you indeed want a charlist or use "" instead.262 You may run "mix format --migrate" to change all single-quoted263 strings to use the ~c sigil and fix this warning.264 │265 143 │ space_width = FontMetrics.width(' ', @default_font_size, fm)266 │ ~267 │268 └─ lib/scenic/component/input/radio_button.ex:143:37269270 warning: using single-quoted strings to represent charlists is deprecated.271 Use ~c"" if you indeed want a charlist or use "" instead.272 You may run "mix format --migrate" to change all single-quoted273 strings to use the ~c sigil and fix this warning.274 │275 227 │ space_width = FontMetrics.width(' ', @default_font_size, fm)276 │ ~277 │278 └─ lib/scenic/component/input/radio_group.ex:227:37279280 warning: using single-quoted strings to represent charlists is deprecated.281 Use ~c"" if you indeed want a charlist or use "" instead.282 You may run "mix format --migrate" to change all single-quoted283 strings to use the ~c sigil and fix this warning.284 │285 113 │ @password_char '*'286 │ ~287 │288 └─ lib/scenic/component/input/text_field.ex:113:18289290warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0291└─ lib/scenic/graph/bounds.ex: Scenic.Graph.Bounds.pts_arc_to/6292293warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0294└─ lib/scenic/graph/bounds.ex: Scenic.Graph.Bounds.pts_arc_to/6295296 warning: using single-quoted strings to represent charlists is deprecated.297 Use ~c"" if you indeed want a charlist or use "" instead.298 You may run "mix format --migrate" to change all single-quoted299 strings to use the ~c sigil and fix this warning.300 │301 31 │ |> :filename.join('line')302 │ ~303 │304 └─ lib/scenic/math/line.ex:31:25305306 warning: using single-quoted strings to represent charlists is deprecated.307 Use ~c"" if you indeed want a charlist or use "" instead.308 You may run "mix format --migrate" to change all single-quoted309 strings to use the ~c sigil and fix this warning.310 │311 37 │ |> :filename.join('matrix')312 │ ~313 │314 └─ lib/scenic/math/matrix.ex:37:25315316 warning: the variable "skip_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator317 │318 490 │ _::binary-size(skip_size),319 │ ~320 │321 └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3322323 warning: the variable "skip_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator324 │325 521 │ pre::binary-size(skip_size),326 │ ~327 │328 └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4329330warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0331└─ lib/scenic/math/matrix.ex: Scenic.Math.Matrix.invert/1332333warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0334└─ lib/scenic/math/vector_2.ex: Scenic.Math.Vector2.normalize/1335336 warning: the variable "bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator337 │338 2730 │ str::binary-size(bytes),339 │ ~340 │341 └─ lib/scenic/script.ex:2730:24: Scenic.Script.extract_string/2342343 warning: the variable "buff_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator344 │345 2731 │ _buff::binary-size(buff_size),346 │ ~347 │348 └─ lib/scenic/script.ex:2731:26: Scenic.Script.extract_string/2349350 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)351 │352 281 │ defp do_special_theme_outline(graph, :dark, border) do353 │ ~354 │355 └─ lib/scenic/component/button.ex:281:8: Scenic.Component.Button.do_special_theme_outline/3356357 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)358 │359 285 │ defp do_special_theme_outline(graph, :light, border) do360 │ ~361 │362 └─ lib/scenic/component/button.ex:285:8: Scenic.Component.Button.do_special_theme_outline/3363364 warning: the following clause cannot match because the previous clauses already matched all possible values:365366 err ->367368 it attempts to match on the result of:369370 child(scene, id)371372 which has the already matched type:373374 dynamic({:ok, term()})375376 where "err" was given the type:377378 # type: dynamic({:ok, term()})379 # from: lib/scenic/scene.ex:495:7380 err381382 type warning found at:383 │384 495 │ err -> err385 │ ~386 │387 └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2388389 warning: the following clause cannot match because the previous clauses already matched all possible values:390391 err ->392393 it attempts to match on the result of:394395 child(scene, id)396397 which has the already matched type:398399 dynamic({:ok, term()})400401 where "err" was given the type:402403 # type: dynamic({:ok, term()})404 # from: lib/scenic/scene.ex:523:7405 err406407 type warning found at:408 │409 523 │ err ->410 │ ~411 │412 └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3413414 warning: the following clause cannot match because the previous clauses already matched all possible values:415416 err ->417418 it attempts to match on the result of:419420 child(scene, id)421422 which has the already matched type:423424 dynamic({:ok, term()})425426 where "err" was given the type:427428 # type: dynamic({:ok, term()})429 # from: lib/scenic/scene.ex:559:7430 err431432 type warning found at:433 │434 559 │ err ->435 │ ~436 │437 └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2438439 warning: the following clause will never match:440441 _ ->442443 it is expected to match on type:444445 none()446447 type warning found at:448 │449 1249 │ _ -> state450 │ ~451 │452 └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3453454 warning: the following clause will never match:455456 err ->457458 it is expected to match on type:459460 none()461462 type warning found at:463 │464 392 │ err -> err465 │ ~466 │467 └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4468469Generated scenic app470==> scenic_driver_nerves_waveshare_touch471Compiling 1 file (.ex)472 error: module Scenic.ViewPort.Driver is not loaded and could not be found473 │474 104 │ use Scenic.ViewPort.Driver475 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^476 │477 └─ lib/scenic_driver_nerves_waveshare_touch.ex:104: Scenic.Driver.Nerves.WaveshareTouch (module)478479480== Compilation error in file lib/scenic_driver_nerves_waveshare_touch.ex ==481** (CompileError) lib/scenic_driver_nerves_waveshare_touch.ex: cannot compile module Scenic.Driver.Nerves.WaveshareTouch (errors have been logged)482 (elixir 1.20.3) expanding macro: Kernel.use/1483 lib/scenic_driver_nerves_waveshare_touch.ex:104: Scenic.Driver.Nerves.WaveshareTouch (module)484could not compile dependency :scenic_driver_nerves_waveshare_touch, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile scenic_driver_nerves_waveshare_touch --force", update it with "mix deps.update scenic_driver_nerves_waveshare_touch" or clean it with "mix deps.clean scenic_driver_nerves_waveshare_touch"