Build log
nerves_system_rpi5
mosql 0.1.0 · fail · run mosql-0.1.0-1791005571321
1330 of 1330 lines
1Resolving Hex dependencies...2Resolution completed in 0.378s3Unchanged:4 broadway 1.3.05 circular_buffer 1.1.06 connection 1.1.07 db_connection 2.4.38 decimal 2.4.1 VULNERABLE!9 EEF-CVE-2026-32686 (MEDIUM)10 aka: CVE-2026-32686, GHSA-rhv4-8758-jx7v11 Unbounded exponent in decimal enables unauthenticated DoS12 https://osv.dev/vulnerability/EEF-CVE-2026-3268613 elixir_make 0.10.014 gen_stage 1.3.215 interactive_cmd 0.1.416 memento 0.3.217 mongodb_driver 1.0.318 mosql 0.1.019 nerves 2.0.0-pre.220 nerves_discovery 0.1.521 nerves_logging 0.2.422 nerves_runtime 0.13.1323 nerves_system_bbb 2.30.224 nerves_system_br 1.34.425 nerves_system_mangopi_mq_pro 0.17.226 nerves_system_qemu_aarch64 0.4.227 nerves_system_rpi0 2.1.228 nerves_system_rpi4 2.1.229 nerves_system_rpi5 2.1.230 nerves_system_trellis 0.5.031 nerves_system_x86_64 1.34.232 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.133 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.135 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.136 nerves_toolchain_x86_64_nerves_linux_musl 15.3.137 nerves_uevent 0.1.738 nimble_options 1.1.139 poison 5.0.040 postgrex 0.21.1 VULNERABLE!41 EEF-CVE-2026-32687 (HIGH)42 aka: CVE-2026-32687, GHSA-r73h-97w8-m54h43 SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/344 https://osv.dev/vulnerability/EEF-CVE-2026-326874546 EEF-CVE-2026-58225 (LOW)47 aka: CVE-2026-58225, GHSA-4mw9-4qgj-m97w48 SQL injection via unescaped dollar-quote in Postgrex.Notifications reconnect replay causes notification denial of service49 https://osv.dev/vulnerability/EEF-CVE-2026-582255051 EEF-CVE-2026-66838 (MEDIUM)52 aka: CVE-2026-66838, GHSA-3gww-3f36-238853 SQL injection via the :comment option in Postgrex.stream/454 https://osv.dev/vulnerability/EEF-CVE-2026-6683855 property_table 0.3.456 ring_logger 0.11.757 tablet 0.3.358 telemetry 1.4.259 toolshed 0.5.060 uboot_env 1.0.261* Getting mosql (Hex package)62* Getting nerves (Hex package)63* Getting ring_logger (Hex package)64* Getting toolshed (Hex package)65* Getting nerves_runtime (Hex package)66* Getting nerves_system_bbb (Hex package)67* Getting nerves_system_mangopi_mq_pro (Hex package)68* Getting nerves_system_qemu_aarch64 (Hex package)69* Getting nerves_system_rpi0 (Hex package)70* Getting nerves_system_rpi4 (Hex package)71* Getting nerves_system_rpi5 (Hex package)72* Getting nerves_system_trellis (Hex package)73* Getting nerves_system_x86_64 (Hex package)74* Getting nerves_system_br (Hex package)75* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)76* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)77* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)78* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)79* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)80* Getting nerves_logging (Hex package)81* Getting nerves_uevent (Hex package)82* Getting uboot_env (Hex package)83* Getting elixir_make (Hex package)84* Getting property_table (Hex package)85* Getting circular_buffer (Hex package)86* Getting interactive_cmd (Hex package)87* Getting nerves_discovery (Hex package)88* Getting tablet (Hex package)89* Getting broadway (Hex package)90* Getting decimal (Hex package)91* Getting memento (Hex package)92* Getting mongodb_driver (Hex package)93* Getting poison (Hex package)94* Getting postgrex (Hex package)95* Getting db_connection (Hex package)96* Getting connection (Hex package)97* Getting telemetry (Hex package)98* Getting gen_stage (Hex package)99* Getting nimble_options (Hex package)100Found packages with security advisories, see above for details101==> nerves_system_br102Generated nerves_system_br app103==> connection104Compiling 1 file (.ex)105 warning: using single-quoted strings to represent charlists is deprecated.106 Use ~c"" if you indeed want a charlist or use "" instead.107 You may run "mix format --migrate" to change all single-quoted108 strings to use the ~c sigil and fix this warning.109 │110 553 │ [{:data, [{'State', mod_state}]}]111 │ ~112 │113 └─ lib/connection.ex:553:20114115 warning: using single-quoted strings to represent charlists is deprecated.116 Use ~c"" if you indeed want a charlist or use "" instead.117 You may run "mix format --migrate" to change all single-quoted118 strings to use the ~c sigil and fix this warning.119 │120 680 │ format = '** Generic server ~p terminating \n' ++121 │ ~122 │123 └─ lib/connection.ex:680:14124125 warning: using single-quoted strings to represent charlists is deprecated.126 Use ~c"" if you indeed want a charlist or use "" instead.127 You may run "mix format --migrate" to change all single-quoted128 strings to use the ~c sigil and fix this warning.129 │130 681 │ '** Last message in was ~p~n' ++ ## No last message131 │ ~132 │133 └─ lib/connection.ex:681:7134135 warning: using single-quoted strings to represent charlists is deprecated.136 Use ~c"" if you indeed want a charlist or use "" instead.137 You may run "mix format --migrate" to change all single-quoted138 strings to use the ~c sigil and fix this warning.139 │140 682 │ '** When Server state == ~p~n' ++141 │ ~142 │143 └─ lib/connection.ex:682:7144145 warning: using single-quoted strings to represent charlists is deprecated.146 Use ~c"" if you indeed want a charlist or use "" instead.147 You may run "mix format --migrate" to change all single-quoted148 strings to use the ~c sigil and fix this warning.149 │150 683 │ '** Reason for termination == ~n** ~p~n'151 │ ~152 │153 └─ lib/connection.ex:683:7154155Generated connection app156==> gen_stage157Compiling 10 files (.ex)158 warning: unused require Logger159 │160 103 │ require Logger161 │ ~162 │163 └─ lib/gen_stage/dispatchers/partition_dispatcher.ex:103:3164165Generated gen_stage app166==> circular_buffer167Compiling 1 file (.ex)168Generated circular_buffer app169==> nimble_options170Compiling 3 files (.ex)171Generated nimble_options app172==> tablet173Compiling 2 files (.ex)174Generated tablet app175==> elixir_make176Compiling 8 files (.ex)177Generated elixir_make app178==> nerves_logging179 CC kmsg_tailer.o180 LD kmsg_tailer181Compiling 5 files (.ex)182Generated nerves_logging app183==> nerves_discovery184Compiling 5 files (.ex)185Generated nerves_discovery app186==> ring_logger187Compiling 7 files (.ex)188Generated ring_logger app189==> decimal190Compiling 4 files (.ex)191 warning: this clause of defp check_dbl_min_max/1 is never used (or it will always fail/warn when invoked)192 │193 2842 │ defp check_dbl_min_max(%Decimal{coef: :inf} = infinity), do: infinity194 │ ~195 │196 └─ lib/decimal.ex:2842:8: Decimal.check_dbl_min_max/1197198Generated decimal app199warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"200 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2201 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1202 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5203 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2204 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4205 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2206207==> poison208Compiling 4 files (.ex)209 warning: using single-quoted strings to represent charlists is deprecated.210 Use ~c"" if you indeed want a charlist or use "" instead.211 You may run "mix format --migrate" to change all single-quoted212 strings to use the ~c sigil and fix this warning.213 │214 180 │ when char <= 0x1F or char in '"\\' do215 │ ~216 │217 └─ lib/poison/encoder.ex:180:37218219 warning: using single-quoted strings to represent charlists is deprecated.220 Use ~c"" if you indeed want a charlist or use "" instead.221 You may run "mix format --migrate" to change all single-quoted222 strings to use the ~c sigil and fix this warning.223 │224 77 │ whitespace = '\s\t\n\r'225 │ ~226 │227 └─ lib/poison/parser.ex:77:16228229 warning: using single-quoted strings to represent charlists is deprecated.230 Use ~c"" if you indeed want a charlist or use "" instead.231 You may run "mix format --migrate" to change all single-quoted232 strings to use the ~c sigil and fix this warning.233 │234 355 │ for e <- 'eE' do235 │ ~236 │237 └─ lib/poison/parser.ex:355:12238239 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 operator240 │241 20 │ <<head::binary-size(skip), _rest::bits>> = data242 │ ~243 │244 └─ lib/poison/parser.ex:20:25: Poison.ParseError.message/1245246 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 operator247 │248 26 │ <<head::binary-size(skip), rest::bits>> = data249 │ ~250 │251 └─ lib/poison/parser.ex:26:25: Poison.ParseError.message/1252253 warning: use Bitwise is deprecated. import Bitwise instead254 │255 65 │ use Bitwise256 │ ~~~~~~~~~~~257 │258 └─ lib/poison/parser.ex:65: Poison.Parser (module)259260 warning: use Bitwise is deprecated. import Bitwise instead261 │262 112 │ use Bitwise263 │ ~~~~~~~~~~~264 │265 └─ lib/poison/encoder.ex:112: Poison.Encoder.BitString (module)266267 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 operator268 │269 93 │ <<_::binary-size(skip), rest::bits>> = data270 │ ~271 │272 └─ lib/poison/parser.ex:93:22: Poison.Parser.parse!/2273274 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 operator275 │276 195 │ <<_::binary-size(skip), rest::bits>> = data277 │ ~278 │279 └─ lib/poison/parser.ex:195:22: Poison.Parser.object_pairs/6280281 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 operator282 │283 173 │ <<chunk::binary-size(skip), rest::bits>> = string284 │ ~285 │286 └─ lib/poison/encoder.ex:173:26: Poison.Encoder.BitString.escape/2287288 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 operator289 │290 198 │ <<_::binary-size(skip), rest::bits>> = data291 │ ~292 │293 └─ lib/poison/parser.ex:198:22: Poison.Parser.object_pairs/6294295 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 operator296 │297 271 │ <<_::binary-size(skip), rest::bits>> = data298 │ ~299 │300 └─ lib/poison/parser.ex:271:22: Poison.Parser.array_values/6301302 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 operator303 │304 279 │ <<_::binary-size(skip), rest::bits>> = data305 │ ~306 │307 └─ lib/poison/parser.ex:279:22: Poison.Parser.array_values_continue/6308309Compiling lib/poison/parser.ex (it's taking more than 10s)310 warning: the following clause is redundant:311312 defp number_exp_digits(<<>>, skip)313314 it has type:315316 binary(), dynamic()317318 previous clauses have already matched on the following types:319320 bitstring(), term()321322 │323 393 │ defp number_exp_digits(<<>>, skip), do: syntax_error(skip)324 │ ~325 │326 └─ lib/poison/parser.ex:393:8: Poison.Parser.number_exp_digits/2327328Generated poison app329==> interactive_cmd330Compiling 1 file (.ex)331Generated interactive_cmd app332==> nerves333Compiling 65 files (.ex)334 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)335 │336 6 │ defmodule Mix.Tasks.Nerves.Init do337 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~338 │339 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)340341 warning: redefining module Nerves (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.beam)342 │343 6 │ defmodule Nerves do344 │ ~~~~~~~~~~~~~~~~~~~345 │346 └─ lib/nerves.ex:6: Nerves (module)347348 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)349 │350 5 │ defmodule Nerves.ArtifactResolver do351 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~352 │353 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)354355 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)356 │357 6 │ defmodule Nerves.BuildAction.AppModes do358 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~359 │360 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)361362 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)363 │364 5 │ defmodule Nerves.BuildAction.CheckExecutables do365 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~366 │367 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)368369 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)370 │371 8 │ defmodule Nerves.BuildAction.Erlinit do372 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~373 │374 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)375376 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)377 │378 5 │ defmodule Nerves.BuildAction.Firmware do379 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~380 │381 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)382383 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)384 │385 7 │ defmodule Nerves.BuildAction.IExStartupCheck do386 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~387 │388 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)389390 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)391 │392 5 │ defmodule Nerves.BuildAction.NervesV1System do393 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~394 │395 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)396397 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)398 │399 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do400 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~401 │402 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)403404 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)405 │406 5 │ defmodule Nerves.BuildAction.Rootfs do407 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~408 │409 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)410411 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)412 │413 6 │ defmodule Nerves.BuildAction.SortApps do414 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~415 │416 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)417418 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)419 │420 5 │ defmodule Nerves.BuildAction.StripAll do421 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~422 │423 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)424425 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)426 │427 5 │ defmodule Nerves.BuildAction.Trimmer do428 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~429 │430 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)431432 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)433 │434 5 │ defmodule Nerves.BuildPlan do435 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~436 │437 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)438439 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)440 │441 5 │ defmodule Nerves.BuildPlan.Checks do442 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~443 │444 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)445446 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.Container.beam)447 │448 6 │ defmodule Nerves.Container do449 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~450 │451 └─ lib/nerves/container.ex:6: Nerves.Container (module)452453 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)454 │455 5 │ defmodule Nerves.Fingerprint do456 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~457 │458 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)459460 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)461 │462 5 │ defmodule Nerves.MixPackage do463 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~464 │465 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)466467 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.Paths.beam)468 │469 5 │ defmodule Nerves.Paths do470 │ ~~~~~~~~~~~~~~~~~~~~~~~~~471 │472 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)473474 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/rpi5/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)475 │476 5 │ defmodule Nerves.TargetTuple do477 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~478 │479 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)480481Generated nerves app482==> nerves_toolchain_aarch64_nerves_linux_gnu483Compiling 1 file (.ex)484Generated nerves_toolchain_aarch64_nerves_linux_gnu app485==> nerves_system_rpi5486Generated nerves_system_rpi5 app487==> nerves_compatibility_test488===> Analyzing applications...489===> Compiling telemetry490==> broadway491Compiling 22 files (.ex)492 warning: this clause of defp enqueue_batch/2 is never used (or it will always fail/warn when invoked)493 │494 375 │ defp enqueue_batch(queue, _list = []), do: queue495 │ ~496 │497 └─ lib/broadway/topology/producer_stage.ex:375:8: Broadway.Topology.ProducerStage.enqueue_batch/2498499Generated broadway app500==> db_connection501Compiling 14 files (.ex)502 warning: unused require Bitwise503 │504 33 │ require Bitwise505 │ ~506 │507 └─ lib/db_connection/backoff.ex:33:5508509 warning: using single-quoted strings to represent charlists is deprecated.510 Use ~c"" if you indeed want a charlist or use "" instead.511 You may run "mix format --migrate" to change all single-quoted512 strings to use the ~c sigil and fix this warning.513 │514 312 │ :normal -> [{:data, [{'Module', mod}]}]515 │ ~516 │517 └─ lib/db_connection/connection.ex:312:29518519 warning: using single-quoted strings to represent charlists is deprecated.520 Use ~c"" if you indeed want a charlist or use "" instead.521 You may run "mix format --migrate" to change all single-quoted522 strings to use the ~c sigil and fix this warning.523 │524 421 │ [{:data, [{'Module', mod}, {'State', state}]}]525 │ ~526 │527 └─ lib/db_connection/connection.ex:421:16528529 warning: using single-quoted strings to represent charlists is deprecated.530 Use ~c"" if you indeed want a charlist or use "" instead.531 You may run "mix format --migrate" to change all single-quoted532 strings to use the ~c sigil and fix this warning.533 │534 421 │ [{:data, [{'Module', mod}, {'State', state}]}]535 │ ~536 │537 └─ lib/db_connection/connection.ex:421:33538539Generated db_connection app540==> mongodb_driver541Compiling 56 files (.ex)542warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0543└─ lib/mongo/auth/cr.ex: Mongo.Auth.CR.nonce/4544545 warning: bitstring specifier "float64" does not exist and is being expanded to "float64()", please use parentheses to remove the ambiguity.546 You may run "mix format --migrate" to fix this warning automatically.547 │548 35 │ defp type(@type_float, <<float::little-float64, rest::binary>>) do549 │ ~550 │551 └─ lib/bson/decoder.ex:35:33: BSON.Decoder.type/2552553 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.554 You may run "mix format --migrate" to fix this warning automatically.555 │556 39 │ defp type(@type_string, <<size::int32, rest::binary>>) do557 │ ~558 │559 └─ lib/bson/decoder.ex:39:33: BSON.Decoder.type/2560561 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator562 │563 41 │ <<string::binary(size), 0x00, rest::binary>> = rest564 │ ~565 │566 └─ lib/bson/decoder.ex:41:22: BSON.Decoder.type/2567568 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.569 You may run "mix format --migrate" to fix this warning automatically.570 │571 53 │ defp type(@type_binary, <<_size::int32, subtype, length::int32, binary::binary(length), rest::binary>>) when subtype == 0x02 do572 │ ~573 │574 └─ lib/bson/decoder.ex:53:34: BSON.Decoder.type/2575576 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.577 You may run "mix format --migrate" to fix this warning automatically.578 │579 53 │ defp type(@type_binary, <<_size::int32, subtype, length::int32, binary::binary(length), rest::binary>>) when subtype == 0x02 do580 │ ~581 │582 └─ lib/bson/decoder.ex:53:58: BSON.Decoder.type/2583584 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.585 You may run "mix format --migrate" to fix this warning automatically.586 │587 58 │ defp type(@type_binary, <<size::int32, subtype, binary::binary(size), rest::binary>>) do588 │ ~589 │590 └─ lib/bson/decoder.ex:58:33: BSON.Decoder.type/2591592 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.593 You may run "mix format --migrate" to fix this warning automatically.594 │595 75 │ defp type(@type_datetime, <<unix_ms::int64, rest::binary>>) do596 │ ~597 │598 └─ lib/bson/decoder.ex:75:38: BSON.Decoder.type/2599600 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.601 You may run "mix format --migrate" to fix this warning automatically.602 │603 102 │ defp type(@type_js_scope, <<size::int32, binary::binary>>) do604 │ ~605 │606 └─ lib/bson/decoder.ex:102:35: BSON.Decoder.type/2607608 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator609 │610 104 │ <<binary::binary(size), rest::binary>> = binary611 │ ~612 │613 └─ lib/bson/decoder.ex:104:22: BSON.Decoder.type/2614615 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.616 You may run "mix format --migrate" to fix this warning automatically.617 │618 110 │ defp type(@type_int32, <<int::int32, rest::binary>>) do619 │ ~620 │621 └─ lib/bson/decoder.ex:110:31: BSON.Decoder.type/2622623 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.624 You may run "mix format --migrate" to fix this warning automatically.625 │626 114 │ defp type(@type_timestamp, <<ordinal::int32, epoch::int32, rest::binary>>) do627 │ ~628 │629 └─ lib/bson/decoder.ex:114:39: BSON.Decoder.type/2630631 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.632 You may run "mix format --migrate" to fix this warning automatically.633 │634 114 │ defp type(@type_timestamp, <<ordinal::int32, epoch::int32, rest::binary>>) do635 │ ~636 │637 └─ lib/bson/decoder.ex:114:53: BSON.Decoder.type/2638639 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.640 You may run "mix format --migrate" to fix this warning automatically.641 │642 118 │ defp type(@type_int64, <<int::int64, rest::binary>>) do643 │ ~644 │645 └─ lib/bson/decoder.ex:118:31: BSON.Decoder.type/2646647 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.648 You may run "mix format --migrate" to fix this warning automatically.649 │650 134 │ def document(<<size::int32, rest::binary>>) do651 │ ~652 │653 └─ lib/bson/decoder.ex:134:22: BSON.Decoder.document/1654655 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator656 │657 136 │ <<doc::binary(size), 0x00, rest::binary>> = rest658 │ ~659 │660 └─ lib/bson/decoder.ex:136:19: BSON.Decoder.document/1661662 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.663 You may run "mix format --migrate" to fix this warning automatically.664 │665 152 │ defp list(<<size::int32, rest::binary>>) do666 │ ~667 │668 └─ lib/bson/decoder.ex:152:19: BSON.Decoder.list/1669670 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator671 │672 154 │ <<list::binary(size), 0x00, rest::binary>> = rest673 │ ~674 │675 └─ lib/bson/decoder.ex:154:20: BSON.Decoder.list/1676677 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.678 You may run "mix format --migrate" to fix this warning automatically.679 │680 23 │ [<<size + 4::int32>>, subtype, <<size::int32>>, binary]681 │ ~682 │683 └─ lib/bson/encoder.ex:23:16: BSON.Encoder.encode/1684685 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.686 You may run "mix format --migrate" to fix this warning automatically.687 │688 23 │ [<<size + 4::int32>>, subtype, <<size::int32>>, binary]689 │ ~690 │691 └─ lib/bson/encoder.ex:23:42: BSON.Encoder.encode/1692693 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.694 You may run "mix format --migrate" to fix this warning automatically.695 │696 28 │ [<<IO.iodata_length(binary)::int32>>, subtype | binary]697 │ ~698 │699 └─ lib/bson/encoder.ex:28:32: BSON.Encoder.encode/1700701 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.702 You may run "mix format --migrate" to fix this warning automatically.703 │704 36 │ <<unix_ms::int64>>705 │ ~706 │707 └─ lib/bson/encoder.ex:36:14: BSON.Encoder.encode/1708709 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.710 You may run "mix format --migrate" to fix this warning automatically.711 │712 48 │ [<<size::int32>> | iodata]713 │ ~714 │715 └─ lib/bson/encoder.ex:48:12: BSON.Encoder.encode/1716717 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.718 You may run "mix format --migrate" to fix this warning automatically.719 │720 52 │ do: <<ordinal::int32, epoch::int32>>721 │ ~722 │723 └─ lib/bson/encoder.ex:52:18: BSON.Encoder.encode/1724725 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.726 You may run "mix format --migrate" to fix this warning automatically.727 │728 52 │ do: <<ordinal::int32, epoch::int32>>729 │ ~730 │731 └─ lib/bson/encoder.ex:52:32: BSON.Encoder.encode/1732733 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.734 You may run "mix format --migrate" to fix this warning automatically.735 │736 54 │ def encode(%BSON.LongNumber{value: value}), do: <<value::int64>>737 │ ~738 │739 └─ lib/bson/encoder.ex:54:58: BSON.Encoder.encode/1740741 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.742 You may run "mix format --migrate" to fix this warning automatically.743 │744 88 │ do: [<<byte_size(value) + 1::int32>>, value, 0x00]745 │ ~746 │747 └─ lib/bson/encoder.ex:88:32: BSON.Encoder.encode/1748749 warning: bitstring specifier "float64" does not exist and is being expanded to "float64()", please use parentheses to remove the ambiguity.750 You may run "mix format --migrate" to fix this warning automatically.751 │752 91 │ do: <<value::little-float64>>753 │ ~754 │755 └─ lib/bson/encoder.ex:91:16: BSON.Encoder.encode/1756757 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.758 You may run "mix format --migrate" to fix this warning automatically.759 │760 94 │ do: <<value::int32>>761 │ ~762 │763 └─ lib/bson/encoder.ex:94:16: BSON.Encoder.encode/1764765 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.766 You may run "mix format --migrate" to fix this warning automatically.767 │768 97 │ do: <<value::int64>>769 │ ~770 │771 └─ lib/bson/encoder.ex:97:16: BSON.Encoder.encode/1772773 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.774 You may run "mix format --migrate" to fix this warning automatically.775 │776 134 │ [<<IO.iodata_length(iodata) + 5::int32>>, iodata, 0x00]777 │ ~778 │779 └─ lib/bson/encoder.ex:134:36: BSON.Encoder.document/1780781 warning: the variable "chunk_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator782 │783 111 │ fun = fn <<data::bytes-size(chunk_size), rest::binary>> ->784 │ ~785 │786 └─ lib/mongo/grid_fs/upload_stream.ex:111:35: Collectable.Mongo.GridFs.UploadStream.write_buffer/2787788 warning: unused require Logger789 │790 4 │ require Logger791 │ ~792 │793 └─ lib/mongo/events.ex:4:3794795 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.796 You may run "mix format --migrate" to fix this warning automatically.797 │798 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do799 │ ~800 │801 └─ lib/mongo/messages.ex:65:29: Mongo.Messages.decode_header/1802803 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.804 You may run "mix format --migrate" to fix this warning automatically.805 │806 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do807 │ ~808 │809 └─ lib/mongo/messages.ex:65:48: Mongo.Messages.decode_header/1810811 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.812 You may run "mix format --migrate" to fix this warning automatically.813 │814 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do815 │ ~816 │817 └─ lib/mongo/messages.ex:65:68: Mongo.Messages.decode_header/1818819 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.820 You may run "mix format --migrate" to fix this warning automatically.821 │822 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do823 │ ~824 │825 └─ lib/mongo/messages.ex:65:84: Mongo.Messages.decode_header/1826827 warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator828 │829 83 │ <<response::binary(length), rest::binary>> = binary830 │ ~831 │832 └─ lib/mongo/messages.ex:83:24: Mongo.Messages.decode_response/2833834 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.835 You may run "mix format --migrate" to fix this warning automatically.836 │837 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do838 │ ~839 │840 └─ lib/mongo/messages.ex:97:27: Mongo.Messages.decode_reply/1841842 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.843 You may run "mix format --migrate" to fix this warning automatically.844 │845 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do846 │ ~847 │848 └─ lib/mongo/messages.ex:97:45: Mongo.Messages.decode_reply/1849850 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.851 You may run "mix format --migrate" to fix this warning automatically.852 │853 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do854 │ ~855 │856 └─ lib/mongo/messages.ex:97:58: Mongo.Messages.decode_reply/1857858 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.859 You may run "mix format --migrate" to fix this warning automatically.860 │861 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do862 │ ~863 │864 └─ lib/mongo/messages.ex:97:70: Mongo.Messages.decode_reply/1865866 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.867 You may run "mix format --migrate" to fix this warning automatically.868 │869 101 │ def decode_msg(<<flags::int32, rest::binary>>) do870 │ ~871 │872 └─ lib/mongo/messages.ex:101:25: Mongo.Messages.decode_msg/1873874 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.875 You may run "mix format --migrate" to fix this warning automatically.876 │877 108 │ def decode_sections(<<0x00::int8, payload::binary>>, acc) do878 │ ~879 │880 └─ lib/mongo/messages.ex:108:29: Mongo.Messages.decode_sections/2881882 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.883 You may run "mix format --migrate" to fix this warning automatically.884 │885 109 │ <<size::int32, _rest::binary>> = payload886 │ ~887 │888 └─ lib/mongo/messages.ex:109:11: Mongo.Messages.decode_sections/2889890 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator891 │892 110 │ <<doc::binary(size), rest::binary>> = payload893 │ ~894 │895 └─ lib/mongo/messages.ex:110:19: Mongo.Messages.decode_sections/2896897 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.898 You may run "mix format --migrate" to fix this warning automatically.899 │900 117 │ def decode_sections(<<0x01::int8, payload::binary>>, acc) do901 │ ~902 │903 └─ lib/mongo/messages.ex:117:29: Mongo.Messages.decode_sections/2904905 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.906 You may run "mix format --migrate" to fix this warning automatically.907 │908 118 │ <<size::int32, _rest::binary>> = payload909 │ ~910 │911 └─ lib/mongo/messages.ex:118:11: Mongo.Messages.decode_sections/2912913 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator914 │915 119 │ <<sequence::binary(size), rest::binary>> = payload916 │ ~917 │918 └─ lib/mongo/messages.ex:119:24: Mongo.Messages.decode_sections/2919920 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.921 You may run "mix format --migrate" to fix this warning automatically.922 │923 123 │ def decode_sequence(<<size::int32, rest::binary>>) do924 │ ~925 │926 └─ lib/mongo/messages.ex:123:29: Mongo.Messages.decode_sequence/1927928 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.929 You may run "mix format --migrate" to fix this warning automatically.930 │931 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>932 │ ~933 │934 └─ lib/mongo/messages.ex:147:13: Mongo.Messages.encode_header/1935936 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.937 You may run "mix format --migrate" to fix this warning automatically.938 │939 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>940 │ ~941 │942 └─ lib/mongo/messages.ex:147:32: Mongo.Messages.encode_header/1943944 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.945 You may run "mix format --migrate" to fix this warning automatically.946 │947 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>948 │ ~949 │950 └─ lib/mongo/messages.ex:147:52: Mongo.Messages.encode_header/1951952 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.953 You may run "mix format --migrate" to fix this warning automatically.954 │955 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>956 │ ~957 │958 └─ lib/mongo/messages.ex:147:68: Mongo.Messages.encode_header/1959960 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.961 You may run "mix format --migrate" to fix this warning automatically.962 │963 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]964 │ ~965 │966 └─ lib/mongo/messages.ex:151:33: Mongo.Messages.encode_op/1967968 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.969 You may run "mix format --migrate" to fix this warning automatically.970 │971 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]972 │ ~973 │974 └─ lib/mongo/messages.ex:151:66: Mongo.Messages.encode_op/1975976 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.977 You may run "mix format --migrate" to fix this warning automatically.978 │979 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]980 │ ~981 │982 └─ lib/mongo/messages.ex:151:85: Mongo.Messages.encode_op/1983984 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.985 You may run "mix format --migrate" to fix this warning automatically.986 │987 155 │ [<<blit_flags(:msg, flags)::int32>> | encode_sections(sections)]988 │ ~989 │990 └─ lib/mongo/messages.ex:155:31: Mongo.Messages.encode_op/1991992 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.993 You may run "mix format --migrate" to fix this warning automatically.994 │995 163 │ [<<t::int8>> | encode_payload(payload)]996 │ ~997 │998 └─ lib/mongo/messages.ex:163:9: Mongo.Messages.encode_section/19991000 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.1001 You may run "mix format --migrate" to fix this warning automatically.1002 │1003 173 │ [<<size::int32>> | iodata]1004 │ ~1005 │1006 └─ lib/mongo/messages.ex:173:12: Mongo.Messages.encode_payload/110071008 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1009 │1010 181 │ Logger.warn("Unable to update server description because of #{inspect(error)}")1011 │ ~1012 │1013 └─ lib/mongo/monitor.ex:181:16: Mongo.Monitor.update_server_description/110141015 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1016 │1017 198 │ Logger.warn("Unable to round trip time because of #{inspect(error)}")1018 │ ~1019 │1020 └─ lib/mongo/monitor.ex:198:16: Mongo.Monitor.update_server_description/110211022 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1023 │1024 215 │ Logger.warn("Unable to start the streaming hello monitor, because of #{inspect(error)}")1025 │ ~1026 │1027 └─ lib/mongo/monitor.ex:215:16: Mongo.Monitor.start_streaming_mode/210281029 warning: the variable "max_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1030 │1031 40 │ <<bin::binary-size(max_length), _::binary>> = key1032 │ ~1033 │1034 └─ lib/mongo/pbkdf2.ex:40:24: Mongo.PBKDF2.generate/710351036 warning: unused require Logger1037 │1038 6 │ require Logger1039 │ ~1040 │1041 └─ lib/mongo/mongo_db_connection.ex:6:310421043 warning: using single-quoted strings to represent charlists is deprecated.1044 Use ~c"" if you indeed want a charlist or use "" instead.1045 You may run "mix format --migrate" to change all single-quoted1046 strings to use the ~c sigil and fix this warning.1047 │1048 140 │ :inet_res.getbyname('_mongodb._tcp.' ++ url_char, :srv),1049 │ ~1050 │1051 └─ lib/mongo/url_parser.ex:140:3210521053 warning: unused require Logger1054 │1055 4 │ require Logger1056 │ ~1057 │1058 └─ lib/mongo/topology.ex:4:310591060 warning: unused require Logger1061 │1062 90 │ require Logger1063 │ ~1064 │1065 └─ lib/mongo/session.ex:90:310661067 warning: a struct for Mongo.Session is expected on struct update:10681069 %Mongo.Session{data | state: new_state}10701071 but got type:10721073 dynamic()10741075 where "data" was given the type:10761077 # type: dynamic()1078 # from: lib/mongo/session.ex:443:611079 data10801081 when defining the variable "data", you must also pattern match on "%Mongo.Session{}"10821083 type warning found at:1084 │1085 445 │ %Session{data | state: new_state}1086 │ ~1087 │1088 └─ lib/mongo/session.ex:445:5: Mongo.Session.handle_call_result/310891090 warning: a struct for Mongo.Session is expected on struct update:10911092 %Mongo.Session{data | state: new_state}10931094 but got type:10951096 dynamic()10971098 where "data" was given the type:10991100 # type: dynamic()1101 # from: lib/mongo/session.ex:448:271102 {:next_state, new_state, data, result}11031104 when defining the variable "data", you must also pattern match on "%Mongo.Session{}"11051106 type warning found at:1107 │1108 450 │ %Session{data | state: new_state}1109 │ ~1110 │1111 └─ lib/mongo/session.ex:450:5: Mongo.Session.handle_call_result/311121113 warning: the following clause cannot match because the previous clauses already matched all possible values:11141115 error ->11161117 it attempts to match on the result of:11181119 get_server_description(state)11201121 which has the already matched type:11221123 dynamic(1124 %{1125 address: term(),1126 arbiters: empty_list(),1127 compression: nil,1128 election_id: nil,1129 error: term(),1130 hosts: empty_list(),1131 last_update_time: integer(),1132 last_write_date: nil,1133 logical_session_timeout: integer(),1134 max_bson_object_size: integer(),1135 max_message_size_bytes: integer(),1136 max_wire_version: integer(),1137 max_write_batch_size: integer(),1138 me: nil,1139 min_wire_version: integer(),1140 op_time: nil,1141 passives: empty_list(),1142 primary: nil,1143 read_only: false,1144 round_trip_time: nil,1145 set_name: nil,1146 set_version: nil,1147 support_retryable_writes: false,1148 tag_set: empty_map(),1149 type: :unknown1150 } or1151 %{1152 address: term(),1153 arbiters: term(),1154 compression: term(),1155 election_id: term(),1156 error: nil,1157 hosts: term(),1158 last_update_time: %DateTime{},1159 last_write_date: term(),1160 logical_session_timeout: not false and not nil,1161 max_bson_object_size: not false and not nil,1162 max_message_size_bytes: not false and not nil,1163 max_wire_version: not false and not nil,1164 max_write_batch_size: not false and not nil,1165 me: term(),1166 min_wire_version: not false and not nil,1167 op_time: term(),1168 passives: term(),1169 primary: term(),1170 read_only: not nil,1171 round_trip_time: integer(),1172 set_name: term(),1173 set_version: term(),1174 supports_retryable_writes: boolean(),1175 tag_set: not false and not nil,1176 type:1177 :mongos or :rs_arbiter or :rs_ghost or :rs_other or :rs_primary or :rs_secondary or1178 :standalone or :unknown1179 }1180 )11811182 where "error" was given the type:11831184 # type: dynamic(1185 %{1186 address: term(),1187 arbiters: empty_list(),1188 compression: nil,1189 election_id: nil,1190 error: term(),1191 hosts: empty_list(),1192 last_update_time: integer(),1193 last_write_date: nil,1194 logical_session_timeout: integer(),1195 max_bson_object_size: integer(),1196 max_message_size_bytes: integer(),1197 max_wire_version: integer(),1198 max_write_batch_size: integer(),1199 me: nil,1200 min_wire_version: integer(),1201 op_time: nil,1202 passives: empty_list(),1203 primary: nil,1204 read_only: false,1205 round_trip_time: nil,1206 set_name: nil,1207 set_version: nil,1208 support_retryable_writes: false,1209 tag_set: empty_map(),1210 type: :unknown1211 } or1212 %{1213 address: term(),1214 arbiters: term(),1215 compression: term(),1216 election_id: term(),1217 error: nil,1218 hosts: term(),1219 last_update_time: %DateTime{},1220 last_write_date: term(),1221 logical_session_timeout: not false and not nil,1222 max_bson_object_size: not false and not nil,1223 max_message_size_bytes: not false and not nil,1224 max_wire_version: not false and not nil,1225 max_write_batch_size: not false and not nil,1226 me: term(),1227 min_wire_version: not false and not nil,1228 op_time: term(),1229 passives: term(),1230 primary: term(),1231 read_only: not nil,1232 round_trip_time: integer(),1233 set_name: term(),1234 set_version: term(),1235 supports_retryable_writes: boolean(),1236 tag_set: not false and not nil,1237 type:1238 :mongos or :rs_arbiter or :rs_ghost or :rs_other or :rs_primary or :rs_secondary or1239 :standalone or :unknown1240 }1241 )1242 # from: lib/mongo/monitor.ex:180:71243 error12441245 type warning found at:1246 │1247 180 │ error ->1248 │ ~1249 │1250 └─ lib/mongo/monitor.ex:180:13: Mongo.Monitor.update_server_description/112511252both :extra_applications and :applications was found in your mix.exs. You most likely want to remove the :applications key, as all applications are derived from your dependencies1253Generated mongodb_driver app1254warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1255 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21256 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11257 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51258 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21259 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41260 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/212611262==> postgrex1263Compiling 69 files (.ex)1264 warning: the variable "positions_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1265 │1266 52 │ <<positions::binary-size(positions_bytes), remaining_data::binary>> = rest1267 │ ~1268 │1269 └─ lib/postgrex/extensions/tsvector.ex:52:30: Postgrex.Extensions.TSVector.decode_tsvector_values/112701271 warning: the variable "rest_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1272 │1273 98 │ <<data::size(rest_size)>> = rest1274 │ ~1275 │1276 └─ lib/postgrex/messages.ex:98:24: Postgrex.Messages.parse/312771278 warning: unused require Postgrex.Messages1279 │1280 55 │ require Postgrex.Messages1281 │ ~1282 │1283 └─ lib/postgrex/query.ex:55:312841285 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1286 │1287 3291 │ <<body::binary(size), rest::binary>> ->1288 │ ~1289 │1290 └─ lib/postgrex/protocol.ex:3291:22: Postgrex.Protocol.msg_decode/112911292 warning: the variable "last_pos" (context Postgrex.Extensions.BitString) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1293 │1294 16 │ <<binary::binary-size(last_pos), last::bits>> = val1295 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1296 │1297 └─ lib/postgrex/extensions/bit_string.ex:16: Postgrex.DefaultTypes."Elixir.Postgrex.Extensions.BitString"/112981299Generated postgrex app1300==> uboot_env1301Compiling 5 files (.ex)1302Generated uboot_env app1303==> memento1304Compiling 13 files (.ex)1305 warning: type record/0 is overriding a built-in type1306 │1307 85 │ @type record :: struct()1308 │ ~~~~~~~~~~~~~~~~~~~~~~~~1309 │1310 └─ lib/memento/table/table.ex:85: (file)13111312Generated memento app1313==> mosql1314Compiling 13 files (.ex)1315 warning: using single-quoted strings to represent charlists is deprecated.1316 Use ~c"" if you indeed want a charlist or use "" instead.1317 You may run "mix format --migrate" to change all single-quoted1318 strings to use the ~c sigil and fix this warning.1319 │1320 39 │ namespace: '',1321 │ ~1322 │1323 └─ lib/mosql/full_export.ex:39:27132413251326== Compilation error in file lib/mosql/full_export.ex ==1327** (ArgumentError) could not fetch application environment :full_export for application :mosql because the application was not loaded nor configured1328 (elixir 1.20.3) lib/application.ex:642: Application.compile_env!/31329 lib/mosql/full_export.ex:18: (module)1330could not compile dependency :mosql, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile mosql --force", update it with "mix deps.update mosql" or clean it with "mix deps.clean mosql"