Build log
nerves_system_bbb
mosql 0.1.0 · fail · run mosql-0.1.0-1791005571321
1328 of 1328 lines
1Resolving Hex dependencies...2Resolution completed in 0.154s3Unchanged: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: 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 operator261 │262 93 │ <<_::binary-size(skip), rest::bits>> = data263 │ ~264 │265 └─ lib/poison/parser.ex:93:22: Poison.Parser.parse!/2266267 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 195 │ <<_::binary-size(skip), rest::bits>> = data270 │ ~271 │272 └─ lib/poison/parser.ex:195:22: Poison.Parser.object_pairs/6273274 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 198 │ <<_::binary-size(skip), rest::bits>> = data277 │ ~278 │279 └─ lib/poison/parser.ex:198: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 271 │ <<_::binary-size(skip), rest::bits>> = data284 │ ~285 │286 └─ lib/poison/parser.ex:271:22: Poison.Parser.array_values/6287288 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 279 │ <<_::binary-size(skip), rest::bits>> = data291 │ ~292 │293 └─ lib/poison/parser.ex:279:22: Poison.Parser.array_values_continue/6294295 warning: use Bitwise is deprecated. import Bitwise instead296 │297 112 │ use Bitwise298 │ ~~~~~~~~~~~299 │300 └─ lib/poison/encoder.ex:112: Poison.Encoder.BitString (module)301302 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 173 │ <<chunk::binary-size(skip), rest::bits>> = string305 │ ~306 │307 └─ lib/poison/encoder.ex:173:26: Poison.Encoder.BitString.escape/2308309Compiling 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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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_armv7_nerves_linux_gnueabihf483Compiling 1 file (.ex)484Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app485==> nerves_compatibility_test486===> Analyzing applications...487===> Compiling telemetry488==> broadway489Compiling 22 files (.ex)490 warning: this clause of defp enqueue_batch/2 is never used (or it will always fail/warn when invoked)491 │492 375 │ defp enqueue_batch(queue, _list = []), do: queue493 │ ~494 │495 └─ lib/broadway/topology/producer_stage.ex:375:8: Broadway.Topology.ProducerStage.enqueue_batch/2496497Generated broadway app498==> db_connection499Compiling 14 files (.ex)500 warning: unused require Bitwise501 │502 33 │ require Bitwise503 │ ~504 │505 └─ lib/db_connection/backoff.ex:33:5506507 warning: using single-quoted strings to represent charlists is deprecated.508 Use ~c"" if you indeed want a charlist or use "" instead.509 You may run "mix format --migrate" to change all single-quoted510 strings to use the ~c sigil and fix this warning.511 │512 312 │ :normal -> [{:data, [{'Module', mod}]}]513 │ ~514 │515 └─ lib/db_connection/connection.ex:312:29516517 warning: using single-quoted strings to represent charlists is deprecated.518 Use ~c"" if you indeed want a charlist or use "" instead.519 You may run "mix format --migrate" to change all single-quoted520 strings to use the ~c sigil and fix this warning.521 │522 421 │ [{:data, [{'Module', mod}, {'State', state}]}]523 │ ~524 │525 └─ lib/db_connection/connection.ex:421:16526527 warning: using single-quoted strings to represent charlists is deprecated.528 Use ~c"" if you indeed want a charlist or use "" instead.529 You may run "mix format --migrate" to change all single-quoted530 strings to use the ~c sigil and fix this warning.531 │532 421 │ [{:data, [{'Module', mod}, {'State', state}]}]533 │ ~534 │535 └─ lib/db_connection/connection.ex:421:33536537Generated db_connection app538==> mongodb_driver539Compiling 56 files (.ex)540warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0541└─ lib/mongo/auth/cr.ex: Mongo.Auth.CR.nonce/4542543 warning: bitstring specifier "float64" does not exist and is being expanded to "float64()", please use parentheses to remove the ambiguity.544 You may run "mix format --migrate" to fix this warning automatically.545 │546 35 │ defp type(@type_float, <<float::little-float64, rest::binary>>) do547 │ ~548 │549 └─ lib/bson/decoder.ex:35:33: BSON.Decoder.type/2550551 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.552 You may run "mix format --migrate" to fix this warning automatically.553 │554 39 │ defp type(@type_string, <<size::int32, rest::binary>>) do555 │ ~556 │557 └─ lib/bson/decoder.ex:39:33: BSON.Decoder.type/2558559 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 operator560 │561 41 │ <<string::binary(size), 0x00, rest::binary>> = rest562 │ ~563 │564 └─ lib/bson/decoder.ex:41:22: BSON.Decoder.type/2565566 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.567 You may run "mix format --migrate" to fix this warning automatically.568 │569 53 │ defp type(@type_binary, <<_size::int32, subtype, length::int32, binary::binary(length), rest::binary>>) when subtype == 0x02 do570 │ ~571 │572 └─ lib/bson/decoder.ex:53:34: BSON.Decoder.type/2573574 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.575 You may run "mix format --migrate" to fix this warning automatically.576 │577 53 │ defp type(@type_binary, <<_size::int32, subtype, length::int32, binary::binary(length), rest::binary>>) when subtype == 0x02 do578 │ ~579 │580 └─ lib/bson/decoder.ex:53:58: BSON.Decoder.type/2581582 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.583 You may run "mix format --migrate" to fix this warning automatically.584 │585 58 │ defp type(@type_binary, <<size::int32, subtype, binary::binary(size), rest::binary>>) do586 │ ~587 │588 └─ lib/bson/decoder.ex:58:33: BSON.Decoder.type/2589590 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.591 You may run "mix format --migrate" to fix this warning automatically.592 │593 75 │ defp type(@type_datetime, <<unix_ms::int64, rest::binary>>) do594 │ ~595 │596 └─ lib/bson/decoder.ex:75:38: BSON.Decoder.type/2597598 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.599 You may run "mix format --migrate" to fix this warning automatically.600 │601 23 │ [<<size + 4::int32>>, subtype, <<size::int32>>, binary]602 │ ~603 │604 └─ lib/bson/encoder.ex:23:16: BSON.Encoder.encode/1605606 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.607 You may run "mix format --migrate" to fix this warning automatically.608 │609 23 │ [<<size + 4::int32>>, subtype, <<size::int32>>, binary]610 │ ~611 │612 └─ lib/bson/encoder.ex:23:42: BSON.Encoder.encode/1613614 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.615 You may run "mix format --migrate" to fix this warning automatically.616 │617 28 │ [<<IO.iodata_length(binary)::int32>>, subtype | binary]618 │ ~619 │620 └─ lib/bson/encoder.ex:28:32: BSON.Encoder.encode/1621622 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.623 You may run "mix format --migrate" to fix this warning automatically.624 │625 36 │ <<unix_ms::int64>>626 │ ~627 │628 └─ lib/bson/encoder.ex:36:14: BSON.Encoder.encode/1629630 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.631 You may run "mix format --migrate" to fix this warning automatically.632 │633 48 │ [<<size::int32>> | iodata]634 │ ~635 │636 └─ lib/bson/encoder.ex:48:12: BSON.Encoder.encode/1637638 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.639 You may run "mix format --migrate" to fix this warning automatically.640 │641 52 │ do: <<ordinal::int32, epoch::int32>>642 │ ~643 │644 └─ lib/bson/encoder.ex:52:18: BSON.Encoder.encode/1645646 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.647 You may run "mix format --migrate" to fix this warning automatically.648 │649 52 │ do: <<ordinal::int32, epoch::int32>>650 │ ~651 │652 └─ lib/bson/encoder.ex:52:32: BSON.Encoder.encode/1653654 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.655 You may run "mix format --migrate" to fix this warning automatically.656 │657 54 │ def encode(%BSON.LongNumber{value: value}), do: <<value::int64>>658 │ ~659 │660 └─ lib/bson/encoder.ex:54:58: BSON.Encoder.encode/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 88 │ do: [<<byte_size(value) + 1::int32>>, value, 0x00]666 │ ~667 │668 └─ lib/bson/encoder.ex:88:32: BSON.Encoder.encode/1669670 warning: bitstring specifier "float64" does not exist and is being expanded to "float64()", please use parentheses to remove the ambiguity.671 You may run "mix format --migrate" to fix this warning automatically.672 │673 91 │ do: <<value::little-float64>>674 │ ~675 │676 └─ lib/bson/encoder.ex:91:16: BSON.Encoder.encode/1677678 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.679 You may run "mix format --migrate" to fix this warning automatically.680 │681 94 │ do: <<value::int32>>682 │ ~683 │684 └─ lib/bson/encoder.ex:94:16: BSON.Encoder.encode/1685686 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.687 You may run "mix format --migrate" to fix this warning automatically.688 │689 97 │ do: <<value::int64>>690 │ ~691 │692 └─ lib/bson/encoder.ex:97:16: BSON.Encoder.encode/1693694 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.695 You may run "mix format --migrate" to fix this warning automatically.696 │697 134 │ [<<IO.iodata_length(iodata) + 5::int32>>, iodata, 0x00]698 │ ~699 │700 └─ lib/bson/encoder.ex:134:36: BSON.Encoder.document/1701702 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.703 You may run "mix format --migrate" to fix this warning automatically.704 │705 102 │ defp type(@type_js_scope, <<size::int32, binary::binary>>) do706 │ ~707 │708 └─ lib/bson/decoder.ex:102:35: BSON.Decoder.type/2709710 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 operator711 │712 104 │ <<binary::binary(size), rest::binary>> = binary713 │ ~714 │715 └─ lib/bson/decoder.ex:104:22: BSON.Decoder.type/2716717 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 110 │ defp type(@type_int32, <<int::int32, rest::binary>>) do721 │ ~722 │723 └─ lib/bson/decoder.ex:110:31: BSON.Decoder.type/2724725 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 114 │ defp type(@type_timestamp, <<ordinal::int32, epoch::int32, rest::binary>>) do729 │ ~730 │731 └─ lib/bson/decoder.ex:114:39: BSON.Decoder.type/2732733 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.734 You may run "mix format --migrate" to fix this warning automatically.735 │736 114 │ defp type(@type_timestamp, <<ordinal::int32, epoch::int32, rest::binary>>) do737 │ ~738 │739 └─ lib/bson/decoder.ex:114:53: BSON.Decoder.type/2740741 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.742 You may run "mix format --migrate" to fix this warning automatically.743 │744 118 │ defp type(@type_int64, <<int::int64, rest::binary>>) do745 │ ~746 │747 └─ lib/bson/decoder.ex:118:31: BSON.Decoder.type/2748749 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.750 You may run "mix format --migrate" to fix this warning automatically.751 │752 134 │ def document(<<size::int32, rest::binary>>) do753 │ ~754 │755 └─ lib/bson/decoder.ex:134:22: BSON.Decoder.document/1756757 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 operator758 │759 136 │ <<doc::binary(size), 0x00, rest::binary>> = rest760 │ ~761 │762 └─ lib/bson/decoder.ex:136:19: BSON.Decoder.document/1763764 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.765 You may run "mix format --migrate" to fix this warning automatically.766 │767 152 │ defp list(<<size::int32, rest::binary>>) do768 │ ~769 │770 └─ lib/bson/decoder.ex:152:19: BSON.Decoder.list/1771772 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 operator773 │774 154 │ <<list::binary(size), 0x00, rest::binary>> = rest775 │ ~776 │777 └─ lib/bson/decoder.ex:154:20: BSON.Decoder.list/1778779 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 operator780 │781 111 │ fun = fn <<data::bytes-size(chunk_size), rest::binary>> ->782 │ ~783 │784 └─ lib/mongo/grid_fs/upload_stream.ex:111:35: Collectable.Mongo.GridFs.UploadStream.write_buffer/2785786 warning: unused require Logger787 │788 4 │ require Logger789 │ ~790 │791 └─ lib/mongo/events.ex:4:3792793 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.794 You may run "mix format --migrate" to fix this warning automatically.795 │796 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do797 │ ~798 │799 └─ lib/mongo/messages.ex:65:29: Mongo.Messages.decode_header/1800801 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.802 You may run "mix format --migrate" to fix this warning automatically.803 │804 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do805 │ ~806 │807 └─ lib/mongo/messages.ex:65:48: Mongo.Messages.decode_header/1808809 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.810 You may run "mix format --migrate" to fix this warning automatically.811 │812 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do813 │ ~814 │815 └─ lib/mongo/messages.ex:65:68: Mongo.Messages.decode_header/1816817 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.818 You may run "mix format --migrate" to fix this warning automatically.819 │820 65 │ def decode_header(<<length::int32, request_id::int32, response_to::int32, op_code::int32>>) do821 │ ~822 │823 └─ lib/mongo/messages.ex:65:84: Mongo.Messages.decode_header/1824825 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 operator826 │827 83 │ <<response::binary(length), rest::binary>> = binary828 │ ~829 │830 └─ lib/mongo/messages.ex:83:24: Mongo.Messages.decode_response/2831832 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.833 You may run "mix format --migrate" to fix this warning automatically.834 │835 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do836 │ ~837 │838 └─ lib/mongo/messages.ex:97:27: Mongo.Messages.decode_reply/1839840 warning: bitstring specifier "int64" does not exist and is being expanded to "int64()", please use parentheses to remove the ambiguity.841 You may run "mix format --migrate" to fix this warning automatically.842 │843 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do844 │ ~845 │846 └─ lib/mongo/messages.ex:97:45: Mongo.Messages.decode_reply/1847848 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.849 You may run "mix format --migrate" to fix this warning automatically.850 │851 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do852 │ ~853 │854 └─ lib/mongo/messages.ex:97:58: Mongo.Messages.decode_reply/1855856 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.857 You may run "mix format --migrate" to fix this warning automatically.858 │859 97 │ def decode_reply(<<flags::int32, cursor_id::int64, from::int32, num::int32, rest::binary>>) do860 │ ~861 │862 └─ lib/mongo/messages.ex:97:70: Mongo.Messages.decode_reply/1863864 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.865 You may run "mix format --migrate" to fix this warning automatically.866 │867 101 │ def decode_msg(<<flags::int32, rest::binary>>) do868 │ ~869 │870 └─ lib/mongo/messages.ex:101:25: Mongo.Messages.decode_msg/1871872 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.873 You may run "mix format --migrate" to fix this warning automatically.874 │875 108 │ def decode_sections(<<0x00::int8, payload::binary>>, acc) do876 │ ~877 │878 └─ lib/mongo/messages.ex:108:29: Mongo.Messages.decode_sections/2879880 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.881 You may run "mix format --migrate" to fix this warning automatically.882 │883 109 │ <<size::int32, _rest::binary>> = payload884 │ ~885 │886 └─ lib/mongo/messages.ex:109:11: Mongo.Messages.decode_sections/2887888 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 operator889 │890 110 │ <<doc::binary(size), rest::binary>> = payload891 │ ~892 │893 └─ lib/mongo/messages.ex:110:19: Mongo.Messages.decode_sections/2894895 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.896 You may run "mix format --migrate" to fix this warning automatically.897 │898 117 │ def decode_sections(<<0x01::int8, payload::binary>>, acc) do899 │ ~900 │901 └─ lib/mongo/messages.ex:117:29: Mongo.Messages.decode_sections/2902903 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.904 You may run "mix format --migrate" to fix this warning automatically.905 │906 118 │ <<size::int32, _rest::binary>> = payload907 │ ~908 │909 └─ lib/mongo/messages.ex:118:11: Mongo.Messages.decode_sections/2910911 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 operator912 │913 119 │ <<sequence::binary(size), rest::binary>> = payload914 │ ~915 │916 └─ lib/mongo/messages.ex:119:24: Mongo.Messages.decode_sections/2917918 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.919 You may run "mix format --migrate" to fix this warning automatically.920 │921 123 │ def decode_sequence(<<size::int32, rest::binary>>) do922 │ ~923 │924 └─ lib/mongo/messages.ex:123:29: Mongo.Messages.decode_sequence/1925926 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.927 You may run "mix format --migrate" to fix this warning automatically.928 │929 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>930 │ ~931 │932 └─ lib/mongo/messages.ex:147:13: Mongo.Messages.encode_header/1933934 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.935 You may run "mix format --migrate" to fix this warning automatically.936 │937 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>938 │ ~939 │940 └─ lib/mongo/messages.ex:147:32: Mongo.Messages.encode_header/1941942 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.943 You may run "mix format --migrate" to fix this warning automatically.944 │945 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>946 │ ~947 │948 └─ lib/mongo/messages.ex:147:52: Mongo.Messages.encode_header/1949950 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.951 You may run "mix format --migrate" to fix this warning automatically.952 │953 147 │ <<length::int32, request_id::int32, response_to::int32, op_code::int32>>954 │ ~955 │956 └─ lib/mongo/messages.ex:147:68: Mongo.Messages.encode_header/1957958 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.959 You may run "mix format --migrate" to fix this warning automatically.960 │961 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]962 │ ~963 │964 └─ lib/mongo/messages.ex:151:33: Mongo.Messages.encode_op/1965966 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.967 You may run "mix format --migrate" to fix this warning automatically.968 │969 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]970 │ ~971 │972 └─ lib/mongo/messages.ex:151:66: Mongo.Messages.encode_op/1973974 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.975 You may run "mix format --migrate" to fix this warning automatically.976 │977 151 │ [<<blit_flags(:query, flags)::int32>>, coll, <<0x00, num_skip::int32, num_return::int32>>, BSON.Encoder.document(query), select]978 │ ~979 │980 └─ lib/mongo/messages.ex:151:85: Mongo.Messages.encode_op/1981982 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.983 You may run "mix format --migrate" to fix this warning automatically.984 │985 155 │ [<<blit_flags(:msg, flags)::int32>> | encode_sections(sections)]986 │ ~987 │988 └─ lib/mongo/messages.ex:155:31: Mongo.Messages.encode_op/1989990 warning: bitstring specifier "int8" does not exist and is being expanded to "int8()", please use parentheses to remove the ambiguity.991 You may run "mix format --migrate" to fix this warning automatically.992 │993 163 │ [<<t::int8>> | encode_payload(payload)]994 │ ~995 │996 └─ lib/mongo/messages.ex:163:9: Mongo.Messages.encode_section/1997998 warning: bitstring specifier "int32" does not exist and is being expanded to "int32()", please use parentheses to remove the ambiguity.999 You may run "mix format --migrate" to fix this warning automatically.1000 │1001 173 │ [<<size::int32>> | iodata]1002 │ ~1003 │1004 └─ lib/mongo/messages.ex:173:12: Mongo.Messages.encode_payload/110051006 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1007 │1008 181 │ Logger.warn("Unable to update server description because of #{inspect(error)}")1009 │ ~1010 │1011 └─ lib/mongo/monitor.ex:181:16: Mongo.Monitor.update_server_description/110121013 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1014 │1015 198 │ Logger.warn("Unable to round trip time because of #{inspect(error)}")1016 │ ~1017 │1018 └─ lib/mongo/monitor.ex:198:16: Mongo.Monitor.update_server_description/110191020 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1021 │1022 215 │ Logger.warn("Unable to start the streaming hello monitor, because of #{inspect(error)}")1023 │ ~1024 │1025 └─ lib/mongo/monitor.ex:215:16: Mongo.Monitor.start_streaming_mode/210261027 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 operator1028 │1029 40 │ <<bin::binary-size(max_length), _::binary>> = key1030 │ ~1031 │1032 └─ lib/mongo/pbkdf2.ex:40:24: Mongo.PBKDF2.generate/710331034 warning: unused require Logger1035 │1036 6 │ require Logger1037 │ ~1038 │1039 └─ lib/mongo/mongo_db_connection.ex:6:310401041 warning: using single-quoted strings to represent charlists is deprecated.1042 Use ~c"" if you indeed want a charlist or use "" instead.1043 You may run "mix format --migrate" to change all single-quoted1044 strings to use the ~c sigil and fix this warning.1045 │1046 140 │ :inet_res.getbyname('_mongodb._tcp.' ++ url_char, :srv),1047 │ ~1048 │1049 └─ lib/mongo/url_parser.ex:140:3210501051 warning: unused require Logger1052 │1053 4 │ require Logger1054 │ ~1055 │1056 └─ lib/mongo/topology.ex:4:310571058 warning: unused require Logger1059 │1060 90 │ require Logger1061 │ ~1062 │1063 └─ lib/mongo/session.ex:90:310641065 warning: a struct for Mongo.Session is expected on struct update:10661067 %Mongo.Session{data | state: new_state}10681069 but got type:10701071 dynamic()10721073 where "data" was given the type:10741075 # type: dynamic()1076 # from: lib/mongo/session.ex:443:611077 data10781079 when defining the variable "data", you must also pattern match on "%Mongo.Session{}"10801081 type warning found at:1082 │1083 445 │ %Session{data | state: new_state}1084 │ ~1085 │1086 └─ lib/mongo/session.ex:445:5: Mongo.Session.handle_call_result/310871088 warning: a struct for Mongo.Session is expected on struct update:10891090 %Mongo.Session{data | state: new_state}10911092 but got type:10931094 dynamic()10951096 where "data" was given the type:10971098 # type: dynamic()1099 # from: lib/mongo/session.ex:448:271100 {:next_state, new_state, data, result}11011102 when defining the variable "data", you must also pattern match on "%Mongo.Session{}"11031104 type warning found at:1105 │1106 450 │ %Session{data | state: new_state}1107 │ ~1108 │1109 └─ lib/mongo/session.ex:450:5: Mongo.Session.handle_call_result/311101111 warning: the following clause cannot match because the previous clauses already matched all possible values:11121113 error ->11141115 it attempts to match on the result of:11161117 get_server_description(state)11181119 which has the already matched type:11201121 dynamic(1122 %{1123 address: term(),1124 arbiters: empty_list(),1125 compression: nil,1126 election_id: nil,1127 error: term(),1128 hosts: empty_list(),1129 last_update_time: integer(),1130 last_write_date: nil,1131 logical_session_timeout: integer(),1132 max_bson_object_size: integer(),1133 max_message_size_bytes: integer(),1134 max_wire_version: integer(),1135 max_write_batch_size: integer(),1136 me: nil,1137 min_wire_version: integer(),1138 op_time: nil,1139 passives: empty_list(),1140 primary: nil,1141 read_only: false,1142 round_trip_time: nil,1143 set_name: nil,1144 set_version: nil,1145 support_retryable_writes: false,1146 tag_set: empty_map(),1147 type: :unknown1148 } or1149 %{1150 address: term(),1151 arbiters: term(),1152 compression: term(),1153 election_id: term(),1154 error: nil,1155 hosts: term(),1156 last_update_time: %DateTime{},1157 last_write_date: term(),1158 logical_session_timeout: not false and not nil,1159 max_bson_object_size: not false and not nil,1160 max_message_size_bytes: not false and not nil,1161 max_wire_version: not false and not nil,1162 max_write_batch_size: not false and not nil,1163 me: term(),1164 min_wire_version: not false and not nil,1165 op_time: term(),1166 passives: term(),1167 primary: term(),1168 read_only: not nil,1169 round_trip_time: integer(),1170 set_name: term(),1171 set_version: term(),1172 supports_retryable_writes: boolean(),1173 tag_set: not false and not nil,1174 type:1175 :mongos or :rs_arbiter or :rs_ghost or :rs_other or :rs_primary or :rs_secondary or1176 :standalone or :unknown1177 }1178 )11791180 where "error" was given the type:11811182 # type: dynamic(1183 %{1184 address: term(),1185 arbiters: empty_list(),1186 compression: nil,1187 election_id: nil,1188 error: term(),1189 hosts: empty_list(),1190 last_update_time: integer(),1191 last_write_date: nil,1192 logical_session_timeout: integer(),1193 max_bson_object_size: integer(),1194 max_message_size_bytes: integer(),1195 max_wire_version: integer(),1196 max_write_batch_size: integer(),1197 me: nil,1198 min_wire_version: integer(),1199 op_time: nil,1200 passives: empty_list(),1201 primary: nil,1202 read_only: false,1203 round_trip_time: nil,1204 set_name: nil,1205 set_version: nil,1206 support_retryable_writes: false,1207 tag_set: empty_map(),1208 type: :unknown1209 } or1210 %{1211 address: term(),1212 arbiters: term(),1213 compression: term(),1214 election_id: term(),1215 error: nil,1216 hosts: term(),1217 last_update_time: %DateTime{},1218 last_write_date: term(),1219 logical_session_timeout: not false and not nil,1220 max_bson_object_size: not false and not nil,1221 max_message_size_bytes: not false and not nil,1222 max_wire_version: not false and not nil,1223 max_write_batch_size: not false and not nil,1224 me: term(),1225 min_wire_version: not false and not nil,1226 op_time: term(),1227 passives: term(),1228 primary: term(),1229 read_only: not nil,1230 round_trip_time: integer(),1231 set_name: term(),1232 set_version: term(),1233 supports_retryable_writes: boolean(),1234 tag_set: not false and not nil,1235 type:1236 :mongos or :rs_arbiter or :rs_ghost or :rs_other or :rs_primary or :rs_secondary or1237 :standalone or :unknown1238 }1239 )1240 # from: lib/mongo/monitor.ex:180:71241 error12421243 type warning found at:1244 │1245 180 │ error ->1246 │ ~1247 │1248 └─ lib/mongo/monitor.ex:180:13: Mongo.Monitor.update_server_description/112491250both :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 dependencies1251Generated mongodb_driver app1252warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1253 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21254 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11255 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51256 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21257 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41258 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/212591260==> postgrex1261Compiling 69 files (.ex)1262 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 operator1263 │1264 52 │ <<positions::binary-size(positions_bytes), remaining_data::binary>> = rest1265 │ ~1266 │1267 └─ lib/postgrex/extensions/tsvector.ex:52:30: Postgrex.Extensions.TSVector.decode_tsvector_values/112681269 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 operator1270 │1271 98 │ <<data::size(rest_size)>> = rest1272 │ ~1273 │1274 └─ lib/postgrex/messages.ex:98:24: Postgrex.Messages.parse/312751276 warning: unused require Postgrex.Messages1277 │1278 55 │ require Postgrex.Messages1279 │ ~1280 │1281 └─ lib/postgrex/query.ex:55:312821283 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 operator1284 │1285 3291 │ <<body::binary(size), rest::binary>> ->1286 │ ~1287 │1288 └─ lib/postgrex/protocol.ex:3291:22: Postgrex.Protocol.msg_decode/112891290 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 operator1291 │1292 16 │ <<binary::binary-size(last_pos), last::bits>> = val1293 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1294 │1295 └─ lib/postgrex/extensions/bit_string.ex:16: Postgrex.DefaultTypes."Elixir.Postgrex.Extensions.BitString"/112961297Generated postgrex app1298==> uboot_env1299Compiling 5 files (.ex)1300Generated uboot_env app1301==> memento1302Compiling 13 files (.ex)1303 warning: type record/0 is overriding a built-in type1304 │1305 85 │ @type record :: struct()1306 │ ~~~~~~~~~~~~~~~~~~~~~~~~1307 │1308 └─ lib/memento/table/table.ex:85: (file)13091310Generated memento app1311==> mosql1312Compiling 13 files (.ex)1313 warning: using single-quoted strings to represent charlists is deprecated.1314 Use ~c"" if you indeed want a charlist or use "" instead.1315 You may run "mix format --migrate" to change all single-quoted1316 strings to use the ~c sigil and fix this warning.1317 │1318 39 │ namespace: '',1319 │ ~1320 │1321 └─ lib/mosql/full_export.ex:39:27132213231324== Compilation error in file lib/mosql/full_export.ex ==1325** (ArgumentError) could not fetch application environment :full_export for application :mosql because the application was not loaded nor configured1326 (elixir 1.20.3) lib/application.ex:642: Application.compile_env!/31327 lib/mosql/full_export.ex:18: (module)1328could 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"