Build log
nerves_system_rpi4
arke_ai 0.2.0 · fail · run arke_ai-0.2.0-1794768255917
4815 of 4815 lines
1Resolving Hex dependencies...2Resolution completed in 0.042s3Unchanged:4 guardian 2.2.4 VULNERABLE!5 EEF-CVE-2026-55735 (HIGH)6 aka: CVE-2026-55735, GHSA-7975-hp3r-5qhv7 Guardian.revoke/3 acts on unverified token claims, allowing forged-token session revocation8 https://osv.dev/vulnerability/EEF-CVE-2026-55735910 EEF-CVE-2026-55733 (MEDIUM)11 aka: CVE-2026-55733, GHSA-fjr5-7xrc-hmpj12 Atom-table exhaustion denial of service in Guardian permissions AtomEncoding via unbounded atom creation13 https://osv.dev/vulnerability/EEF-CVE-2026-557331415 EEF-CVE-2026-55734 (MEDIUM)16 aka: CVE-2026-55734, GHSA-9qx2-v587-q3gg17 guardian atom exhaustion in Guardian.Permissions.encode_permissions!/118 https://osv.dev/vulnerability/EEF-CVE-2026-557341920 EEF-CVE-2026-54894 (MEDIUM)21 aka: CVE-2026-54894, GHSA-xqch-c77q-rgh522 Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keys23 https://osv.dev/vulnerability/EEF-CVE-2026-5489424* Getting arke_ai (Hex package)25* Getting nerves (Hex package)26* Getting logger_backends (Hex package)27* Getting ring_logger (Hex package)28* Getting toolshed (Hex package)29* Getting nerves_runtime (Hex package)30* Getting nerves_system_bbb (Hex package)31* Getting nerves_system_mangopi_mq_pro (Hex package)32* Getting nerves_system_qemu_aarch64 (Hex package)33* Getting nerves_system_rpi0 (Hex package)34* Getting nerves_system_rpi0_2 (Hex package)35* Getting nerves_system_rpi4 (Hex package)36* Getting nerves_system_rpi5 (Hex package)37* Getting nerves_system_trellis (Hex package)38* Getting nerves_system_x86_64 (Hex package)39* Getting nerves_system_br (Hex package)40* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)41* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)42* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)43* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)44* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)45* Getting nerves_logging (Hex package)46* Getting nerves_uevent (Hex package)47* Getting uboot_env (Hex package)48* Getting elixir_make (Hex package)49* Getting property_table (Hex package)50* Getting circular_buffer (Hex package)51* Getting interactive_cmd (Hex package)52* Getting nerves_discovery (Hex package)53* Getting tablet (Hex package)54* Getting arke (Hex package)55* Getting arke_auth (Hex package)56* Getting bcrypt_elixir (Hex package)57* Getting comeonin (Hex package)58* Getting guardian (Hex package)59* Getting typed_struct (Hex package)60* Getting jose (Hex package)61* Getting google_api_storage (Hex package)62* Getting goth (Hex package)63* Getting jason (Hex package)64* Getting libcluster (Hex package)65* Getting tesla (Hex package)66* Getting uuid (Hex package)67* Getting xlsxir (Hex package)68* Getting erlsom (Hex package)69* Getting mime (Hex package)70* Getting telemetry (Hex package)71* Getting finch (Hex package)72* Getting mint (Hex package)73* Getting nimble_options (Hex package)74* Getting nimble_pool (Hex package)75* Getting hpax (Hex package)76* Getting google_gax (Hex package)77* Getting poison (Hex package)78Found packages with security advisories, see above for details79==> tablet80Compiling 2 files (.ex)81Generated tablet app82==> nerves_discovery83Compiling 5 files (.ex)84Generated nerves_discovery app85==> interactive_cmd86Compiling 1 file (.ex)87Generated interactive_cmd app88==> nerves89Compiling 65 files (.ex)90Generated nerves app91==> nerves_system_br92Generated nerves_system_br app93==> typed_struct94Compiling 2 files (.ex)95Generated typed_struct app96==> mime97Compiling 2 files (.ex)98Generated mime app99==> circular_buffer100Compiling 1 file (.ex)101Generated circular_buffer app102==> nimble_options103Compiling 3 files (.ex)104Generated nimble_options app105==> nerves_compatibility_test106===> Analyzing applications...107===> Compiling erlsom108 ┌─ src/erlsom_sax_utf8.erl:109 │110 1063 │ case catch list_to_integer(Tail1) of111 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.112Compile directive 'nowarn_deprecated_catch' can be used to suppress113warnings in selected modules.114115116 ┌─ src/erlsom_sax_list.erl:117 │118 1063 │ case catch list_to_integer(Tail1) of119 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.120Compile directive 'nowarn_deprecated_catch' can be used to suppress121warnings in selected modules.122123124 ┌─ src/erlsom_sax_utf16be.erl:125 │126 1063 │ case catch list_to_integer(Tail1) of127 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.128Compile directive 'nowarn_deprecated_catch' can be used to suppress129warnings in selected modules.130131132 ┌─ src/erlsom.erl:133 │134 143 │ case catch erlsom_compile:compile(Xsd, Options) of135 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.136Compile directive 'nowarn_deprecated_catch' can be used to suppress137warnings in selected modules.138139 ┌─ src/erlsom.erl:140 │141 245 │ case catch erlsom_sax:parseDocument(Xml, State,142 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.143Compile directive 'nowarn_deprecated_catch' can be used to suppress144warnings in selected modules.145146147 ┌─ src/erlsom_sax_latin9.erl:148 │149 1063 │ case catch list_to_integer(Tail1) of150 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.151Compile directive 'nowarn_deprecated_catch' can be used to suppress152warnings in selected modules.153154155 ┌─ src/erlsom_sax_utf16le.erl:156 │157 1063 │ case catch list_to_integer(Tail1) of158 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.159Compile directive 'nowarn_deprecated_catch' can be used to suppress160warnings in selected modules.161162163 ┌─ src/erlsom_compile.erl:164 │165 250 │ case catch transform(ParsedXsd, Acc) of166 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.167Compile directive 'nowarn_deprecated_catch' can be used to suppress168warnings in selected modules.169170 ┌─ src/erlsom_compile.erl:171 │172 254 │ case catch erlsom_pass2:secondPass(IntermediateResult#p1acc.tps,173 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.174Compile directive 'nowarn_deprecated_catch' can be used to suppress175warnings in selected modules.176177178 ┌─ src/erlsom_sax_latin1.erl:179 │180 1063 │ case catch list_to_integer(Tail1) of181 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.182Compile directive 'nowarn_deprecated_catch' can be used to suppress183warnings in selected modules.184185186==> jason187Compiling 10 files (.ex)188Generated jason app189==> poison190Compiling 4 files (.ex)191 warning: using single-quoted strings to represent charlists is deprecated.192 Use ~c"" if you indeed want a charlist or use "" instead.193 You may run "mix format --migrate" to change all single-quoted194 strings to use the ~c sigil and fix this warning.195 │196 127 │ for {char, seq} <- Enum.zip('"\\\n\t\r\f\b', '"\\ntrfb') do197 │ ~198 │199 └─ lib/poison/encoder.ex:127:31200201 warning: using single-quoted strings to represent charlists is deprecated.202 Use ~c"" if you indeed want a charlist or use "" instead.203 You may run "mix format --migrate" to change all single-quoted204 strings to use the ~c sigil and fix this warning.205 │206 127 │ for {char, seq} <- Enum.zip('"\\\n\t\r\f\b', '"\\ntrfb') do207 │ ~208 │209 └─ lib/poison/encoder.ex:127:48210211 warning: using single-quoted strings to represent charlists is deprecated.212 Use ~c"" if you indeed want a charlist or use "" instead.213 You may run "mix format --migrate" to change all single-quoted214 strings to use the ~c sigil and fix this warning.215 │216 174 │ when char <= 0x1F or char in '"\\' do217 │ ~218 │219 └─ lib/poison/encoder.ex:174:37220221 warning: using single-quoted strings to represent charlists is deprecated.222 Use ~c"" if you indeed want a charlist or use "" instead.223 You may run "mix format --migrate" to change all single-quoted224 strings to use the ~c sigil and fix this warning.225 │226 94 │ when char in '-0123456789' do227 │ ~228 │229 └─ lib/poison/parser.ex:94:21230231 warning: using single-quoted strings to represent charlists is deprecated.232 Use ~c"" if you indeed want a charlist or use "" instead.233 You may run "mix format --migrate" to change all single-quoted234 strings to use the ~c sigil and fix this warning.235 │236 189 │ when char in '123456789' do237 │ ~238 │239 └─ lib/poison/parser.ex:189:21240241 warning: using single-quoted strings to represent charlists is deprecated.242 Use ~c"" if you indeed want a charlist or use "" instead.243 You may run "mix format --migrate" to change all single-quoted244 strings to use the ~c sigil and fix this warning.245 │246 205 │ defp number_exp(<<e>> <> rest, frac, pos, acc) when e in 'eE' do247 │ ~248 │249 └─ lib/poison/parser.ex:205:60250251 warning: using single-quoted strings to represent charlists is deprecated.252 Use ~c"" if you indeed want a charlist or use "" instead.253 You may run "mix format --migrate" to change all single-quoted254 strings to use the ~c sigil and fix this warning.255 │256 238 │ when char in '0123456789' do257 │ ~258 │259 └─ lib/poison/parser.ex:238:21260261 warning: using single-quoted strings to represent charlists is deprecated.262 Use ~c"" if you indeed want a charlist or use "" instead.263 You may run "mix format --migrate" to change all single-quoted264 strings to use the ~c sigil and fix this warning.265 │266 246 │ defp number_digits_count(<<char>> <> rest, acc) when char in '0123456789' do267 │ ~268 │269 └─ lib/poison/parser.ex:246:64270271 warning: using single-quoted strings to represent charlists is deprecated.272 Use ~c"" if you indeed want a charlist or use "" instead.273 You may run "mix format --migrate" to change all single-quoted274 strings to use the ~c sigil and fix this warning.275 │276 270 │ for {seq, char} <- Enum.zip('"\\ntr/fb', '"\\\n\t\r/\f\b') do277 │ ~278 │279 └─ lib/poison/parser.ex:270:31280281 warning: using single-quoted strings to represent charlists is deprecated.282 Use ~c"" if you indeed want a charlist or use "" instead.283 You may run "mix format --migrate" to change all single-quoted284 strings to use the ~c sigil and fix this warning.285 │286 270 │ for {seq, char} <- Enum.zip('"\\ntr/fb', '"\\\n\t\r/\f\b') do287 │ ~288 │289 └─ lib/poison/parser.ex:270:44290291 warning: using single-quoted strings to represent charlists is deprecated.292 Use ~c"" if you indeed want a charlist or use "" instead.293 You may run "mix format --migrate" to change all single-quoted294 strings to use the ~c sigil and fix this warning.295 │296 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and297 │ ~298 │299 └─ lib/poison/parser.ex:277:24300301 warning: using single-quoted strings to represent charlists is deprecated.302 Use ~c"" if you indeed want a charlist or use "" instead.303 You may run "mix format --migrate" to change all single-quoted304 strings to use the ~c sigil and fix this warning.305 │306 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and307 │ ~308 │309 └─ lib/poison/parser.ex:277:39310311 warning: using single-quoted strings to represent charlists is deprecated.312 Use ~c"" if you indeed want a charlist or use "" instead.313 You may run "mix format --migrate" to change all single-quoted314 strings to use the ~c sigil and fix this warning.315 │316 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and317 │ ~318 │319 └─ lib/poison/parser.ex:277:54320321 warning: using single-quoted strings to represent charlists is deprecated.322 Use ~c"" if you indeed want a charlist or use "" instead.323 You may run "mix format --migrate" to change all single-quoted324 strings to use the ~c sigil and fix this warning.325 │326 334 │ defp skip_whitespace(<<char>> <> rest, pos) when char in '\s\n\t\r' do327 │ ~328 │329 └─ lib/poison/parser.ex:334:60330331 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead332 │333 42 │ if Application.get_env(:poison, :native) do334 │ ~335 │336 └─ lib/poison/parser.ex:42:18: Poison.Parser (module)337338 warning: use Bitwise is deprecated. import Bitwise instead339 │340 46 │ use Bitwise341 │ ~~~~~~~~~~~342 │343 └─ lib/poison/parser.ex:46: Poison.Parser (module)344345 warning: use Bitwise is deprecated. import Bitwise instead346 │347 117 │ use Bitwise348 │ ~~~~~~~~~~~349 │350 └─ lib/poison/encoder.ex:117: Poison.Encoder.BitString (module)351352 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 operator353 │354 169 │ <<chunk::binary-size(size), rest::binary>> = string355 │ ~356 │357 └─ lib/poison/encoder.ex:169:26: Poison.Encoder.BitString.escape/2358359 warning: the variable "count" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator360 │361 240 │ <<digits::binary-size(count), rest::binary>> = string362 │ ~363 │364 └─ lib/poison/parser.ex:240:27: Poison.Parser.number_digits/2365366 warning: the variable "count" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator367 │368 266 │ <<chunk::binary-size(count), rest::binary>> = string369 │ ~370 │371 └─ lib/poison/parser.ex:266:26: Poison.Parser.string_continue/3372373Generated poison app374==> logger_backends375Compiling 7 files (.ex)376Generated logger_backends app377==> hpax378Compiling 4 files (.ex)379Generated hpax app380==> mint381Compiling 1 file (.erl)382Compiling 21 files (.ex)383Generated mint app384==> jose385Compiling 113 files (.erl)386Compiling 8 files (.ex)387Generated jose app388==> elixir_make389Compiling 8 files (.ex)390Generated elixir_make app391==> nerves_logging392 CC kmsg_tailer.o393 LD kmsg_tailer394Compiling 5 files (.ex)395Generated nerves_logging app396==> bcrypt_elixir397mkdir -p priv398/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -g -O3 -Wall -Wno-format-truncation -I/usr/local/lib/erlang/erts-17.1.1/include -Ic_src -fPIC -shared --sysroot=/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging c_src/bcrypt_nif.c c_src/blowfish.c -o priv/bcrypt_nif.so399Compiling 3 files (.ex)400 warning: using single-quoted strings to represent charlists is deprecated.401 Use ~c"" if you indeed want a charlist or use "" instead.402 You may run "mix format --migrate" to change all single-quoted403 strings to use the ~c sigil and fix this warning.404 │405 57 │ path = :filename.join(:code.priv_dir(:bcrypt_elixir), 'bcrypt_nif')406 │ ~407 │408 └─ lib/bcrypt/base.ex:57:59409410 warning: use Bitwise is deprecated. import Bitwise instead411 │412 6 │ use Bitwise413 │ ~~~~~~~~~~~414 │415 └─ lib/bcrypt/base.ex:6: Bcrypt.Base (module)416417Generated bcrypt_elixir app418==> comeonin419Compiling 2 files (.ex)420Generated comeonin app421==> xlsxir422Compiling 14 files (.ex)423 warning: using single-quoted strings to represent charlists is deprecated.424 Use ~c"" if you indeed want a charlist or use "" instead.425 You may run "mix format --migrate" to change all single-quoted426 strings to use the ~c sigil and fix this warning.427 │428 502 │ "#{column_from_index(col_index + 1, '')}#{line}"429 │ ~430 │431 └─ lib/xlsxir.ex:502:41432433 warning: using single-quoted strings to represent charlists is deprecated.434 Use ~c"" if you indeed want a charlist or use "" instead.435 You may run "mix format --migrate" to change all single-quoted436 strings to use the ~c sigil and fix this warning.437 │438 20 │ def from_charlist('0'), do: {0, 0, 0}439 │ ~440 │441 └─ lib/xlsxir/convert_datetime.ex:20:21442443 warning: using single-quoted strings to represent charlists is deprecated.444 Use ~c"" if you indeed want a charlist or use "" instead.445 You may run "mix format --migrate" to change all single-quoted446 strings to use the ~c sigil and fix this warning.447 │448 25 │ def sax_event_handler({:startElement,_,'si',_,_}, %__MODULE__{tid: tid, index: index}), do: %__MODULE__{tid: tid, index: index}449 │ ~450 │451 └─ lib/xlsxir/parse_string.ex:25:42452453 warning: using single-quoted strings to represent charlists is deprecated.454 Use ~c"" if you indeed want a charlist or use "" instead.455 You may run "mix format --migrate" to change all single-quoted456 strings to use the ~c sigil and fix this warning.457 │458 27 │ def sax_event_handler({:startElement,_,'family',_,_}, state) do459 │ ~460 │461 └─ lib/xlsxir/parse_string.ex:27:42462463 warning: using single-quoted strings to represent charlists is deprecated.464 Use ~c"" if you indeed want a charlist or use "" instead.465 You may run "mix format --migrate" to change all single-quoted466 strings to use the ~c sigil and fix this warning.467 │468 37 │ def sax_event_handler({:endElement,_,'si',_},469 │ ~470 │471 └─ lib/xlsxir/parse_string.ex:37:40472473 warning: using single-quoted strings to represent charlists is deprecated.474 Use ~c"" if you indeed want a charlist or use "" instead.475 You may run "mix format --migrate" to change all single-quoted476 strings to use the ~c sigil and fix this warning.477 │478 56 │ def sax_event_handler({:startElement, _, 'cellXfs', _, _}, state) do479 │ ~480 │481 └─ lib/xlsxir/parse_style.ex:56:44482483 warning: using single-quoted strings to represent charlists is deprecated.484 Use ~c"" if you indeed want a charlist or use "" instead.485 You may run "mix format --migrate" to change all single-quoted486 strings to use the ~c sigil and fix this warning.487 │488 60 │ def sax_event_handler({:endElement, _, 'cellXfs', _}, state) do489 │ ~490 │491 └─ lib/xlsxir/parse_style.ex:60:42492493 warning: using single-quoted strings to represent charlists is deprecated.494 Use ~c"" if you indeed want a charlist or use "" instead.495 You may run "mix format --migrate" to change all single-quoted496 strings to use the ~c sigil and fix this warning.497 │498 65 │ {:startElement, _, 'xf', _, xml_attr},499 │ ~500 │501 └─ lib/xlsxir/parse_style.ex:65:28502503 warning: using single-quoted strings to represent charlists is deprecated.504 Use ~c"" if you indeed want a charlist or use "" instead.505 You may run "mix format --migrate" to change all single-quoted506 strings to use the ~c sigil and fix this warning.507 │508 72 │ {:attribute, 'numFmtId', _, _, _} -> true509 │ ~510 │511 └─ lib/xlsxir/parse_style.ex:72:26512513 warning: using single-quoted strings to represent charlists is deprecated.514 Use ~c"" if you indeed want a charlist or use "" instead.515 You may run "mix format --migrate" to change all single-quoted516 strings to use the ~c sigil and fix this warning.517 │518 84 │ {:startElement, _, 'numFmt', _, xml_attr},519 │ ~520 │521 └─ lib/xlsxir/parse_style.ex:84:28522523 warning: using single-quoted strings to represent charlists is deprecated.524 Use ~c"" if you indeed want a charlist or use "" instead.525 You may run "mix format --migrate" to change all single-quoted526 strings to use the ~c sigil and fix this warning.527 │528 90 │ {:attribute, 'numFmtId', _, _, id} -> Map.put(acc, :id, id)529 │ ~530 │531 └─ lib/xlsxir/parse_style.ex:90:24532533 warning: using single-quoted strings to represent charlists is deprecated.534 Use ~c"" if you indeed want a charlist or use "" instead.535 You may run "mix format --migrate" to change all single-quoted536 strings to use the ~c sigil and fix this warning.537 │538 91 │ {:attribute, 'formatCode', _, _, cd} -> Map.put(acc, :cd, cd)539 │ ~540 │541 └─ lib/xlsxir/parse_style.ex:91:24542543 warning: using single-quoted strings to represent charlists is deprecated.544 Use ~c"" if you indeed want a charlist or use "" instead.545 You may run "mix format --migrate" to change all single-quoted546 strings to use the ~c sigil and fix this warning.547 │548 109 │ i when i in @date -> :ets.insert(tid, {index + acc, 'd'})549 │ ~550 │551 └─ lib/xlsxir/parse_style.ex:109:63552553 warning: using single-quoted strings to represent charlists is deprecated.554 Use ~c"" if you indeed want a charlist or use "" instead.555 You may run "mix format --migrate" to change all single-quoted556 strings to use the ~c sigil and fix this warning.557 │558 126 │ String.match?(to_string(v), ~r/[dhmsy]/i) -> Map.put_new(acc, k, 'd')559 │ ~560 │561 └─ lib/xlsxir/parse_style.ex:126:74562563 warning: using single-quoted strings to represent charlists is deprecated.564 Use ~c"" if you indeed want a charlist or use "" instead.565 You may run "mix format --migrate" to change all single-quoted566 strings to use the ~c sigil and fix this warning.567 │568 15 │ def sax_event_handler({:startElement, _, 'sheet', _, xml_attrs}, state) do569 │ ~570 │571 └─ lib/xlsxir/parse_workbook.ex:15:44572573 warning: using single-quoted strings to represent charlists is deprecated.574 Use ~c"" if you indeed want a charlist or use "" instead.575 You may run "mix format --migrate" to change all single-quoted576 strings to use the ~c sigil and fix this warning.577 │578 19 │ {:attribute, 'name', _, _, name} ->579 │ ~580 │581 └─ lib/xlsxir/parse_workbook.ex:19:24582583 warning: using single-quoted strings to represent charlists is deprecated.584 Use ~c"" if you indeed want a charlist or use "" instead.585 You may run "mix format --migrate" to change all single-quoted586 strings to use the ~c sigil and fix this warning.587 │588 22 │ {:attribute, 'sheetId', _, _, sheet_id} ->589 │ ~590 │591 └─ lib/xlsxir/parse_workbook.ex:22:24592593 warning: using single-quoted strings to represent charlists is deprecated.594 Use ~c"" if you indeed want a charlist or use "" instead.595 You may run "mix format --migrate" to change all single-quoted596 strings to use the ~c sigil and fix this warning.597 │598 26 │ {:attribute, 'id', _, _, rid} ->599 │ ~600 │601 └─ lib/xlsxir/parse_workbook.ex:26:24602603 warning: using single-quoted strings to represent charlists is deprecated.604 Use ~c"" if you indeed want a charlist or use "" instead.605 You may run "mix format --migrate" to change all single-quoted606 strings to use the ~c sigil and fix this warning.607 │608 58 │ {:startElement, _, 'row', _, _},609 │ ~610 │611 └─ lib/xlsxir/parse_worksheet.ex:58:28612613 warning: using single-quoted strings to represent charlists is deprecated.614 Use ~c"" if you indeed want a charlist or use "" instead.615 You may run "mix format --migrate" to change all single-quoted616 strings to use the ~c sigil and fix this warning.617 │618 66 │ def sax_event_handler({:startElement, _, 'c', _, xml_attr}, state, %{styles: styles_tid}, _) do619 │ ~620 │621 └─ lib/xlsxir/parse_worksheet.ex:66:44622623 warning: using single-quoted strings to represent charlists is deprecated.624 Use ~c"" if you indeed want a charlist or use "" instead.625 You may run "mix format --migrate" to change all single-quoted626 strings to use the ~c sigil and fix this warning.627 │628 70 │ {:attribute, 'r', _, _, ref} -> {:r, ref}629 │ ~630 │631 └─ lib/xlsxir/parse_worksheet.ex:70:24632633 warning: using single-quoted strings to represent charlists is deprecated.634 Use ~c"" if you indeed want a charlist or use "" instead.635 You may run "mix format --migrate" to change all single-quoted636 strings to use the ~c sigil and fix this warning.637 │638 71 │ {:attribute, 's', _, _, style} -> {:s, find_styles(styles_tid, List.to_integer(style))}639 │ ~640 │641 └─ lib/xlsxir/parse_worksheet.ex:71:24642643 warning: using single-quoted strings to represent charlists is deprecated.644 Use ~c"" if you indeed want a charlist or use "" instead.645 You may run "mix format --migrate" to change all single-quoted646 strings to use the ~c sigil and fix this warning.647 │648 72 │ {:attribute, 't', _, _, type} -> {:t, type}649 │ ~650 │651 └─ lib/xlsxir/parse_worksheet.ex:72:24652653 warning: using single-quoted strings to represent charlists is deprecated.654 Use ~c"" if you indeed want a charlist or use "" instead.655 You may run "mix format --migrate" to change all single-quoted656 strings to use the ~c sigil and fix this warning.657 │658 89 │ def sax_event_handler({:startElement, _, 'f', _, _}, state, _, _) do659 │ ~660 │661 └─ lib/xlsxir/parse_worksheet.ex:89:44662663 warning: using single-quoted strings to represent charlists is deprecated.664 Use ~c"" if you indeed want a charlist or use "" instead.665 You may run "mix format --migrate" to change all single-quoted666 strings to use the ~c sigil and fix this warning.667 │668 93 │ def sax_event_handler({:startElement, _, 'v', _, _}, state, _, _) do669 │ ~670 │671 └─ lib/xlsxir/parse_worksheet.ex:93:44672673 warning: using single-quoted strings to represent charlists is deprecated.674 Use ~c"" if you indeed want a charlist or use "" instead.675 You may run "mix format --migrate" to change all single-quoted676 strings to use the ~c sigil and fix this warning.677 │678 105 │ def sax_event_handler({:endElement, _, 'c', _}, %__MODULE__{row: row} = state, excel, _) do679 │ ~680 │681 └─ lib/xlsxir/parse_worksheet.ex:105:42682683 warning: using single-quoted strings to represent charlists is deprecated.684 Use ~c"" if you indeed want a charlist or use "" instead.685 You may run "mix format --migrate" to change all single-quoted686 strings to use the ~c sigil and fix this warning.687 │688 120 │ {:endElement, _, 'row', _},689 │ ~690 │691 └─ lib/xlsxir/parse_worksheet.ex:120:26692693 warning: using single-quoted strings to represent charlists is deprecated.694 Use ~c"" if you indeed want a charlist or use "" instead.695 You may run "mix format --migrate" to change all single-quoted696 strings to use the ~c sigil and fix this warning.697 │698 146 │ ['e', _, e] -> List.to_string(e)699 │ ~700 │701 └─ lib/xlsxir/parse_worksheet.ex:146:8702703 warning: using single-quoted strings to represent charlists is deprecated.704 Use ~c"" if you indeed want a charlist or use "" instead.705 You may run "mix format --migrate" to change all single-quoted706 strings to use the ~c sigil and fix this warning.707 │708 148 │ ['s', _, i] -> find_string(strings_tid, List.to_integer(i))709 │ ~710 │711 └─ lib/xlsxir/parse_worksheet.ex:148:8712713 warning: using single-quoted strings to represent charlists is deprecated.714 Use ~c"" if you indeed want a charlist or use "" instead.715 You may run "mix format --migrate" to change all single-quoted716 strings to use the ~c sigil and fix this warning.717 │718 151 │ ['n', nil, n] -> convert_char_number(n)719 │ ~720 │721 └─ lib/xlsxir/parse_worksheet.ex:151:8722723 warning: using single-quoted strings to represent charlists is deprecated.724 Use ~c"" if you indeed want a charlist or use "" instead.725 You may run "mix format --migrate" to change all single-quoted726 strings to use the ~c sigil and fix this warning.727 │728 153 │ [nil, 'd', d] -> convert_date_or_time(d)729 │ ~730 │731 └─ lib/xlsxir/parse_worksheet.ex:153:13732733 warning: using single-quoted strings to represent charlists is deprecated.734 Use ~c"" if you indeed want a charlist or use "" instead.735 You may run "mix format --migrate" to change all single-quoted736 strings to use the ~c sigil and fix this warning.737 │738 154 │ ['n', 'd', d] -> convert_date_or_time(d)739 │ ~740 │741 └─ lib/xlsxir/parse_worksheet.ex:154:8742743 warning: using single-quoted strings to represent charlists is deprecated.744 Use ~c"" if you indeed want a charlist or use "" instead.745 You may run "mix format --migrate" to change all single-quoted746 strings to use the ~c sigil and fix this warning.747 │748 154 │ ['n', 'd', d] -> convert_date_or_time(d)749 │ ~750 │751 └─ lib/xlsxir/parse_worksheet.ex:154:13752753 warning: using single-quoted strings to represent charlists is deprecated.754 Use ~c"" if you indeed want a charlist or use "" instead.755 You may run "mix format --migrate" to change all single-quoted756 strings to use the ~c sigil and fix this warning.757 │758 155 │ ['d', 'd', d] -> convert_iso_date(d)759 │ ~760 │761 └─ lib/xlsxir/parse_worksheet.ex:155:8762763 warning: using single-quoted strings to represent charlists is deprecated.764 Use ~c"" if you indeed want a charlist or use "" instead.765 You may run "mix format --migrate" to change all single-quoted766 strings to use the ~c sigil and fix this warning.767 │768 155 │ ['d', 'd', d] -> convert_iso_date(d)769 │ ~770 │771 └─ lib/xlsxir/parse_worksheet.ex:155:13772773 warning: using single-quoted strings to represent charlists is deprecated.774 Use ~c"" if you indeed want a charlist or use "" instead.775 You may run "mix format --migrate" to change all single-quoted776 strings to use the ~c sigil and fix this warning.777 │778 157 │ ['str', _, s] -> List.to_string(s)779 │ ~780 │781 └─ lib/xlsxir/parse_worksheet.ex:157:8782783 warning: using single-quoted strings to represent charlists is deprecated.784 Use ~c"" if you indeed want a charlist or use "" instead.785 You may run "mix format --migrate" to change all single-quoted786 strings to use the ~c sigil and fix this warning.787 │788 159 │ ['b', _, s] -> s == '1'789 │ ~790 │791 └─ lib/xlsxir/parse_worksheet.ex:159:8792793 warning: using single-quoted strings to represent charlists is deprecated.794 Use ~c"" if you indeed want a charlist or use "" instead.795 You may run "mix format --migrate" to change all single-quoted796 strings to use the ~c sigil and fix this warning.797 │798 159 │ ['b', _, s] -> s == '1'799 │ ~800 │801 └─ lib/xlsxir/parse_worksheet.ex:159:27802803 warning: using single-quoted strings to represent charlists is deprecated.804 Use ~c"" if you indeed want a charlist or use "" instead.805 You may run "mix format --migrate" to change all single-quoted806 strings to use the ~c sigil and fix this warning.807 │808 161 │ ['inlineStr', _, s] -> List.to_string(s)809 │ ~810 │811 └─ lib/xlsxir/parse_worksheet.ex:161:8812813 warning: using single-quoted strings to represent charlists is deprecated.814 Use ~c"" if you indeed want a charlist or use "" instead.815 You may run "mix format --migrate" to change all single-quoted816 strings to use the ~c sigil and fix this warning.817 │818 37 │ def sax_event_handler({:endElement, _, 'row', _}, state, _excel) do819 │ ~820 │821 └─ lib/xlsxir/stream_worksheet.ex:37:42822823 warning: using single-quoted strings to represent charlists is deprecated.824 Use ~c"" if you indeed want a charlist or use "" instead.825 You may run "mix format --migrate" to change all single-quoted826 strings to use the ~c sigil and fix this warning.827 │828 104 │ sheet = 'xl/worksheets/sheet#{index + 1}.xml'829 │ ~830 │831 └─ lib/xlsxir/unzip.ex:104:15832833 warning: using single-quoted strings to represent charlists is deprecated.834 Use ~c"" if you indeed want a charlist or use "" instead.835 You may run "mix format --migrate" to change all single-quoted836 strings to use the ~c sigil and fix this warning.837 │838 218 │ |> Enum.map(fn worksheet_index -> 'xl/worksheets/sheet#{worksheet_index + 1}.xml' end)839 │ ~840 │841 └─ lib/xlsxir/xlsx_file.ex:218:39842843 warning: using single-quoted strings to represent charlists is deprecated.844 Use ~c"" if you indeed want a charlist or use "" instead.845 You may run "mix format --migrate" to change all single-quoted846 strings to use the ~c sigil and fix this warning.847 │848 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])849 │ ~850 │851 └─ lib/xlsxir/xlsx_file.ex:219:21852853 warning: using single-quoted strings to represent charlists is deprecated.854 Use ~c"" if you indeed want a charlist or use "" instead.855 You may run "mix format --migrate" to change all single-quoted856 strings to use the ~c sigil and fix this warning.857 │858 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])859 │ ~860 │861 └─ lib/xlsxir/xlsx_file.ex:219:38862863 warning: using single-quoted strings to represent charlists is deprecated.864 Use ~c"" if you indeed want a charlist or use "" instead.865 You may run "mix format --migrate" to change all single-quoted866 strings to use the ~c sigil and fix this warning.867 │868 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])869 │ ~870 │871 └─ lib/xlsxir/xlsx_file.ex:219:62872873 warning: unused require Logger874 │875 4 │ require Logger876 │ ~877 │878 └─ lib/xlsxir/parse_worksheet.ex:4:3879880 warning: unused require Logger881 │882 17 │ require Logger883 │ ~884 │885 └─ lib/xlsxir/sax_parser.ex:17:3886887 warning: a struct for Xlsxir.ParseWorkbook is expected on struct update:888889 %Xlsxir.ParseWorkbook{state | sheets: [sheet | state.sheets]}890891 but got type:892893 dynamic()894895 where "state" was given the type:896897 # type: dynamic()898 # from: lib/xlsxir/parse_workbook.ex:15:68899 state900901 when defining the variable "state", you must also pattern match on "%Xlsxir.ParseWorkbook{}"902903 type warning found at:904 │905 36 │ %__MODULE__{state | sheets: [sheet | state.sheets]}906 │ ~907 │908 └─ lib/xlsxir/parse_workbook.ex:36:5: Xlsxir.ParseWorkbook.sax_event_handler/2909910 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead911 │912 10 │ worker(Xlsxir.StateManager, [])913 │ ~914 │915 └─ lib/xlsxir.ex:10:7: Xlsxir.start/2916917Generated xlsxir app918==> ring_logger919Compiling 7 files (.ex)920Generated ring_logger app921==> nerves_toolchain_aarch64_nerves_linux_gnu922Compiling 1 file (.ex)923Generated nerves_toolchain_aarch64_nerves_linux_gnu app924==> nerves_system_rpi4925Generated nerves_system_rpi4 app926==> nerves_compatibility_test927===> Analyzing applications...928===> Compiling telemetry929==> libcluster930Compiling 15 files (.ex)931Generated libcluster app932warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"933 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2934 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1935 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5936 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2937 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4938 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2939940==> guardian941Compiling 25 files (.ex)942 warning: use Bitwise is deprecated. import Bitwise instead943 │944 7 │ use Bitwise945 │ ~~~~~~~~~~~946 │947 └─ lib/guardian/permissions/atom_encoding.ex:7: Guardian.Permissions.AtomEncoding (module)948949 warning: use Bitwise is deprecated. import Bitwise instead950 │951 7 │ use Bitwise952 │ ~~~~~~~~~~~953 │954 └─ lib/guardian/permissions/bitwise_encoding.ex:7: Guardian.Permissions.BitwiseEncoding (module)955956 warning: use Bitwise is deprecated. import Bitwise instead957 │958 7 │ use Bitwise959 │ ~~~~~~~~~~~960 │961 └─ lib/guardian/permissions/text_encoding.ex:7: Guardian.Permissions.TextEncoding (module)962963 warning: Guardian.Plug.current_claims/2 is undefined (module Guardian.Plug is not available or is yet to be defined)964 │965 31 │ claims: Guardian.Plug.current_claims(conn, opts),966 │ ~967 │968 └─ lib/guardian/permissions/plug.ex:31:29: Guardian.Permissions.Plug.call/2969970 warning: Guardian.Plug.Pipeline.fetch_error_handler!/2 is undefined (module Guardian.Plug.Pipeline is not available or is yet to be defined)971 │972 33 │ handler: Pipeline.fetch_error_handler!(conn, opts),973 │ ~974 │975 └─ lib/guardian/permissions/plug.ex:33:25: Guardian.Permissions.Plug.call/2976977 warning: Guardian.Plug.Pipeline.fetch_module!/2 is undefined (module Guardian.Plug.Pipeline is not available or is yet to be defined)978 │979 34 │ impl: Pipeline.fetch_module!(conn, opts),980 │ ~981 │982 └─ lib/guardian/permissions/plug.ex:34:22: Guardian.Permissions.Plug.call/2983984Generated guardian app985==> uboot_env986Compiling 5 files (.ex)987Generated uboot_env app988==> nimble_pool989Compiling 2 files (.ex)990Generated nimble_pool app991==> finch992Compiling 23 files (.ex)993Generated finch app994==> goth995Compiling 7 files (.ex)996 warning: the following clause is redundant:997998 def refresh!(%Goth.Token{account: account, scope: scope})9991000 it has type:10011002 dynamic(%Goth.Token{})10031004 previous clauses have already matched on the following types:10051006 %Goth.Token{}10071008 │1009 625 │ def refresh!(%__MODULE__{account: account, scope: scope}), do: refresh!({account, scope})1010 │ ~1011 │1012 └─ lib/goth/token.ex:625:7: Goth.Token.refresh!/110131014Generated goth app1015==> tesla1016Compiling 58 files (.ex)1017Generated tesla app1018==> google_gax1019Compiling 5 files (.ex)1020 warning: incompatible types given to Tesla.Multipart.add_field/4:10211022 Tesla.Multipart.add_field(1023 body,1024 :metadata,1025 Poison.encode!(meta), headers: ["Content-Type": "application/json"])10261027 given types:10281029 (1030 dynamic(%Tesla.Multipart{parts: empty_list(), content_type_params: empty_list()}),1031 -:metadata-,1032 dynamic(),1033 non_empty_list({:headers, non_empty_list({:"Content-Type", binary()})})1034 )10351036 but expected one of:10371038 (1039 %Tesla.Multipart{parts: list(term())},1040 binary(),1041 %{..., __struct__: File.Stream or IO.Stream or Range or Stream} or binary() or empty_list() or1042 fun() or non_empty_list(term(), term()),1043 empty_list() or non_empty_list(term(), term())1044 )10451046 where "body" was given the type:10471048 # type: dynamic(%Tesla.Multipart{parts: empty_list(), content_type_params: empty_list()})1049 # from: lib/google_api/gax/connection.ex:177:101050 body = Tesla.Multipart.new()10511052 where "meta" was given the type:10531054 # type: dynamic(not nil)1055 # from: lib/google_api/gax/connection.ex:181:171056 meta10571058 type warning found at:1059 │1060 183 │ _ -> Tesla.Multipart.add_field(1061 │ ~1062 │1063 └─ lib/google_api/gax/connection.ex:183:30: GoogleApi.Gax.Connection.build_body/310641065Generated google_gax app1066==> google_api_storage1067Compiling 54 files (.ex)1068warning: `use Tesla.Builder` and `use Tesla` in GoogleApi.Storage.V1.Connection are soft-deprecated. It will be removed in future major version in favor of1069Runtime Configuration instead. Please share your feedback at https://github.com/elixir-tesla/tesla/discussions/73210701071If you can turn off this warning, add the following to your config.exs:10721073```elixir1074config :tesla, disable_deprecated_builder_warning: true1075```10761077 (tesla 1.23.0) lib/tesla/builder.ex:12: Tesla.Builder."MACRO-__using__"/21078 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/71079 (elixir 1.20.3) src/elixir_dispatch.erl:155: :elixir_dispatch.dispatch_require/71080 (elixir 1.20.3) src/elixir_expand.erl:670: :elixir_expand.expand_block/51081 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/31082 (elixir 1.20.3) src/elixir_dispatch.erl:277: :elixir_dispatch.expand_quoted/710831084Generated google_api_storage app1085==> property_table1086Compiling 8 files (.ex)1087Generated property_table app1088==> nerves_uevent1089 CC uevent.o1090 LD uevent1091Compiling 5 files (.ex)1092Generated nerves_uevent app1093==> nerves_runtime1094Compiling 14 files (.ex)1095Generated nerves_runtime app1096==> toolshed1097Compiling 5 files (.ex)1098Generated toolshed app1099==> uuid1100Compiling 1 file (.ex)1101 warning: use Bitwise is deprecated. import Bitwise instead1102 │1103 2 │ use Bitwise, only_operators: true1104 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1105 │1106 └─ lib/uuid.ex:2: UUID (module)11071108Generated uuid app1109==> arke1110Compiling 37 files (.ex)1111 warning: function random_string/0 is unused1112 │1113 48 │ defp random_string() do1114 │ ~1115 │1116 └─ lib/arke/application.ex:48:8: Arke.Application (module)11171118 warning: function postfix/0 is unused1119 │1120 44 │ defp postfix() do1121 │ ~1122 │1123 └─ lib/arke/application.ex:44:8: Arke.Application (module)11241125 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1126 │1127 15 │ defmodule Arke.Boundary.FileManager do1128 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1129 │1130 └─ lib/arke/boundary/file_manager.ex:15: Arke.Boundary.FileManager (module)11311132 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1133 │1134 17 │ use Arke.Boundary.UnitManager1135 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1136 │1137 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager.handle_info/211381139 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1140 │1141 15 │ defmodule Arke.Boundary.ParameterManager do1142 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1143 │1144 └─ lib/arke/boundary/parameter_manager.ex:15: Arke.Boundary.ParameterManager (module)11451146 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1147 │1148 17 │ use Arke.Boundary.UnitManager1149 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1150 │1151 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager.handle_info/211521153 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1154 │1155 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1156 │ ~~~~1157 │1158 └─ lib/arke/boundary/group_manager.ex:27:37: Arke.Boundary.GroupManager.before_create/211591160 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1161 │1162 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1163 │ ~~1164 │1165 └─ lib/arke/boundary/group_manager.ex:27:27: Arke.Boundary.GroupManager.before_create/211661167 warning: variable "unit_metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1168 │1169 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1170 │ ~~~~~~~~~~~~~1171 │1172 └─ lib/arke/boundary/group_manager.ex:27:53: Arke.Boundary.GroupManager.before_create/211731174 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1175 │1176 36 │ {:error, msg} -> new_arke_list1177 │ ~1178 │1179 └─ lib/arke/boundary/group_manager.ex:36:18: Arke.Boundary.GroupManager.get_arke_list/111801181 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1182 │1183 32 │ def get_arke_list(%{data: data, metadata: %{project: project}} = unit) do1184 │ ~~~~1185 │1186 └─ lib/arke/boundary/group_manager.ex:32:68: Arke.Boundary.GroupManager.get_arke_list/111871188 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1189 │1190 46 │ def get_arke(%{id: id} = unit, project, arke_id),1191 │ ~~~~1192 │1193 └─ lib/arke/boundary/group_manager.ex:46:28: Arke.Boundary.GroupManager.get_arke/311941195 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1196 │1197 49 │ def get_arke(%{id: id, metadata: %{project: project}} = unit, arke_id),1198 │ ~~~~1199 │1200 └─ lib/arke/boundary/group_manager.ex:49:59: Arke.Boundary.GroupManager.get_arke/212011202 warning: clauses with the same name should be grouped together, "def get_arke/3" was previously defined (lib/arke/boundary/group_manager.ex:46)1203 │1204 52 │ def get_arke(unit_id, project, arke_id) when is_binary(arke_id),1205 │ ~1206 │1207 └─ lib/arke/boundary/group_manager.ex:52:712081209 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1210 │1211 66 │ else: ({:error, msg} -> nil)1212 │ ~1213 │1214 └─ lib/arke/boundary/group_manager.ex:66:25: Arke.Boundary.GroupManager.get_arke/312151216 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1217 │1218 70 │ def get_arke(unit_id, project, %Unit{} = parameter), do: parameter1219 │ ~~~~~~~1220 │1221 └─ lib/arke/boundary/group_manager.ex:70:25: Arke.Boundary.GroupManager.get_arke/312221223 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1224 │1225 70 │ def get_arke(unit_id, project, %Unit{} = parameter), do: parameter1226 │ ~~~~~~~1227 │1228 └─ lib/arke/boundary/group_manager.ex:70:16: Arke.Boundary.GroupManager.get_arke/312291230 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1231 │1232 72 │ def get_groups_by_arke(%{id: id, metadata: %{project: project}} = arke),1233 │ ~~~~1234 │1235 └─ lib/arke/boundary/group_manager.ex:72:69: Arke.Boundary.GroupManager.get_groups_by_arke/112361237 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1238 │1239 89 │ def get_parameters(%{id: id, metadata: %{project: project}} = group) do1240 │ ~~1241 │1242 └─ lib/arke/boundary/group_manager.ex:89:28: Arke.Boundary.GroupManager.get_parameters/112431244 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1245 │1246 90 │ parameters =1247 │ ~~~~~~~~~~1248 │1249 └─ lib/arke/boundary/group_manager.ex:90:5: Arke.Boundary.GroupManager.get_parameters/112501251 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1252 │1253 119 │ {:error, msg} -> %{id: child_id, metadata: metadata}1254 │ ~1255 │1256 └─ lib/arke/boundary/group_manager.ex:119:16: Arke.Boundary.GroupManager.link_init/412571258 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1259 │1260 21 │ use Arke.Boundary.UnitManager1261 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1262 │1263 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager.handle_info/212641265 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1266 │1267 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1268 │ ~~~~1269 │1270 └─ lib/arke/boundary/arke_manager.ex:26:37: Arke.Boundary.ArkeManager.before_create/212711272 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1273 │1274 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1275 │ ~~1276 │1277 └─ lib/arke/boundary/arke_manager.ex:26:27: Arke.Boundary.ArkeManager.before_create/212781279 warning: variable "unit_metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1280 │1281 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1282 │ ~~~~~~~~~~~~~1283 │1284 └─ lib/arke/boundary/arke_manager.ex:26:53: Arke.Boundary.ArkeManager.before_create/212851286 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1287 │1288 40 │ {:error, msg} -> new_parameters1289 │ ~1290 │1291 └─ lib/arke/boundary/arke_manager.ex:40:18: Arke.Boundary.ArkeManager.get_parameters/112921293 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1294 │1295 32 │ def get_parameters(%{data: data, metadata: %{project: project}} = unit) do1296 │ ~~~~1297 │1298 └─ lib/arke/boundary/arke_manager.ex:32:69: Arke.Boundary.ArkeManager.get_parameters/112991300 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1301 │1302 46 │ def get_parameter(%{id: id} = unit, project, parameter_id),1303 │ ~~~~1304 │1305 └─ lib/arke/boundary/arke_manager.ex:46:33: Arke.Boundary.ArkeManager.get_parameter/313061307 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1308 │1309 49 │ def get_parameter(%{id: id, metadata: %{project: project}} = unit, parameter_id),1310 │ ~~~~1311 │1312 └─ lib/arke/boundary/arke_manager.ex:49:64: Arke.Boundary.ArkeManager.get_parameter/213131314 warning: clauses with the same name should be grouped together, "def get_parameter/3" was previously defined (lib/arke/boundary/arke_manager.ex:46)1315 │1316 52 │ def get_parameter(unit_id, project, parameter_id) when is_binary(parameter_id),1317 │ ~1318 │1319 └─ lib/arke/boundary/arke_manager.ex:52:713201321 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1322 │1323 57 │ {:error, msg} ->1324 │ ~1325 │1326 └─ lib/arke/boundary/arke_manager.ex:57:16: Arke.Boundary.ArkeManager.get_parameter/313271328 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1329 │1330 67 │ else: ({:error, msg} -> nil)1331 │ ~1332 │1333 └─ lib/arke/boundary/arke_manager.ex:67:30: Arke.Boundary.ArkeManager.get_parameter/313341335 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1336 │1337 60 │ %{id: id, data: data} ->1338 │ ~1339 │1340 └─ lib/arke/boundary/arke_manager.ex:60:13: Arke.Boundary.ArkeManager.get_parameter/313411342 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1343 │1344 72 │ def get_parameter(unit_id, project, %Unit{} = parameter), do: parameter1345 │ ~~~~~~~1346 │1347 └─ lib/arke/boundary/arke_manager.ex:72:30: Arke.Boundary.ArkeManager.get_parameter/313481349 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1350 │1351 72 │ def get_parameter(unit_id, project, %Unit{} = parameter), do: parameter1352 │ ~~~~~~~1353 │1354 └─ lib/arke/boundary/arke_manager.ex:72:21: Arke.Boundary.ArkeManager.get_parameter/313551356 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1357 │1358 85 │ %{id: id, data: data} = arke ->1359 │ ~1360 │1361 └─ lib/arke/boundary/arke_manager.ex:85:13: Arke.Boundary.ArkeManager.update_parameter/413621363 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1364 │1365 103 │ defp init_parameter(project, id, metadata, p) do1366 │ ~~~~~~~1367 │1368 └─ lib/arke/boundary/arke_manager.ex:103:23: Arke.Boundary.ArkeManager.init_parameter/413691370 warning: variable "parameter" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)1371 │1372 130 │ parameter = handle_init_p(id, parameter, metadata)1373 │ ~1374 │1375 └─ lib/arke/boundary/arke_manager.ex:130:9: Arke.Boundary.ArkeManager.init_parameter/313761377 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1378 │1379 134 │ defp handle_init_p(id, nil, metadata) do1380 │ ~~1381 │1382 └─ lib/arke/boundary/arke_manager.ex:134:22: Arke.Boundary.ArkeManager.handle_init_p/313831384 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1385 │1386 134 │ defp handle_init_p(id, nil, metadata) do1387 │ ~~~~~~~~1388 │1389 └─ lib/arke/boundary/arke_manager.ex:134:31: Arke.Boundary.ArkeManager.handle_init_p/313901391 warning: variable "pdata" is unused (if the variable is not meant to be used, prefix it with an underscore)1392 │1393 139 │ Map.update(parameter,:data, %{},fn v -> Map.merge(v,override_data, fn _k, pdata,ovdata -> ovdata end) end)1394 │ ~1395 │1396 └─ lib/arke/boundary/arke_manager.ex:139:79: Arke.Boundary.ArkeManager.handle_init_p/313971398 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1399 │1400 138 │ defp handle_init_p(id, parameter, override_data) do1401 │ ~~1402 │1403 └─ lib/arke/boundary/arke_manager.ex:138:22: Arke.Boundary.ArkeManager.handle_init_p/314041405 warning: the underscored variable "__module__" is used after being set. A leading underscore indicates that the value of the variable should be ignored. If this is intended please rename the variable to remove the underscore1406 │1407 50 │ __module__: __module__,1408 │ ~1409 │1410 └─ lib/arke/core/unit.ex:50:23: Arke.Core.Unit.new/914111412 warning: the underscored variable "__module__" is used after being set. A leading underscore indicates that the value of the variable should be ignored. If this is intended please rename the variable to remove the underscore1413 │1414 103 │ __module__,1415 │ ~1416 │1417 └─ lib/arke/core/unit.ex:103:15: Arke.Core.Unit.load/314181419 warning: variable "parameter_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1420 │1421 115 │ ... id: parameter_id,1422 │ ~1423 │1424 └─ lib/arke/core/unit.ex:115:71: Arke.Core.Unit.load_data/314251426 warning: variable "parameter_type" is unused (if the variable is not meant to be used, prefix it with an underscore)1427 │1428 116 │ ... arke_id: parameter_type1429 │ ~1430 │1431 └─ lib/arke/core/unit.ex:116:76: Arke.Core.Unit.load_data/314321433 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1434 │1435 113 │ def load_data(%{data: %{parameters: parameters}} = arke, unit_data, opts) do1436 │ ~~~~~~~~~~1437 │1438 └─ lib/arke/core/unit.ex:113:39: Arke.Core.Unit.load_data/314391440 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1441 │1442 123 │ def load_parameter_value(%{id: :id} = _, data, opts), do: data1443 │ ~~~~1444 │1445 └─ lib/arke/core/unit.ex:123:50: Arke.Core.Unit.load_parameter_value/314461447 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1448 │1449 124 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1450 │ ~~~~1451 │1452 └─ lib/arke/core/unit.ex:124:56: Arke.Core.Unit.load_parameter_value/314531454 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1455 │1456 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1457 │ ~~~~1458 │1459 └─ lib/arke/core/unit.ex:125:56: Arke.Core.Unit.load_parameter_value/314601461 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1462 │1463 126 │ def load_parameter_value(%{id: :arke_id} = _, data, opts), do: data1464 │ ~~~~1465 │1466 └─ lib/arke/core/unit.ex:126:55: Arke.Core.Unit.load_parameter_value/314671468 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1469 │1470 127 │ def load_parameter_value(%{id: :inserted_at} = _, data, opts), do: data1471 │ ~~~~1472 │1473 └─ lib/arke/core/unit.ex:127:59: Arke.Core.Unit.load_parameter_value/314741475 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1476 │1477 128 │ def load_parameter_value(%{id: :updated_at} = _, data, opts), do: data1478 │ ~~~~1479 │1480 └─ lib/arke/core/unit.ex:128:58: Arke.Core.Unit.load_parameter_value/314811482 warning: variable "parameter_type" is unused (if the variable is not meant to be used, prefix it with an underscore)1483 │1484 130 │ def load_parameter_value(%{id: parameter_id, arke_id: parameter_type} = parameter, data, opts) do1485 │ ~~~~~~~~~~~~~~1486 │1487 └─ lib/arke/core/unit.ex:130:57: Arke.Core.Unit.load_parameter_value/314881489 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1490 │1491 140 │ def get_default_value(value, parameter), do: value1492 │ ~~~~~~~~~1493 │1494 └─ lib/arke/core/unit.ex:140:32: Arke.Core.Unit.get_default_value/214951496 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1497 │1498 203 │ def update(%{data: data, arke_id: arke_id} = unit, args) do1499 │ ~~~~1500 │1501 └─ lib/arke/core/unit.ex:203:22: Arke.Core.Unit.update/215021503 warning: variable "udata" is unused (if the variable is not meant to be used, prefix it with an underscore)1504 │1505 233 │ Map.merge(unit.data, parsed_data, fn _k, udata, pdata -> pdata end)1506 │ ~1507 │1508 └─ lib/arke/core/unit.ex:233:46: Arke.Core.Unit.update_data/315091510 warning: clauses with the same name and arity (number of arguments) should be grouped together, "defp handle_id/1" was previously defined (lib/arke/core/unit.ex:247)1511 │1512 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()1513 │ ~1514 │1515 └─ lib/arke/core/unit.ex:272:815161517 warning: clauses with the same name and arity (number of arguments) should be grouped together, "def encode_unit_data/2" was previously defined (lib/arke/core/unit.ex:253)1518 │1519 278 │ def encode_unit_data(arke, data) do1520 │ ~1521 │1522 └─ lib/arke/core/unit.ex:278:715231524 warning: clauses with the same name and arity (number of arguments) should be grouped together, "defp update_encoded_unit_data/3" was previously defined (lib/arke/core/unit.ex:260)1525 │1526 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data1527 │ ~1528 │1529 └─ lib/arke/core/unit.ex:285:815301531 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1532 │1533 336 │ def get_value(%Arke.Core.Unit{data: data} = unit, parameter_id),1534 │ ~~~~1535 │1536 └─ lib/arke/core/unit.ex:336:47: Arke.Core.Unit.get_value/215371538 warning: defp parse_value/2 is private, @doc attribute is always discarded for private functions/macros/types1539 │1540 350 │ @doc """1541 │ ~~~~~~~~1542 │1543 └─ lib/arke/core/unit.ex:350: Arke.Core.Unit.parse_value/215441545 warning: variable "cleaned_list" is unused (if the variable is not meant to be used, prefix it with an underscore)1546 │1547 404 │ cleaned_list = list_result |> Enum.map(&String.replace(&1, ~r/^['"]|['"]$/, ""))1548 │ ~~~~~~~~~~~~1549 │1550 └─ lib/arke/core/unit.ex:404:5: Arke.Core.Unit.parse_value/215511552 warning: variable "datetime" is unused (if the variable is not meant to be used, prefix it with an underscore)1553 │1554 431 │ defp get_data_value(%{"datetime" => datetime, "value" => value} = _), do: value1555 │ ~~~~~~~~1556 │1557 └─ lib/arke/core/unit.ex:431:39: Arke.Core.Unit.get_data_value/115581559 warning: variable "offset" is unused (if the variable is not meant to be used, prefix it with an underscore)1560 │1561 415 │ def set_offset(query, offset), do: nil1562 │ ~~~~~~1563 │1564 └─ lib/arke/core/query.ex:415:25: Arke.Core.Query.set_offset/215651566 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1567 │1568 415 │ def set_offset(query, offset), do: nil1569 │ ~~~~~1570 │1571 └─ lib/arke/core/query.ex:415:18: Arke.Core.Query.set_offset/215721573 warning: variable "limit" is unused (if the variable is not meant to be used, prefix it with an underscore)1574 │1575 439 │ def set_limit(query, limit), do: nil1576 │ ~~~~~1577 │1578 └─ lib/arke/core/query.ex:439:24: Arke.Core.Query.set_limit/215791580 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1581 │1582 439 │ def set_limit(query, limit), do: nil1583 │ ~~~~~1584 │1585 └─ lib/arke/core/query.ex:439:17: Arke.Core.Query.set_limit/215861587 warning: function init_parameter/4 is unused1588 │1589 103 │ defp init_parameter(project, id, metadata, p) do1590 │ ~1591 │1592 └─ lib/arke/boundary/arke_manager.ex:103:8: Arke.Boundary.ArkeManager (module)15931594 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1595 │1596 15 │ defmodule Arke.Boundary.ArkeManager do1597 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1598 │1599 └─ lib/arke/boundary/arke_manager.ex:15: Arke.Boundary.ArkeManager (module)16001601 warning: this clause cannot match because a previous clause at line 124 matches the same pattern as this clause1602 │1603 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1604 │ ~1605 │1606 └─ lib/arke/core/unit.ex:125:716071608 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1609 │1610 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()1611 │ ~1612 │1613 └─ lib/arke/core/unit.ex:272:816141615 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1616 │1617 273 │ defp handle_id(id) when is_atom(id), do: Atom.to_string(id)1618 │ ~1619 │1620 └─ lib/arke/core/unit.ex:273:816211622 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1623 │1624 274 │ defp handle_id(id) when is_binary(id), do: id1625 │ ~1626 │1627 └─ lib/arke/core/unit.ex:274:816281629 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1630 │1631 276 │ defp handle_id(id), do: id1632 │ ~1633 │1634 └─ lib/arke/core/unit.ex:276:816351636 warning: this clause for encode_unit_data/2 cannot match because a previous clause at line 253 always matches1637 │1638 278 │ def encode_unit_data(arke, data) do1639 │ ~1640 │1641 └─ lib/arke/core/unit.ex:278:716421643 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1644 │1645 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data1646 │ ~1647 │1648 └─ lib/arke/core/unit.ex:285:816491650 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1651 │1652 287 │ defp update_encoded_unit_data(%{id: id}, data, value),1653 │ ~1654 │1655 └─ lib/arke/core/unit.ex:287:816561657 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1658 │1659 294 │ defp update_encoded_unit_data(_, data, _), do: data1660 │ ~1661 │1662 └─ lib/arke/core/unit.ex:294:816631664 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1665 │1666 15 │ defmodule Arke.Boundary.GroupManager do1667 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1668 │1669 └─ lib/arke/boundary/group_manager.ex:15: Arke.Boundary.GroupManager (module)16701671 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1672 │1673 62 │ def on_unit_create(_arke, %{id: id, metadata: %{project: project}} = unit) do1674 │ ~~1675 │1676 └─ lib/arke/core/parameter.ex:62:35: Arke.Core.Parameter.on_unit_create/216771678 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1679 │1680 62 │ def on_unit_create(_arke, %{id: id, metadata: %{project: project}} = unit) do1681 │ ~~~~~~~1682 │1683 └─ lib/arke/core/parameter.ex:62:60: Arke.Core.Parameter.on_unit_create/216841685 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1686 │1687 72 │ def on_unit_delete(_, %{id: id, metadata: %{project: project}} = unit) do1688 │ ~~1689 │1690 └─ lib/arke/core/parameter.ex:72:31: Arke.Core.Parameter.on_unit_delete/216911692 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1693 │1694 72 │ def on_unit_delete(_, %{id: id, metadata: %{project: project}} = unit) do1695 │ ~~~~~~~1696 │1697 └─ lib/arke/core/parameter.ex:72:56: Arke.Core.Parameter.on_unit_delete/216981699 warning: def add_node/5 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:17001701 def foo(:first_clause, b \\ :default) do ... end1702 def foo(:second_clause, b) do ... end17031704 one should write:17051706 def foo(a, b \\ :default)1707 def foo(:first_clause, b) do ... end1708 def foo(:second_clause, b) do ... end17091710 the previous clause is defined on line 2417111712 │1713 42 │ def add_node(project, parent, child, type, metadata)1714 │ ~1715 │1716 └─ lib/arke/link_manager.ex:42:717171718 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1719 │1720 74 │ def delete_node(project, %Unit{} = parent, %Unit{} = child, type, metadata \\ %{}) do1721 │ ~~~~~~~~1722 │1723 └─ lib/arke/link_manager.ex:74:69: Arke.LinkManager.delete_node/517241725 warning: def delete_node/5 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:17261727 def foo(:first_clause, b \\ :default) do ... end1728 def foo(:second_clause, b) do ... end17291730 one should write:17311732 def foo(a, b \\ :default)1733 def foo(:first_clause, b) do ... end1734 def foo(:second_clause, b) do ... end17351736 the previous clause is defined on line 7417371738 │1739 83 │ def delete_node(project, parent, child, type, metadata)1740 │ ~1741 │1742 └─ lib/arke/link_manager.ex:83:717431744 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead1745 │1746 49 │ @persistence Application.get_env(:arke, :persistence)1747 │ ~1748 │1749 └─ lib/arke/query_manager.ex:49:28: Arke.QueryManager (module)17501751 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1752 │1753 82 │ query = Query.new(arke, project, distinct)1754 │ ~~~~~1755 │1756 └─ lib/arke/query_manager.ex:82:5: Arke.QueryManager.query/117571758 warning: variable "depth" is unused (if the variable is not meant to be used, prefix it with an underscore)1759 │1760 120 │ defp parse_link_depth(depth), do: 5001761 │ ~~~~~1762 │1763 └─ lib/arke/query_manager.ex:120:25: Arke.QueryManager.parse_link_depth/117641765 warning: variable "link_unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1766 │1767 181 │ {:ok, parameter, link_unit} -> {errors, link_units}1768 │ ~1769 │1770 └─ lib/arke/query_manager.ex:181:28: Arke.QueryManager.handle_link_parameters_unit/217711772 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1773 │1774 181 │ {:ok, parameter, link_unit} -> {errors, link_units}1775 │ ~1776 │1777 └─ lib/arke/query_manager.ex:181:17: Arke.QueryManager.handle_link_parameters_unit/217781779 warning: variable "p" is unused (if the variable is not meant to be used, prefix it with an underscore)1780 │1781 188 │ Enum.map(link_units, fn {p, u} ->1782 │ ~1783 │1784 └─ lib/arke/query_manager.ex:188:34: Arke.QueryManager.handle_link_parameters_unit/217851786 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1787 │1788 165 │ %{data: parameters} = arke,1789 │ ~~~~~~~~~~1790 │1791 └─ lib/arke/query_manager.ex:165:18: Arke.QueryManager.handle_link_parameters_unit/217921793 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1794 │1795 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1796 │ ~~~~1797 │1798 └─ lib/arke/query_manager.ex:204:72: Arke.QueryManager.handle_create_on_link_parameters_unit/517991800 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1801 │1802 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1803 │ ~~~~~~~1804 │1805 └─ lib/arke/query_manager.ex:204:46: Arke.QueryManager.handle_create_on_link_parameters_unit/518061807 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1808 │1809 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1810 │ ~~~~1811 │1812 └─ lib/arke/query_manager.ex:204:55: Arke.QueryManager.handle_create_on_link_parameters_unit/518131814 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1815 │1816 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1817 │ ~~~~1818 │1819 └─ lib/arke/query_manager.ex:208:72: Arke.QueryManager.handle_create_on_link_parameters_unit/518201821 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1822 │1823 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1824 │ ~~~~~~~1825 │1826 └─ lib/arke/query_manager.ex:208:46: Arke.QueryManager.handle_create_on_link_parameters_unit/518271828 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1829 │1830 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1831 │ ~~~~1832 │1833 └─ lib/arke/query_manager.ex:208:55: Arke.QueryManager.handle_create_on_link_parameters_unit/518341835 warning: variable "filters" is unused (if the variable is not meant to be used, prefix it with an underscore)1836 │1837 407 │ def and_(_query, _negate, filters), do: raise("filters must be a list")1838 │ ~~~~~~~1839 │1840 └─ lib/arke/query_manager.ex:407:29: Arke.QueryManager.and_/318411842 warning: variable "filters" is unused (if the variable is not meant to be used, prefix it with an underscore)1843 │1844 428 │ def or_(_query, _negate, filters), do: raise("filters must be a list")1845 │ ~~~~~~~1846 │1847 └─ lib/arke/query_manager.ex:428:28: Arke.QueryManager.or_/318481849 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1850 │1851 566 │ %{id: id} = group = get_group(value, query.project)1852 │ ~~1853 │1854 └─ lib/arke/query_manager.ex:566:11: Arke.QueryManager.handle_filter/518551856 warning: variable "arke_list" is unused (if the variable is not meant to be used, prefix it with an underscore)1857 │1858 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query1859 │ ~~~~~~~~~1860 │1861 └─ lib/arke/query_manager.ex:592:42: Arke.QueryManager.handle_filter_group/418621863 warning: variable "negate" is unused (if the variable is not meant to be used, prefix it with an underscore)1864 │1865 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query1866 │ ~~~~~~1867 │1868 └─ lib/arke/query_manager.ex:592:53: Arke.QueryManager.handle_filter_group/418691870 warning: variable "group" is unused (if the variable is not meant to be used, prefix it with an underscore)1871 │1872 594 │ defp handle_filter_group(query, group, arke_list, negate),1873 │ ~~~~~1874 │1875 └─ lib/arke/query_manager.ex:594:35: Arke.QueryManager.handle_filter_group/418761877 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1878 │1879 740 │ defp get_parameter_operator(arke, [key, operator]), do: {key, String.to_existing_atom(operator)}1880 │ ~~~~1881 │1882 └─ lib/arke/query_manager.ex:740:31: Arke.QueryManager.get_parameter_operator/218831884 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1885 │1886 741 │ defp get_parameter_operator(arke, [key]), do: {key, :eq}1887 │ ~~~~1888 │1889 └─ lib/arke/query_manager.ex:741:31: Arke.QueryManager.get_parameter_operator/218901891 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1892 │1893 745 │ defp get_parameter(%{arke: nil, project: project} = query, %{id: id} = _parameter),1894 │ ~~~~~1895 │1896 └─ lib/arke/query_manager.ex:745:55: Arke.QueryManager.get_parameter/218971898 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1899 │1900 748 │ defp get_parameter(%{arke: nil, project: project} = query, key),1901 │ ~~~~~1902 │1903 └─ lib/arke/query_manager.ex:748:55: Arke.QueryManager.get_parameter/219041905 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1906 │1907 751 │ defp get_parameter(%{arke: arke, project: project} = query, key) do1908 │ ~~~~~1909 │1910 └─ lib/arke/query_manager.ex:751:56: Arke.QueryManager.get_parameter/219111912 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1913 │1914 756 │ %{arke_id: arke_id, metadata: %{project: project}, data: new_data, id: id} = unit,1915 │ ~~1916 │1917 └─ lib/arke/query_manager.ex:756:81: Arke.QueryManager.handle_link_parameters/219181919 warning: variable "value" is unused (if the variable is not meant to be used, prefix it with an underscore)1920 │1921 869 │ defp normalize_value(%{id: id} = value) do1922 │ ~~~~~1923 │1924 └─ lib/arke/query_manager.ex:869:36: Arke.QueryManager.normalize_value/119251926 warning: module attribute @record_fields was set but never used1927 │1928 17 │ @record_fields [:id, :data, :metadata, :inserted_at, :updated_at]1929 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1930 │1931 └─ lib/arke/link_manager.ex:17: Arke.LinkManager (module)19321933 warning: function head for def encode/2 must come at the top of its direct implementation. Instead of:19341935 def add(a, b), do: a + b1936 def add(a, b)19371938 one should write:19391940 def add(a, b)1941 def add(a, b), do: a + b19421943 │1944 60 │ def encode(unit, opts)1945 │ ~1946 │1947 └─ lib/arke/struct_manager.ex:60:719481949 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)1950 │1951 80 │ type,1952 │ ~~~~1953 │1954 └─ lib/arke/struct_manager.ex:80:10: Arke.StructManager.handle_encode/419551956 warning: variable "link_id_list" is unused (if the variable is not meant to be used, prefix it with an underscore)1957 │1958 130 │ link_id_list =1959 │ ~~~~~~~~~~~~1960 │1961 └─ lib/arke/struct_manager.ex:130:5: Arke.StructManager.get_link_id_list/119621963 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1964 │1965 137 │ %{id: id, arke_id: arke_id, metadata: %{project: project}, data: data} = unit1966 │ ~~1967 │1968 └─ lib/arke/struct_manager.ex:137:16: Arke.StructManager.get_link_id_list/119691970 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1971 │1972 137 │ %{id: id, arke_id: arke_id, metadata: %{project: project}, data: data} = unit1973 │ ~~~~1974 │1975 └─ lib/arke/struct_manager.ex:137:83: Arke.StructManager.get_link_id_list/119761977 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1978 │1979 162 │ defp get_parsed_data(nil, arke, _), do: %{}1980 │ ~~~~1981 │1982 └─ lib/arke/struct_manager.ex:162:29: Arke.StructManager.get_parsed_data/319831984 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1985 │1986 163 │ defp get_parsed_data(data, arke, _) when data == %{}, do: %{}1987 │ ~~~~1988 │1989 └─ lib/arke/struct_manager.ex:163:30: Arke.StructManager.get_parsed_data/319901991 warning: clauses with the same name and arity (number of arguments) should be grouped together, "def encode/2" was previously defined (lib/arke/struct_manager.ex:52)1992 │1993 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")1994 │ ~1995 │1996 └─ lib/arke/struct_manager.ex:173:719971998 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1999 │2000 199 │ %{load_values: true} = opts2001 │ ~~~~2002 │2003 └─ lib/arke/struct_manager.ex:199:33: Arke.StructManager.parse_value/320042005 warning: variable "param" is unused (if the variable is not meant to be used, prefix it with an underscore)2006 │2007 198 │ %{arke_id: param_type, data: %{multiple: false, values: values}} = param,2008 │ ~~~~~2009 │2010 └─ lib/arke/struct_manager.ex:198:77: Arke.StructManager.parse_value/320112012 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)2013 │2014 208 │ %{load_values: true} = opts2015 │ ~~~~2016 │2017 └─ lib/arke/struct_manager.ex:208:33: Arke.StructManager.parse_value/320182019 warning: variable "param" is unused (if the variable is not meant to be used, prefix it with an underscore)2020 │2021 207 │ %{arke_id: param_type, data: %{multiple: true, values: values}} = param,2022 │ ~~~~~2023 │2024 └─ lib/arke/struct_manager.ex:207:76: Arke.StructManager.parse_value/320252026 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2027 │2028 222 │ defp filter_link_units(_link_units, %{id: id, metadata: metadata} = unit, false)2029 │ ~~~~~~~~2030 │2031 └─ lib/arke/struct_manager.ex:222:59: Arke.StructManager.filter_link_units/320322033 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2034 │2035 222 │ defp filter_link_units(_link_units, %{id: id, metadata: metadata} = unit, false)2036 │ ~~~~2037 │2038 └─ lib/arke/struct_manager.ex:222:71: Arke.StructManager.filter_link_units/320392040 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2041 │2042 331 │ def get_struct(arke, %{data: data} = unit, opts) do2043 │ ~~~~2044 │2045 └─ lib/arke/struct_manager.ex:331:32: Arke.StructManager.get_struct/320462047 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2048 │2049 340 │ def get_struct(arke, %{data: data} = unit) do2050 │ ~~~~2051 │2052 └─ lib/arke/struct_manager.ex:340:32: Arke.StructManager.get_struct/220532054 warning: clauses with the same name should be grouped together, "def get_struct/1" was previously defined (lib/arke/struct_manager.ex:326)2055 │2056 362 │ def get_struct(_), do: raise("Must pass a valid arke or unit")2057 │ ~2058 │2059 └─ lib/arke/struct_manager.ex:362:720602061 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2062 │2063 417 │ defp add_value(struct, %{data: data} = unit) do2064 │ ~~~~2065 │2066 └─ lib/arke/struct_manager.ex:417:42: Arke.StructManager.add_value/220672068 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2069 │2070 427 │ defp add_type_fields({%{arke_id: :string, data: data} = parameter, base_data}, _project) do2071 │ ~~~~~~~~~2072 │2073 └─ lib/arke/struct_manager.ex:427:59: Arke.StructManager.add_type_fields/220742075 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2076 │2077 466 │ defp add_type_fields({%{arke_id: :boolean, data: data} = parameter, base_data}, _project) do2078 │ ~~~~~~~~~2079 │2080 └─ lib/arke/struct_manager.ex:466:60: Arke.StructManager.add_type_fields/220812082 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2083 │2084 476 │ defp add_type_fields({%{arke_id: :dict, data: data} = parameter, base_data}, _project) do2085 │ ~~~~~~~~~2086 │2087 └─ lib/arke/struct_manager.ex:476:57: Arke.StructManager.add_type_fields/220882089 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2090 │2091 486 │ defp add_type_fields({%{arke_id: :list, data: data} = parameter, base_data}, _project) do2092 │ ~~~~~~~~~2093 │2094 └─ lib/arke/struct_manager.ex:486:57: Arke.StructManager.add_type_fields/220952096 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2097 │2098 510 │ defp get_arke_or_group_id(nil, project), do: nil2099 │ ~~~~~~~2100 │2101 └─ lib/arke/struct_manager.ex:510:34: Arke.StructManager.get_arke_or_group_id/221022103 warning: variable "p" is unused (if the variable is not meant to be used, prefix it with an underscore)2104 │2105 540 │ defp add_type_fields({p, base_data}, _project) do2106 │ ~2107 │2108 └─ lib/arke/struct_manager.ex:540:25: Arke.StructManager.add_type_fields/221092110 warning: clauses with the same name and arity (number of arguments) should be grouped together, "defp add_type_fields/2" was previously defined (lib/arke/struct_manager.ex:427)2111 │2112 540 │ defp add_type_fields({p, base_data}, _project) do2113 │ ~2114 │2115 └─ lib/arke/struct_manager.ex:540:821162117 warning: default values for the optional arguments in the private function parse_value/3 are never used2118 │2119 182 │ defp parse_value(value, param, _opts \\ [])2120 │ ~2121 │2122 └─ lib/arke/struct_manager.ex:182:8: Arke.StructManager (module)21232124 warning: default values for the optional arguments in the private function handle_encode/4 are never used2125 │2126 61 │ defp handle_encode(u, type, load_links, opts \\ [])2127 │ ~2128 │2129 └─ lib/arke/struct_manager.ex:61:8: Arke.StructManager (module)21302131 warning: function handle_default_value/2 is unused2132 │2133 265 │ defp handle_default_value(2134 │ ~2135 │2136 └─ lib/arke/struct_manager.ex:265:8: Arke.StructManager (module)21372138 warning: default values for the optional arguments in the private function get_parsed_data/3 are never used2139 │2140 161 │ defp get_parsed_data(data, arke, opts \\ [])2141 │ ~2142 │2143 └─ lib/arke/struct_manager.ex:161:8: Arke.StructManager (module)21442145 warning: module attribute @record_fields was set but never used2146 │2147 50 │ @record_fields [:id, :data, :metadata, :inserted_at, :updated_at]2148 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2149 │2150 └─ lib/arke/query_manager.ex:50: Arke.QueryManager (module)21512152 warning: unused alias Parameter2153 │2154 47 │ alias Arke.Core.{Arke, Unit, Query, Parameter}2155 │ ~2156 │2157 └─ lib/arke/query_manager.ex:47:321582159 warning: unused alias QueryManager2160 │2161 43 │ alias Arke.QueryManager2162 │ ~2163 │2164 └─ lib/arke/query_manager.ex:43:321652166 warning: this clause for encode/2 cannot match because a previous clause at line 54 always matches2167 │2168 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")2169 │ ~2170 │2171 └─ lib/arke/struct_manager.ex:173:721722173 warning: unused alias Arke2174 │2175 25 │ alias Arke.Core.{Unit, Arke}2176 │ ~2177 │2178 └─ lib/arke/struct_manager.ex:25:321792180 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead2181 │2182 23 │ @persistence Application.get_env(:arke, :persistence)2183 │ ~2184 │2185 └─ lib/arke/core/project.ex:23:28: Arke.Core.Project (module)21862187 warning: variable "content_type" is unused (if the variable is not meant to be used, prefix it with an underscore)2188 │2189 35 │ %{path: path, content_type: content_type, filename: filename} = _unit,2190 │ ~~~~~~~~~~~~2191 │2192 └─ lib/arke/core/file.ex:35:37: Arke.Core.File.before_load/221932194 warning: variable "opts" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)2195 │2196 61 │ {:ok, %{signed_url: signed_url} = opts} <- get_url(unit) do2197 │ ~2198 │2199 └─ lib/arke/core/file.ex:61:44: Arke.Core.File.on_struct_encode/422002201 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2202 │2203 57 │ def on_struct_encode(arke, %{metadata: %{project: project}} = unit, data, opts) do2204 │ ~~~~2205 │2206 └─ lib/arke/core/file.ex:57:24: Arke.Core.File.on_struct_encode/422072208 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2209 │2210 57 │ def on_struct_encode(arke, %{metadata: %{project: project}} = unit, data, opts) do2211 │ ~~~~~~~2212 │2213 └─ lib/arke/core/file.ex:57:53: Arke.Core.File.on_struct_encode/422142215 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2216 │2217 57 │ def base_parameters(arke, %{data: %{parameters: []}} = unit), do: base_parameters(arke)2218 │ ~~~~2219 │2220 └─ lib/arke/core/arke.ex:57:58: Arke.Core.Arke.base_parameters/222212222 warning: unused alias Parameter2223 │2224 22 │ alias Arke.Core.Parameter2225 │ ~2226 │2227 └─ lib/arke/core/arke.ex:22:322282229 warning: unused alias ArkeManager2230 │2231 22 │ alias Arke.Boundary.{ArkeManager, FileManager}2232 │ ~2233 │2234 └─ lib/arke/core/file.ex:22:322352236 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2237 │2238 27 │ def on_create(arke, unit) do2239 │ ~~~~2240 │2241 └─ lib/arke/core/group.ex:27:17: Arke.Core.Group.on_create/222422243 warning: variable "child_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2244 │2245 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2246 │ ~~~~~~~~2247 │2248 └─ lib/arke/core/link.ex:64:63: Arke.Core.Link.on_create/222492250 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2251 │2252 65 │ metadata: %{project: project} = metadata2253 │ ~~~~~~~~2254 │2255 └─ lib/arke/core/link.ex:65:43: Arke.Core.Link.on_create/222562257 warning: variable "parent_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2258 │2259 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2260 │ ~~~~~~~~~2261 │2262 └─ lib/arke/core/link.ex:64:42: Arke.Core.Link.on_create/222632264 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2265 │2266 65 │ metadata: %{project: project} = metadata2267 │ ~~~~~~~2268 │2269 └─ lib/arke/core/link.ex:65:32: Arke.Core.Link.on_create/222702271 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)2272 │2273 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2274 │ ~~~~2275 │2276 └─ lib/arke/core/link.ex:64:25: Arke.Core.Link.on_create/222772278 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2279 │2280 89 │ metadata: %{project: project} = metadata2281 │ ~~~~~~~~2282 │2283 └─ lib/arke/core/link.ex:89:43: Arke.Core.Link.on_delete/222842285 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2286 │2287 106 │ metadata: %{project: project} = metadata2288 │ ~~~~~~~~2289 │2290 └─ lib/arke/core/link.ex:106:43: Arke.Core.Link.on_delete/222912292 warning: variable "child_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2293 │2294 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2295 │ ~~~~~~~~2296 │2297 └─ lib/arke/core/link.ex:122:63: Arke.Core.Link.on_delete/222982299 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2300 │2301 123 │ metadata: %{project: project} = metadata2302 │ ~~~~~~~~2303 │2304 └─ lib/arke/core/link.ex:123:43: Arke.Core.Link.on_delete/223052306 warning: variable "parent_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2307 │2308 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2309 │ ~~~~~~~~~2310 │2311 └─ lib/arke/core/link.ex:122:42: Arke.Core.Link.on_delete/223122313 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2314 │2315 123 │ metadata: %{project: project} = metadata2316 │ ~~~~~~~2317 │2318 └─ lib/arke/core/link.ex:123:32: Arke.Core.Link.on_delete/223192320 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)2321 │2322 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2323 │ ~~~~2324 │2325 └─ lib/arke/core/link.ex:122:25: Arke.Core.Link.on_delete/223262327 warning: unused alias LinkManager2328 │2329 19 │ alias Arke.LinkManager2330 │ ~2331 │2332 └─ lib/arke/core/link.ex:19:323332334 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2335 │2336 49 │ defp get_arke(project, nil), do: []2337 │ ~~~~~~~2338 │2339 └─ lib/arke/utils/export.ex:49:17: Arke.Utils.Export.get_arke/223402341 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2342 │2343 52 │ defp get_parameter(project, nil), do: []2344 │ ~~~~~~~2345 │2346 └─ lib/arke/utils/export.ex:52:22: Arke.Utils.Export.get_parameter/223472348 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2349 │2350 61 │ defp get_group(project, nil), do: []2351 │ ~~~~~~~2352 │2353 └─ lib/arke/utils/export.ex:61:18: Arke.Utils.Export.get_group/223542355 warning: variable "parsed_data" is unused (if the variable is not meant to be used, prefix it with an underscore)2356 │2357 86 │ parsed_data =2358 │ ~~~~~~~~~~~2359 │2360 └─ lib/arke/utils/export.ex:86:5: Arke.Utils.Export.get_all/123612362 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead2363 │2364 19 │ @storage Application.get_env(:arke, :storage)2365 │ ~2366 │2367 └─ lib/arke/utils/gcp.ex:19:24: Arke.Utils.Gcp (module)23682369 warning: variable "object" is unused (if the variable is not meant to be used, prefix it with an underscore)2370 │2371 28 │ {:ok, object} =2372 │ ~~~~~~2373 │2374 └─ lib/arke/utils/gcp.ex:28:11: Arke.Utils.Gcp.upload_file/323752376 warning: variable "ext" is unused (if the variable is not meant to be used, prefix it with an underscore)2377 │2378 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2379 │ ~~~2380 │2381 └─ lib/arke/utils/gcp.ex:50:67: Arke.Utils.Gcp.get_public_url/223822383 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2384 │2385 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2386 │ ~~~~2387 │2388 └─ lib/arke/utils/gcp.ex:50:75: Arke.Utils.Gcp.get_public_url/223892390 warning: def get_public_url/2 has multiple clauses and also declares default values. In such cases, the default values should be defined in a header. Instead of:23912392 def foo(:first_clause, b \\ :default) do ... end2393 def foo(:second_clause, b) do ... end23942395 one should write:23962397 def foo(a, b \\ :default)2398 def foo(:first_clause, b) do ... end2399 def foo(:second_clause, b) do ... end24002401 the previous clause is defined on line 5024022403 │2404 55 │ def get_public_url(_unit, _opts), do: Error.create(:storage, "invalid unit")2405 │ ~2406 │2407 └─ lib/arke/utils/gcp.ex:55:724082409 warning: this clause for upload_file/2 cannot match because a previous clause at line 16 always matches2410 │2411 23 │ def upload_file(file_name, file_data, opts \\ []) do2412 │ ~2413 │2414 └─ lib/arke/utils/gcp.ex:23:724152416 warning: this clause for get_file/1 cannot match because a previous clause at line 16 always matches2417 │2418 39 │ def get_file(file_path, opts \\ []) do2419 │ ~2420 │2421 └─ lib/arke/utils/gcp.ex:39:724222423 warning: this clause for get_public_url/1 cannot match because a previous clause at line 16 always matches2424 │2425 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2426 │ ~2427 │2428 └─ lib/arke/utils/gcp.ex:50:724292430 warning: this clause for delete_file/1 cannot match because a previous clause at line 16 always matches2431 │2432 57 │ def delete_file(file_path, opts \\ []) do2433 │ ~2434 │2435 └─ lib/arke/utils/gcp.ex:57:724362437 warning: this clause for get_bucket_file_signed_url/1 cannot match because a previous clause at line 16 always matches2438 │2439 68 │ def get_bucket_file_signed_url(file_path, opts \\ []) do2440 │ ~2441 │2442 └─ lib/arke/utils/gcp.ex:68:724432444 warning: module attribute @default_bucket was set but never used2445 │2446 21 │ @default_bucket @storage[:gcp][:default_bucket]2447 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2448 │2449 └─ lib/arke/utils/gcp.ex:21: Arke.Utils.Gcp (module)24502451 warning: module attribute @service_account was set but never used2452 │2453 20 │ @service_account @storage[:gcp][:service_account]2454 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2455 │2456 └─ lib/arke/utils/gcp.ex:20: Arke.Utils.Gcp (module)24572458 warning: variable "arke_data" is unused (if the variable is not meant to be used, prefix it with an underscore)2459 │2460 51 │ %{data: arke_data} = arke = ArkeManager.get(arke_id, project)2461 │ ~2462 │2463 └─ lib/arke/validator.ex:51:15: Arke.Validator.validate/324642465 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2466 │2467 91 │ defp check_duplicate_unit(%{id: unit_id} = unit, _project, _persistence_fn), do: {:ok, unit}2468 │ ~~~~~~~2469 │2470 └─ lib/arke/validator.ex:91:35: Arke.Validator.check_duplicate_unit/324712472 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2473 │2474 144 │ defp get_parameter(arke, parameter_id, project),2475 │ ~~~~~~~2476 │2477 └─ lib/arke/validator.ex:144:42: Arke.Validator.get_parameter/324782479 warning: clauses with the same name and arity (number of arguments) should be grouped together, "def validate_parameter/4" was previously defined (lib/arke/validator.ex:134)2480 │2481 147 │ def validate_parameter(arke, parameter, value, project) do2482 │ ~2483 │2484 └─ lib/arke/validator.ex:147:724852486 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2487 │2488 167 │ def get_default_value(parameter, value), do: value2489 │ ~~~~~~~~~2490 │2491 └─ lib/arke/validator.ex:167:25: Arke.Validator.get_default_value/224922493 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2494 │2495 169 │ defp parse_value(%{arke_id: :integer, data: %{multiple: false} = data} = _, value)2496 │ ~~~~2497 │2498 └─ lib/arke/validator.ex:169:68: Arke.Validator.parse_value/224992500 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2501 │2502 177 │ defp parse_value(%{arke_id: :float, data: %{multiple: false} = data} = _, value)2503 │ ~~~~2504 │2505 └─ lib/arke/validator.ex:177:66: Arke.Validator.parse_value/225062507 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2508 │2509 224 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = _parameter, nil, project),2510 │ ~~~~~~~2511 │2512 └─ lib/arke/validator.ex:224:84: Arke.Validator.check_duplicate/425132514 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2515 │2516 227 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = parameter, value, project,arke) do2517 │ ~~~~~~~~~2518 │2519 └─ lib/arke/validator.ex:227:67: Arke.Validator.check_duplicate/525202521 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2522 │2523 287 │ %{arke_id: type, data: %{multiple: true, values: _values, label: label}} = parameter,2524 │ ~~~~~~~~~2525 │2526 └─ lib/arke/validator.ex:287:85: Arke.Validator.check_values/325272528 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2529 │2530 306 │ defp check_multiple(errors, %{id: id, data: %{multiple: true}} = parameter, value) when not is_list(value), do: check_multiple(errors, parameter, [value])2531 │ ~~2532 │2533 └─ lib/arke/validator.ex:306:37: Arke.Validator.check_multiple/325342535 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2536 │2537 307 │ defp check_multiple(errors, %{id: id, arke_id: type, data: %{ multiple: true}} = parameter, value) do2538 │ ~~~~~~~~~2539 │2540 └─ lib/arke/validator.ex:307:84: Arke.Validator.check_multiple/325412542 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2543 │2544 317 │ defp check_whitespace(%{data: %{strip: true}} = parameter, value) when is_atom(value) do2545 │ ~~~~~~~~~2546 │2547 └─ lib/arke/validator.ex:317:51: Arke.Validator.check_whitespace/225482549 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2550 │2551 325 │ defp check_whitespace(%{data: %{strip: true}} = parameter, value) do2552 │ ~~~~~~~~~2553 │2554 └─ lib/arke/validator.ex:325:51: Arke.Validator.check_whitespace/225552556 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2557 │2558 332 │ defp check_lowercase(%{data: %{lowercase: true}} = parameter, value) when is_atom(value) do2559 │ ~~~~~~~~~2560 │2561 └─ lib/arke/validator.ex:332:54: Arke.Validator.check_lowercase/225622563 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2564 │2565 339 │ defp check_lowercase(%{data: %{lowercase: true}} = parameter, value) do2566 │ ~~~~~~~~~2567 │2568 └─ lib/arke/validator.ex:339:54: Arke.Validator.check_lowercase/225692570 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2571 │2572 346 │ defp check_max_length(errors, %{data: %{max_length: max_length}} = parameter, _)2573 │ ~~~~~~~~~2574 │2575 └─ lib/arke/validator.ex:346:70: Arke.Validator.check_max_length/325762577 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2578 │2579 352 │ %{data: %{label: label, max_length: max_length}} = parameter,2580 │ ~~~~~~~~~2581 │2582 └─ lib/arke/validator.ex:352:61: Arke.Validator.check_max_length/325832584 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2585 │2586 364 │ defp check_min_length(errors, %{data: %{min_length: min_length}} = parameter, _)2587 │ ~~~~~~~~~2588 │2589 └─ lib/arke/validator.ex:364:70: Arke.Validator.check_min_length/325902591 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2592 │2593 370 │ %{data: %{label: label, min_length: min_length}} = parameter,2594 │ ~~~~~~~~~2595 │2596 └─ lib/arke/validator.ex:370:61: Arke.Validator.check_min_length/325972598 warning: clauses with the same name and arity (number of arguments) should be grouped together, "defp check_by_type/3" was previously defined (lib/arke/validator.ex:235)2599 │2600 386 │ defp check_by_type(errors, %{arke_id: :integer} = parameter, value)2601 │ ~2602 │2603 └─ lib/arke/validator.ex:386:826042605 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2606 │2607 395 │ defp check_by_type(errors, %{arke_id: :integer, data: %{label: label}} = parameter, _value),2608 │ ~~~~~~~~~2609 │2610 └─ lib/arke/validator.ex:395:76: Arke.Validator.check_by_type/326112612 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2613 │2614 407 │ defp check_by_type(errors, %{arke_id: :float, data: %{label: label}} = parameter, _value),2615 │ ~~~~~~~~~2616 │2617 └─ lib/arke/validator.ex:407:74: Arke.Validator.check_by_type/326182619 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2620 │2621 412 │ defp check_by_type(errors, %{arke_id: :dict, data: %{label: label}} = parameter, _value),2622 │ ~~~~~~~~~2623 │2624 └─ lib/arke/validator.ex:412:73: Arke.Validator.check_by_type/326252626 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2627 │2628 417 │ defp check_by_type(errors, %{arke_id: :list, data: %{label: label}} = parameter, _value),2629 │ ~~~~~~~~~2630 │2631 └─ lib/arke/validator.ex:417:73: Arke.Validator.check_by_type/326322633 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2634 │2635 420 │ defp check_max(errors, %{data: %{max: max}} = parameter, _) when is_nil(max), do: errors2636 │ ~~~~~~~~~2637 │2638 └─ lib/arke/validator.ex:420:49: Arke.Validator.check_max/326392640 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2641 │2642 431 │ defp check_min(errors, %{data: %{min: min}} = parameter, _) when is_nil(min), do: errors2643 │ ~~~~~~~~~2644 │2645 └─ lib/arke/validator.ex:431:49: Arke.Validator.check_min/326462647 warning: clauses with the same name and arity (number of arguments) should be grouped together, "defp check_by_type/3" was previously defined (lib/arke/validator.ex:235)2648 │2649 443 │ defp check_by_type(errors, %{arke_id: :date} = parameter, value) do2650 │ ~2651 │2652 └─ lib/arke/validator.ex:443:826532654 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2655 │2656 470 │ defp check_by_type(errors, %{arke_id: :boolean} = parameter, value)2657 │ ~~~~~~~~~2658 │2659 └─ lib/arke/validator.ex:470:53: Arke.Validator.check_by_type/326602661 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2662 │2663 495 │ defp __enum_error_common__(errors, %{id: id, data: %{values: nil}} = _parameter), do: errors2664 │ ~~2665 │2666 └─ lib/arke/validator.ex:495:44: Arke.Validator.__enum_error_common__/226672668 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2669 │2670 496 │ defp __enum_error_common__(errors, %{id: id, data: %{values: %{}}} = _parameter), do: errors2671 │ ~~2672 │2673 └─ lib/arke/validator.ex:496:44: Arke.Validator.__enum_error_common__/226742675 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2676 │2677 497 │ defp __enum_error_common__(errors, %{id: id, data: %{values: []}} = _parameter), do: errors2678 │ ~~2679 │2680 └─ lib/arke/validator.ex:497:44: Arke.Validator.__enum_error_common__/226812682 warning: function check_duplicate/4 is unused2683 │2684 224 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = _parameter, nil, project),2685 │ ~2686 │2687 └─ lib/arke/validator.ex:224:8: Arke.Validator (module)26882689 warning: variable "exception" is unused (if the variable is not meant to be used, prefix it with an underscore)2690 │2691 12 │ def message(%{message: [%{context: context, message: message}]} = exception),2692 │ ~~~~~~~~~2693 │2694 └─ lib/error/arke_error.ex:12:69: Arke.Errors.ArkeError.message/126952696 warning: variable "exception" is unused (if the variable is not meant to be used, prefix it with an underscore)2697 │2698 15 │ def message(%{message: errors} = exception) when is_list(errors) do2699 │ ~~~~~~~~~2700 │2701 └─ lib/error/arke_error.ex:15:36: Arke.Errors.ArkeError.message/127022703 warning: module attribute @decode_keys was set but never used2704 │2705 29 │ @decode_keys [:arke, :parameter, :group, :link]2706 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2707 │2708 └─ lib/mix/tasks/arke.export_data.ex:29: Mix.Tasks.Arke.ExportData (module)27092710 warning: unused alias ArkeManager2711 │2712 26 │ alias Arke.Boundary.{ArkeManager}2713 │ ~2714 │2715 └─ lib/mix/tasks/arke.export_data.ex:26:327162717 warning: unused alias Error2718 │2719 25 │ alias Arke.Utils.ErrorGenerator, as: Error2720 │ ~2721 │2722 └─ lib/mix/tasks/arke.export_data.ex:25:327232724 warning: unused alias LinkManager2725 │2726 24 │ alias Arke.LinkManager2727 │ ~2728 │2729 └─ lib/mix/tasks/arke.export_data.ex:24:327302731 warning: unused alias QueryManager2732 │2733 23 │ alias Arke.QueryManager2734 │ ~2735 │2736 └─ lib/mix/tasks/arke.export_data.ex:23:327372738 warning: unused alias Unit2739 │2740 28 │ alias Arke.Core.Unit2741 │ ~2742 │2743 └─ lib/mix/tasks/arke.export_data.ex:28:327442745 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2746 │2747 381 │ {:ok, unit} <- QueryManager.create(project, model, current) do2748 │ ~2749 │2750 └─ lib/mix/tasks/arke.seed_project.ex:381:16: Mix.Tasks.Arke.SeedProject.handle_group/327512752 warning: unused alias Parameter2753 │2754 402 │ alias Arke.Core.Parameter2755 │ ~2756 │2757 └─ lib/arke/core/parameter.ex:402:327582759 warning: unused alias GroupManager2760 │2761 24 │ alias Arke.Boundary.{ArkeManager, GroupManager}2762 │ ~2763 │2764 └─ lib/mix/tasks/arke.seed_project.ex:24:327652766 warning: the following clause will never match:27672768 %Arke.Core.Unit{} ->27692770 it is expected to match on type:27712772 dynamic({:error, term()})27732774 type warning found at:2775 │2776 306 │ %Unit{} ->2777 │ ~2778 │2779 └─ lib/mix/tasks/arke.seed_project.ex:306:7: Mix.Tasks.Arke.SeedProject.handle_parameter/327802781 warning: the following clause is redundant:27822783 _err ->27842785 previous clauses have already matched on the following types:27862787 {:error, term()}27882789 type warning found at:2790 │2791 316 │ _err ->2792 │ ~2793 │2794 └─ lib/mix/tasks/arke.seed_project.ex:316:12: Mix.Tasks.Arke.SeedProject.handle_parameter/327952796 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2797 │2798 404 │ use Arke.System2799 │ ~~~~~~~~~~~~~~~2800 │2801 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.handle_insert/428022803 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2804 │2805 404 │ use Arke.System2806 │ ~~~~~~~~~~~~~~~2807 │2808 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.import/128092810 warning: comparison between distinct types found:28112812 check_existing_units_for_import(project, arke, header, u, existing_units) == false28132814 given types:28152816 dynamic(true) == false28172818 where "arke" (context Arke.System) was given the type:28192820 # type: dynamic()2821 # from: lib/arke/core/parameter.ex:4042822 arke28232824 where "existing_units" (context Arke.System) was given the type:28252826 # type: empty_list()2827 # from: lib/arke/core/parameter.ex:4042828 existing_units = get_existing_units_for_import(project, arke, header, correct_units)28292830 where "header" (context Arke.System) was given the type:28312832 # type: dynamic()2833 # from: lib/arke/core/parameter.ex:4042834 header = parse_header_for_import(template_header, file_header)28352836 where "project" (context Arke.System) was given the type:28372838 # type: dynamic()2839 # from: lib/arke/core/parameter.ex:4042840 project28412842 where "u" (context Arke.System) was given the type:28432844 # type: dynamic()2845 # from: lib/arke/core/parameter.ex:4042846 u28472848 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false28492850 type warning found at:2851 │2852 404 │ use Arke.System2853 │ ~~~~~~~~~~~~~~~2854 │2855 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.import_units/528562857 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2858 │2859 388 │ use Arke.System2860 │ ~~~~~~~~~~~~~~~2861 │2862 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.handle_insert/428632864 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2865 │2866 388 │ use Arke.System2867 │ ~~~~~~~~~~~~~~~2868 │2869 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.import/128702871 warning: comparison between distinct types found:28722873 check_existing_units_for_import(project, arke, header, u, existing_units) == false28742875 given types:28762877 dynamic(true) == false28782879 where "arke" (context Arke.System) was given the type:28802881 # type: dynamic()2882 # from: lib/arke/core/parameter.ex:3882883 arke28842885 where "existing_units" (context Arke.System) was given the type:28862887 # type: empty_list()2888 # from: lib/arke/core/parameter.ex:3882889 existing_units = get_existing_units_for_import(project, arke, header, correct_units)28902891 where "header" (context Arke.System) was given the type:28922893 # type: dynamic()2894 # from: lib/arke/core/parameter.ex:3882895 header = parse_header_for_import(template_header, file_header)28962897 where "project" (context Arke.System) was given the type:28982899 # type: dynamic()2900 # from: lib/arke/core/parameter.ex:3882901 project29022903 where "u" (context Arke.System) was given the type:29042905 # type: dynamic()2906 # from: lib/arke/core/parameter.ex:3882907 u29082909 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false29102911 type warning found at:2912 │2913 388 │ use Arke.System2914 │ ~~~~~~~~~~~~~~~2915 │2916 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.import_units/529172918 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2919 │2920 370 │ use Arke.System2921 │ ~~~~~~~~~~~~~~~2922 │2923 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.handle_insert/429242925 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2926 │2927 370 │ use Arke.System2928 │ ~~~~~~~~~~~~~~~2929 │2930 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.import/129312932 warning: comparison between distinct types found:29332934 check_existing_units_for_import(project, arke, header, u, existing_units) == false29352936 given types:29372938 dynamic(true) == false29392940 where "arke" (context Arke.System) was given the type:29412942 # type: dynamic()2943 # from: lib/arke/core/parameter.ex:3702944 arke29452946 where "existing_units" (context Arke.System) was given the type:29472948 # type: empty_list()2949 # from: lib/arke/core/parameter.ex:3702950 existing_units = get_existing_units_for_import(project, arke, header, correct_units)29512952 where "header" (context Arke.System) was given the type:29532954 # type: dynamic()2955 # from: lib/arke/core/parameter.ex:3702956 header = parse_header_for_import(template_header, file_header)29572958 where "project" (context Arke.System) was given the type:29592960 # type: dynamic()2961 # from: lib/arke/core/parameter.ex:3702962 project29632964 where "u" (context Arke.System) was given the type:29652966 # type: dynamic()2967 # from: lib/arke/core/parameter.ex:3702968 u29692970 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false29712972 type warning found at:2973 │2974 370 │ use Arke.System2975 │ ~~~~~~~~~~~~~~~2976 │2977 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.import_units/529782979 warning: Arke.Boundary.ParameterManager.get_from_persistence/0 is undefined or private2980 │2981 34 │ Arke.Boundary.ParameterManager.get_from_persistence()2982 │ ~2983 │2984 └─ lib/examples/starter.ex:34:36: Arke.Examples.Starter.init/029852986 warning: Arke.Core.Parameter.new/1 is undefined or private2987 │2988 44 │ parameter = Arke.Core.Parameter.new(p)2989 │ ~2990 │2991 └─ lib/examples/starter.ex:44:41: Arke.Examples.Starter.init_arke_by_struct/229922993 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2994 │2995 346 │ use Arke.System2996 │ ~~~~~~~~~~~~~~~2997 │2998 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.handle_insert/429993000 warning: Arke.Boundary.ArkeManager.set_manager/2 is undefined or private3001 │3002 50 │ ArkeManager.set_manager(Arke.Core.Arke.new(args), :arke_system)3003 │ ~3004 │3005 └─ lib/examples/starter.ex:50:17: Arke.Examples.Starter.init_arke_by_struct/230063007 warning: Arke.Core.Arke.new/1 is undefined or private3008 │3009 50 │ ArkeManager.set_manager(Arke.Core.Arke.new(args), :arke_system)3010 │ ~3011 │3012 └─ lib/examples/starter.ex:50:44: Arke.Examples.Starter.init_arke_by_struct/23013 └─ lib/examples/starter.ex:61:24: Arke.Examples.Starter.init_arke_by_persistence/030143015 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3016 │3017 346 │ use Arke.System3018 │ ~~~~~~~~~~~~~~~3019 │3020 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.import/130213022 warning: Arke.Boundary.ArkeManager.add_parameter/4 is undefined or private. Did you mean:30233024 * update_parameter/430253026 │3027 78 │ ArkeManager.add_parameter(parent_id, :arke_system, child_id, data.metadata)3028 │ ~3029 │3030 └─ lib/examples/starter.ex:78:19: Arke.Examples.Starter.init_arke_parameters_by_persistence/030313032 warning: comparison between distinct types found:30333034 check_existing_units_for_import(project, arke, header, u, existing_units) == false30353036 given types:30373038 dynamic(true) == false30393040 where "arke" (context Arke.System) was given the type:30413042 # type: dynamic()3043 # from: lib/arke/core/parameter.ex:3463044 arke30453046 where "existing_units" (context Arke.System) was given the type:30473048 # type: empty_list()3049 # from: lib/arke/core/parameter.ex:3463050 existing_units = get_existing_units_for_import(project, arke, header, correct_units)30513052 where "header" (context Arke.System) was given the type:30533054 # type: dynamic()3055 # from: lib/arke/core/parameter.ex:3463056 header = parse_header_for_import(template_header, file_header)30573058 where "project" (context Arke.System) was given the type:30593060 # type: dynamic()3061 # from: lib/arke/core/parameter.ex:3463062 project30633064 where "u" (context Arke.System) was given the type:30653066 # type: dynamic()3067 # from: lib/arke/core/parameter.ex:3463068 u30693070 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false30713072 type warning found at:3073 │3074 346 │ use Arke.System3075 │ ~~~~~~~~~~~~~~~3076 │3077 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.import_units/530783079 warning: the following clause is redundant:30803081 defp check_values(3082 errors,3083 %{arke_id: type, data: %{multiple: true, values: _values, label: label}} = parameter,3084 value3085 )30863087 it has type:30883089 dynamic(), dynamic(%{..., arke_id: term(), data: %{..., label: term(), multiple: true, values: term()}}), dynamic()30903091 previous clauses have already matched on the following types:30923093 term(), %{..., data: %{..., values: nil}}, term()3094 term(), %{..., arke_id: term(), data: %{..., label: term(), multiple: true, values: term()}}, empty_list() or non_empty_list(term(), term())3095 term(), %{..., data: %{..., values: term()}}, term()30963097 │3098 285 │ defp check_values(3099 │ ~3100 │3101 └─ lib/arke/validator.ex:285:8: Arke.Validator.check_values/331023103 warning: this clause of defp __enum_error_common__/2 is never used (or it will always fail/warn when invoked)3104 │3105 495 │ defp __enum_error_common__(errors, %{id: id, data: %{values: nil}} = _parameter), do: errors3106 │ ~3107 │3108 └─ lib/arke/validator.ex:495:8: Arke.Validator.__enum_error_common__/231093110 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3111 │3112 311 │ use Arke.System3113 │ ~~~~~~~~~~~~~~~3114 │3115 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.handle_insert/431163117 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3118 │3119 311 │ use Arke.System3120 │ ~~~~~~~~~~~~~~~3121 │3122 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.import/131233124 warning: comparison between distinct types found:31253126 check_existing_units_for_import(project, arke, header, u, existing_units) == false31273128 given types:31293130 dynamic(true) == false31313132 where "arke" (context Arke.System) was given the type:31333134 # type: dynamic()3135 # from: lib/arke/core/parameter.ex:3113136 arke31373138 where "existing_units" (context Arke.System) was given the type:31393140 # type: empty_list()3141 # from: lib/arke/core/parameter.ex:3113142 existing_units = get_existing_units_for_import(project, arke, header, correct_units)31433144 where "header" (context Arke.System) was given the type:31453146 # type: dynamic()3147 # from: lib/arke/core/parameter.ex:3113148 header = parse_header_for_import(template_header, file_header)31493150 where "project" (context Arke.System) was given the type:31513152 # type: dynamic()3153 # from: lib/arke/core/parameter.ex:3113154 project31553156 where "u" (context Arke.System) was given the type:31573158 # type: dynamic()3159 # from: lib/arke/core/parameter.ex:3113160 u31613162 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false31633164 type warning found at:3165 │3166 311 │ use Arke.System3167 │ ~~~~~~~~~~~~~~~3168 │3169 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.import_units/531703171 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3172 │3173 280 │ use Arke.System3174 │ ~~~~~~~~~~~~~~~3175 │3176 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.handle_insert/431773178 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3179 │3180 280 │ use Arke.System3181 │ ~~~~~~~~~~~~~~~3182 │3183 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.import/131843185 warning: comparison between distinct types found:31863187 check_existing_units_for_import(project, arke, header, u, existing_units) == false31883189 given types:31903191 dynamic(true) == false31923193 where "arke" (context Arke.System) was given the type:31943195 # type: dynamic()3196 # from: lib/arke/core/parameter.ex:2803197 arke31983199 where "existing_units" (context Arke.System) was given the type:32003201 # type: empty_list()3202 # from: lib/arke/core/parameter.ex:2803203 existing_units = get_existing_units_for_import(project, arke, header, correct_units)32043205 where "header" (context Arke.System) was given the type:32063207 # type: dynamic()3208 # from: lib/arke/core/parameter.ex:2803209 header = parse_header_for_import(template_header, file_header)32103211 where "project" (context Arke.System) was given the type:32123213 # type: dynamic()3214 # from: lib/arke/core/parameter.ex:2803215 project32163217 where "u" (context Arke.System) was given the type:32183219 # type: dynamic()3220 # from: lib/arke/core/parameter.ex:2803221 u32223223 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false32243225 type warning found at:3226 │3227 280 │ use Arke.System3228 │ ~~~~~~~~~~~~~~~3229 │3230 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.import_units/532313232 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3233 │3234 248 │ use Arke.System3235 │ ~~~~~~~~~~~~~~~3236 │3237 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.handle_insert/432383239 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3240 │3241 248 │ use Arke.System3242 │ ~~~~~~~~~~~~~~~3243 │3244 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.import/132453246 warning: comparison between distinct types found:32473248 check_existing_units_for_import(project, arke, header, u, existing_units) == false32493250 given types:32513252 dynamic(true) == false32533254 where "arke" (context Arke.System) was given the type:32553256 # type: dynamic()3257 # from: lib/arke/core/parameter.ex:2483258 arke32593260 where "existing_units" (context Arke.System) was given the type:32613262 # type: empty_list()3263 # from: lib/arke/core/parameter.ex:2483264 existing_units = get_existing_units_for_import(project, arke, header, correct_units)32653266 where "header" (context Arke.System) was given the type:32673268 # type: dynamic()3269 # from: lib/arke/core/parameter.ex:2483270 header = parse_header_for_import(template_header, file_header)32713272 where "project" (context Arke.System) was given the type:32733274 # type: dynamic()3275 # from: lib/arke/core/parameter.ex:2483276 project32773278 where "u" (context Arke.System) was given the type:32793280 # type: dynamic()3281 # from: lib/arke/core/parameter.ex:2483282 u32833284 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false32853286 type warning found at:3287 │3288 248 │ use Arke.System3289 │ ~~~~~~~~~~~~~~~3290 │3291 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.import_units/532923293 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3294 │3295 224 │ use Arke.System3296 │ ~~~~~~~~~~~~~~~3297 │3298 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.handle_insert/432993300 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3301 │3302 224 │ use Arke.System3303 │ ~~~~~~~~~~~~~~~3304 │3305 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.import/133063307 warning: comparison between distinct types found:33083309 check_existing_units_for_import(project, arke, header, u, existing_units) == false33103311 given types:33123313 dynamic(true) == false33143315 where "arke" (context Arke.System) was given the type:33163317 # type: dynamic()3318 # from: lib/arke/core/parameter.ex:2243319 arke33203321 where "existing_units" (context Arke.System) was given the type:33223323 # type: empty_list()3324 # from: lib/arke/core/parameter.ex:2243325 existing_units = get_existing_units_for_import(project, arke, header, correct_units)33263327 where "header" (context Arke.System) was given the type:33283329 # type: dynamic()3330 # from: lib/arke/core/parameter.ex:2243331 header = parse_header_for_import(template_header, file_header)33323333 where "project" (context Arke.System) was given the type:33343335 # type: dynamic()3336 # from: lib/arke/core/parameter.ex:2243337 project33383339 where "u" (context Arke.System) was given the type:33403341 # type: dynamic()3342 # from: lib/arke/core/parameter.ex:2243343 u33443345 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false33463347 type warning found at:3348 │3349 224 │ use Arke.System3350 │ ~~~~~~~~~~~~~~~3351 │3352 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.import_units/533533354 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3355 │3356 200 │ use Arke.System3357 │ ~~~~~~~~~~~~~~~3358 │3359 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.handle_insert/433603361 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3362 │3363 200 │ use Arke.System3364 │ ~~~~~~~~~~~~~~~3365 │3366 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.import/133673368 warning: comparison between distinct types found:33693370 check_existing_units_for_import(project, arke, header, u, existing_units) == false33713372 given types:33733374 dynamic(true) == false33753376 where "arke" (context Arke.System) was given the type:33773378 # type: dynamic()3379 # from: lib/arke/core/parameter.ex:2003380 arke33813382 where "existing_units" (context Arke.System) was given the type:33833384 # type: empty_list()3385 # from: lib/arke/core/parameter.ex:2003386 existing_units = get_existing_units_for_import(project, arke, header, correct_units)33873388 where "header" (context Arke.System) was given the type:33893390 # type: dynamic()3391 # from: lib/arke/core/parameter.ex:2003392 header = parse_header_for_import(template_header, file_header)33933394 where "project" (context Arke.System) was given the type:33953396 # type: dynamic()3397 # from: lib/arke/core/parameter.ex:2003398 project33993400 where "u" (context Arke.System) was given the type:34013402 # type: dynamic()3403 # from: lib/arke/core/parameter.ex:2003404 u34053406 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false34073408 type warning found at:3409 │3410 200 │ use Arke.System3411 │ ~~~~~~~~~~~~~~~3412 │3413 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.import_units/534143415 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3416 │3417 170 │ use Arke.System3418 │ ~~~~~~~~~~~~~~~3419 │3420 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.handle_insert/434213422 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3423 │3424 170 │ use Arke.System3425 │ ~~~~~~~~~~~~~~~3426 │3427 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.import/134283429 warning: comparison between distinct types found:34303431 check_existing_units_for_import(project, arke, header, u, existing_units) == false34323433 given types:34343435 dynamic(true) == false34363437 where "arke" (context Arke.System) was given the type:34383439 # type: dynamic()3440 # from: lib/arke/core/parameter.ex:1703441 arke34423443 where "existing_units" (context Arke.System) was given the type:34443445 # type: empty_list()3446 # from: lib/arke/core/parameter.ex:1703447 existing_units = get_existing_units_for_import(project, arke, header, correct_units)34483449 where "header" (context Arke.System) was given the type:34503451 # type: dynamic()3452 # from: lib/arke/core/parameter.ex:1703453 header = parse_header_for_import(template_header, file_header)34543455 where "project" (context Arke.System) was given the type:34563457 # type: dynamic()3458 # from: lib/arke/core/parameter.ex:1703459 project34603461 where "u" (context Arke.System) was given the type:34623463 # type: dynamic()3464 # from: lib/arke/core/parameter.ex:1703465 u34663467 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false34683469 type warning found at:3470 │3471 170 │ use Arke.System3472 │ ~~~~~~~~~~~~~~~3473 │3474 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.import_units/534753476 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3477 │3478 136 │ use Arke.System3479 │ ~~~~~~~~~~~~~~~3480 │3481 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.handle_insert/434823483 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3484 │3485 136 │ use Arke.System3486 │ ~~~~~~~~~~~~~~~3487 │3488 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.import/134893490 warning: comparison between distinct types found:34913492 check_existing_units_for_import(project, arke, header, u, existing_units) == false34933494 given types:34953496 dynamic(true) == false34973498 where "arke" (context Arke.System) was given the type:34993500 # type: dynamic()3501 # from: lib/arke/core/parameter.ex:1363502 arke35033504 where "existing_units" (context Arke.System) was given the type:35053506 # type: empty_list()3507 # from: lib/arke/core/parameter.ex:1363508 existing_units = get_existing_units_for_import(project, arke, header, correct_units)35093510 where "header" (context Arke.System) was given the type:35113512 # type: dynamic()3513 # from: lib/arke/core/parameter.ex:1363514 header = parse_header_for_import(template_header, file_header)35153516 where "project" (context Arke.System) was given the type:35173518 # type: dynamic()3519 # from: lib/arke/core/parameter.ex:1363520 project35213522 where "u" (context Arke.System) was given the type:35233524 # type: dynamic()3525 # from: lib/arke/core/parameter.ex:1363526 u35273528 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false35293530 type warning found at:3531 │3532 136 │ use Arke.System3533 │ ~~~~~~~~~~~~~~~3534 │3535 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.import_units/535363537 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3538 │3539 102 │ use Arke.System3540 │ ~~~~~~~~~~~~~~~3541 │3542 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.handle_insert/435433544 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3545 │3546 102 │ use Arke.System3547 │ ~~~~~~~~~~~~~~~3548 │3549 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.import/135503551 warning: comparison between distinct types found:35523553 check_existing_units_for_import(project, arke, header, u, existing_units) == false35543555 given types:35563557 dynamic(true) == false35583559 where "arke" (context Arke.System) was given the type:35603561 # type: dynamic()3562 # from: lib/arke/core/parameter.ex:1023563 arke35643565 where "existing_units" (context Arke.System) was given the type:35663567 # type: empty_list()3568 # from: lib/arke/core/parameter.ex:1023569 existing_units = get_existing_units_for_import(project, arke, header, correct_units)35703571 where "header" (context Arke.System) was given the type:35723573 # type: dynamic()3574 # from: lib/arke/core/parameter.ex:1023575 header = parse_header_for_import(template_header, file_header)35763577 where "project" (context Arke.System) was given the type:35783579 # type: dynamic()3580 # from: lib/arke/core/parameter.ex:1023581 project35823583 where "u" (context Arke.System) was given the type:35843585 # type: dynamic()3586 # from: lib/arke/core/parameter.ex:1023587 u35883589 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false35903591 type warning found at:3592 │3593 102 │ use Arke.System3594 │ ~~~~~~~~~~~~~~~3595 │3596 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.import_units/535973598 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3599 │3600 21 │ use Arke.System3601 │ ~~~~~~~~~~~~~~~3602 │3603 └─ lib/arke/core/project.ex:21: Arke.Core.Project.handle_insert/436043605 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3606 │3607 21 │ use Arke.System3608 │ ~~~~~~~~~~~~~~~3609 │3610 └─ lib/arke/core/project.ex:21: Arke.Core.Project.import/136113612 warning: comparison between distinct types found:36133614 check_existing_units_for_import(project, arke, header, u, existing_units) == false36153616 given types:36173618 dynamic(true) == false36193620 where "arke" (context Arke.System) was given the type:36213622 # type: dynamic()3623 # from: lib/arke/core/project.ex:213624 arke36253626 where "existing_units" (context Arke.System) was given the type:36273628 # type: empty_list()3629 # from: lib/arke/core/project.ex:213630 existing_units = get_existing_units_for_import(project, arke, header, correct_units)36313632 where "header" (context Arke.System) was given the type:36333634 # type: dynamic()3635 # from: lib/arke/core/project.ex:213636 header = parse_header_for_import(template_header, file_header)36373638 where "project" (context Arke.System) was given the type:36393640 # type: dynamic()3641 # from: lib/arke/core/project.ex:213642 project36433644 where "u" (context Arke.System) was given the type:36453646 # type: dynamic()3647 # from: lib/arke/core/project.ex:213648 u36493650 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false36513652 type warning found at:3653 │3654 21 │ use Arke.System3655 │ ~~~~~~~~~~~~~~~3656 │3657 └─ lib/arke/core/project.ex:21: Arke.Core.Project.import_units/536583659 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3660 │3661 18 │ use Arke.System3662 │ ~~~~~~~~~~~~~~~3663 │3664 └─ lib/arke/core/link.ex:18: Arke.Core.Link.handle_insert/436653666 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3667 │3668 18 │ use Arke.System3669 │ ~~~~~~~~~~~~~~~3670 │3671 └─ lib/arke/core/link.ex:18: Arke.Core.Link.import/136723673 warning: comparison between distinct types found:36743675 check_existing_units_for_import(project, arke, header, u, existing_units) == false36763677 given types:36783679 dynamic(true) == false36803681 where "arke" (context Arke.System) was given the type:36823683 # type: dynamic()3684 # from: lib/arke/core/link.ex:183685 arke36863687 where "existing_units" (context Arke.System) was given the type:36883689 # type: empty_list()3690 # from: lib/arke/core/link.ex:183691 existing_units = get_existing_units_for_import(project, arke, header, correct_units)36923693 where "header" (context Arke.System) was given the type:36943695 # type: dynamic()3696 # from: lib/arke/core/link.ex:183697 header = parse_header_for_import(template_header, file_header)36983699 where "project" (context Arke.System) was given the type:37003701 # type: dynamic()3702 # from: lib/arke/core/link.ex:183703 project37043705 where "u" (context Arke.System) was given the type:37063707 # type: dynamic()3708 # from: lib/arke/core/link.ex:183709 u37103711 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false37123713 type warning found at:3714 │3715 18 │ use Arke.System3716 │ ~~~~~~~~~~~~~~~3717 │3718 └─ lib/arke/core/link.ex:18: Arke.Core.Link.import_units/537193720 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3721 │3722 20 │ use Arke.System3723 │ ~~~~~~~~~~~~~~~3724 │3725 └─ lib/arke/core/group.ex:20: Arke.Core.Group.handle_insert/437263727 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3728 │3729 20 │ use Arke.System3730 │ ~~~~~~~~~~~~~~~3731 │3732 └─ lib/arke/core/group.ex:20: Arke.Core.Group.import/137333734 warning: comparison between distinct types found:37353736 check_existing_units_for_import(project, arke, header, u, existing_units) == false37373738 given types:37393740 dynamic(true) == false37413742 where "arke" (context Arke.System) was given the type:37433744 # type: dynamic()3745 # from: lib/arke/core/group.ex:203746 arke37473748 where "existing_units" (context Arke.System) was given the type:37493750 # type: empty_list()3751 # from: lib/arke/core/group.ex:203752 existing_units = get_existing_units_for_import(project, arke, header, correct_units)37533754 where "header" (context Arke.System) was given the type:37553756 # type: dynamic()3757 # from: lib/arke/core/group.ex:203758 header = parse_header_for_import(template_header, file_header)37593760 where "project" (context Arke.System) was given the type:37613762 # type: dynamic()3763 # from: lib/arke/core/group.ex:203764 project37653766 where "u" (context Arke.System) was given the type:37673768 # type: dynamic()3769 # from: lib/arke/core/group.ex:203770 u37713772 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false37733774 type warning found at:3775 │3776 20 │ use Arke.System3777 │ ~~~~~~~~~~~~~~~3778 │3779 └─ lib/arke/core/group.ex:20: Arke.Core.Group.import_units/537803781 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3782 │3783 20 │ use Arke.System3784 │ ~~~~~~~~~~~~~~~3785 │3786 └─ lib/arke/core/file.ex:20: Arke.Core.File.handle_insert/437873788 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3789 │3790 20 │ use Arke.System3791 │ ~~~~~~~~~~~~~~~3792 │3793 └─ lib/arke/core/file.ex:20: Arke.Core.File.import/137943795 warning: comparison between distinct types found:37963797 check_existing_units_for_import(project, arke, header, u, existing_units) == false37983799 given types:38003801 dynamic(true) == false38023803 where "arke" (context Arke.System) was given the type:38043805 # type: dynamic()3806 # from: lib/arke/core/file.ex:203807 arke38083809 where "existing_units" (context Arke.System) was given the type:38103811 # type: empty_list()3812 # from: lib/arke/core/file.ex:203813 existing_units = get_existing_units_for_import(project, arke, header, correct_units)38143815 where "header" (context Arke.System) was given the type:38163817 # type: dynamic()3818 # from: lib/arke/core/file.ex:203819 header = parse_header_for_import(template_header, file_header)38203821 where "project" (context Arke.System) was given the type:38223823 # type: dynamic()3824 # from: lib/arke/core/file.ex:203825 project38263827 where "u" (context Arke.System) was given the type:38283829 # type: dynamic()3830 # from: lib/arke/core/file.ex:203831 u38323833 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false38343835 type warning found at:3836 │3837 20 │ use Arke.System3838 │ ~~~~~~~~~~~~~~~3839 │3840 └─ lib/arke/core/file.ex:20: Arke.Core.File.import_units/538413842 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3843 │3844 21 │ use Arke.System3845 │ ~~~~~~~~~~~~~~~3846 │3847 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.handle_insert/438483849 warning: Logger.warn/1 is undefined or private. However, there is a macro with the same name and arity. Be sure to require Logger if you intend to invoke this macro3850 │3851 69 │ Logger.warn("error while loading the image: #{msg}")3852 │ ~3853 │3854 └─ lib/arke/core/file.ex:69:16: Arke.Core.File.on_struct_encode/438553856 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3857 │3858 21 │ use Arke.System3859 │ ~~~~~~~~~~~~~~~3860 │3861 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.import/138623863 warning: comparison between distinct types found:38643865 check_existing_units_for_import(project, arke, header, u, existing_units) == false38663867 given types:38683869 dynamic(true) == false38703871 where "arke" (context Arke.System) was given the type:38723873 # type: dynamic()3874 # from: lib/arke/core/arke.ex:213875 arke38763877 where "existing_units" (context Arke.System) was given the type:38783879 # type: empty_list()3880 # from: lib/arke/core/arke.ex:213881 existing_units = get_existing_units_for_import(project, arke, header, correct_units)38823883 where "header" (context Arke.System) was given the type:38843885 # type: dynamic()3886 # from: lib/arke/core/arke.ex:213887 header = parse_header_for_import(template_header, file_header)38883889 where "project" (context Arke.System) was given the type:38903891 # type: dynamic()3892 # from: lib/arke/core/arke.ex:213893 project38943895 where "u" (context Arke.System) was given the type:38963897 # type: dynamic()3898 # from: lib/arke/core/arke.ex:213899 u39003901 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false39023903 type warning found at:3904 │3905 21 │ use Arke.System3906 │ ~~~~~~~~~~~~~~~3907 │3908 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.import_units/539093910 warning: this clause of defp valid_data?/1 is never used (or it will always fail/warn when invoked)3911 │3912 133 │ defp valid_data?(_runtime_data), do: {:error, "invalid data"}3913 │ ~3914 │3915 └─ lib/arke/core/file.ex:133:8: Arke.Core.File.valid_data?/139163917 warning: the following clause is redundant:39183919 def encode(_unit, _format)39203921 it has type:39223923 dynamic(), dynamic()39243925 previous clauses have already matched on the following types:39263927 term(), term()39283929 │3930 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")3931 │ ~3932 │3933 └─ lib/arke/struct_manager.ex:173:7: Arke.StructManager.encode/239343935 warning: this clause of defp handle_filter_group/4 is never used (or it will always fail/warn when invoked)3936 │3937 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query3938 │ ~3939 │3940 └─ lib/arke/query_manager.ex:592:8: Arke.QueryManager.handle_filter_group/439413942 warning: this clause of defp handle_link_parameter/4 is never used (or it will always fail/warn when invoked)3943 │3944 771 │ defp handle_link_parameter(_, nil, _, _), do: nil3945 │ ~3946 │3947 └─ lib/arke/query_manager.ex:771:8: Arke.QueryManager.handle_link_parameter/439483949 warning: module attribute @impl was not set for function handle_call/3 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3950 │3951 17 │ use Arke.Boundary.UnitManager3952 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3953 │3954 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39553956 warning: module attribute @impl was not set for function handle_info/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3957 │3958 17 │ use Arke.Boundary.UnitManager3959 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3960 │3961 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39623963 warning: module attribute @impl was not set for function terminate/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3964 │3965 17 │ use Arke.Boundary.UnitManager3966 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3967 │3968 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39693970 warning: Tuple.append/2 is deprecated. Use insert_at instead3971 │3972 17 │ use Arke.Boundary.UnitManager3973 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3974 │3975 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager.call_nodes_manager/339763977 warning: module attribute @impl was not set for function handle_call/3 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3978 │3979 21 │ use Arke.Boundary.UnitManager3980 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3981 │3982 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39833984 warning: module attribute @impl was not set for function handle_info/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3985 │3986 21 │ use Arke.Boundary.UnitManager3987 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3988 │3989 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39903991 warning: module attribute @impl was not set for function terminate/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback3992 │3993 21 │ use Arke.Boundary.UnitManager3994 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3995 │3996 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39973998 warning: Tuple.append/2 is deprecated. Use insert_at instead3999 │4000 21 │ use Arke.Boundary.UnitManager4001 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4002 │4003 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager.call_nodes_manager/340044005 warning: this clause of defp handle_init_p/3 is never used (or it will always fail/warn when invoked)4006 │4007 134 │ defp handle_init_p(id, nil, metadata) do4008 │ ~4009 │4010 └─ lib/arke/boundary/arke_manager.ex:134:8: Arke.Boundary.ArkeManager.handle_init_p/340114012 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4013 │4014 370 │ use Arke.System4015 │ ~~~~~~~~~~~~~~~4016 │4017 └─ lib/arke/system.ex:370: Arke.System.Arke.handle_insert/440184019 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)4020 │4021 370 │ use Arke.System4022 │ ~~~~~~~~~~~~~~~4023 │4024 └─ lib/arke/system.ex:370: Arke.System.Arke.import/140254026 warning: comparison between distinct types found:40274028 check_existing_units_for_import(project, arke, header, u, existing_units) == false40294030 given types:40314032 dynamic(true) == false40334034 where "arke" (context Arke.System) was given the type:40354036 # type: dynamic()4037 # from: lib/arke/system.ex:3704038 arke40394040 where "existing_units" (context Arke.System) was given the type:40414042 # type: empty_list()4043 # from: lib/arke/system.ex:3704044 existing_units = get_existing_units_for_import(project, arke, header, correct_units)40454046 where "header" (context Arke.System) was given the type:40474048 # type: dynamic()4049 # from: lib/arke/system.ex:3704050 header = parse_header_for_import(template_header, file_header)40514052 where "project" (context Arke.System) was given the type:40534054 # type: dynamic()4055 # from: lib/arke/system.ex:3704056 project40574058 where "u" (context Arke.System) was given the type:40594060 # type: dynamic()4061 # from: lib/arke/system.ex:3704062 u40634064 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false40654066 type warning found at:4067 │4068 370 │ use Arke.System4069 │ ~~~~~~~~~~~~~~~4070 │4071 └─ lib/arke/system.ex:370: Arke.System.Arke.import_units/540724073 warning: module attribute @impl was not set for function handle_call/3 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4074 │4075 17 │ use Arke.Boundary.UnitManager4076 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4077 │4078 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40794080 warning: module attribute @impl was not set for function handle_info/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4081 │4082 17 │ use Arke.Boundary.UnitManager4083 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4084 │4085 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40864087 warning: module attribute @impl was not set for function terminate/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4088 │4089 17 │ use Arke.Boundary.UnitManager4090 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4091 │4092 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40934094 warning: Tuple.append/2 is deprecated. Use insert_at instead4095 │4096 17 │ use Arke.Boundary.UnitManager4097 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4098 │4099 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager.call_nodes_manager/341004101 warning: the following clause is redundant:41024103 def load_parameter_value(%{id: :metadata} = _, data, opts)41044105 it has type:41064107 dynamic(%{..., id: :metadata}), dynamic(), dynamic()41084109 previous clauses have already matched on the following types:41104111 %{..., id: :id}, term(), term()4112 %{..., id: :metadata}, term(), term()41134114 │4115 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data4116 │ ~4117 │4118 └─ lib/arke/core/unit.ex:125:7: Arke.Core.Unit.load_parameter_value/341194120 warning: the following clause is redundant:41214122 defp handle_id(id) when id == nil41234124 it has type:41254126 dynamic(nil)41274128 previous clauses have already matched on the following types:41294130 nil4131 atom()4132 binary()4133 term()41344135 │4136 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()4137 │ ~4138 │4139 └─ lib/arke/core/unit.ex:272:8: Arke.Core.Unit.handle_id/141404141 warning: the following clause is redundant:41424143 defp handle_id(id) when is_atom(id)41444145 it has type:41464147 dynamic(atom())41484149 previous clauses have already matched on the following types:41504151 nil4152 atom()4153 binary()4154 term()41554156 │4157 273 │ defp handle_id(id) when is_atom(id), do: Atom.to_string(id)4158 │ ~4159 │4160 └─ lib/arke/core/unit.ex:273:8: Arke.Core.Unit.handle_id/141614162 warning: the following clause is redundant:41634164 defp handle_id(id) when is_binary(id)41654166 it has type:41674168 binary()41694170 previous clauses have already matched on the following types:41714172 nil4173 atom()4174 binary()4175 term()41764177 │4178 274 │ defp handle_id(id) when is_binary(id), do: id4179 │ ~4180 │4181 └─ lib/arke/core/unit.ex:274:8: Arke.Core.Unit.handle_id/141824183 warning: the following clause is redundant:41844185 defp handle_id(id)41864187 it has type:41884189 dynamic()41904191 previous clauses have already matched on the following types:41924193 nil4194 atom()4195 binary()4196 term()41974198 │4199 276 │ defp handle_id(id), do: id4200 │ ~4201 │4202 └─ lib/arke/core/unit.ex:276:8: Arke.Core.Unit.handle_id/142034204 warning: the following clause is redundant:42054206 def encode_unit_data(arke, data)42074208 it has type:42094210 dynamic(), dynamic()42114212 previous clauses have already matched on the following types:42134214 term(), term()42154216 │4217 278 │ def encode_unit_data(arke, data) do4218 │ ~4219 │4220 └─ lib/arke/core/unit.ex:278:7: Arke.Core.Unit.encode_unit_data/242214222 warning: the following clause is redundant:42234224 defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _)42254226 it has type:42274228 %{..., data: %{..., only_runtime: true}}, dynamic(), dynamic()42294230 previous clauses have already matched on the following types:42314232 %{..., data: %{..., only_runtime: true}}, term(), term()4233 %{..., id: term()}, term(), term()4234 term(), term(), term()42354236 │4237 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data4238 │ ~4239 │4240 └─ lib/arke/core/unit.ex:285:8: Arke.Core.Unit.update_encoded_unit_data/342414242 warning: the following clause is redundant:42434244 defp update_encoded_unit_data(%{id: id}, data, value)42454246 it has type:42474248 dynamic(%{..., id: term()}), dynamic(), dynamic()42494250 previous clauses have already matched on the following types:42514252 %{..., data: %{..., only_runtime: true}}, term(), term()4253 %{..., id: term()}, term(), term()4254 term(), term(), term()42554256 │4257 287 │ defp update_encoded_unit_data(%{id: id}, data, value),4258 │ ~4259 │4260 └─ lib/arke/core/unit.ex:287:8: Arke.Core.Unit.update_encoded_unit_data/342614262 warning: Arke.DatetimeHandler.now/1 is undefined (module Arke.DatetimeHandler is not available or is yet to be defined)4263 │4264 291 │ :datetime => Arke.DatetimeHandler.now(:datetime)4265 │ ~4266 │4267 └─ lib/arke/core/unit.ex:291:43: Arke.Core.Unit.update_encoded_unit_data/342684269 warning: the following clause is redundant:42704271 defp update_encoded_unit_data(_, data, _)42724273 it has type:42744275 dynamic(), dynamic(), dynamic()42764277 previous clauses have already matched on the following types:42784279 %{..., data: %{..., only_runtime: true}}, term(), term()4280 %{..., id: term()}, term(), term()4281 term(), term(), term()42824283 │4284 294 │ defp update_encoded_unit_data(_, data, _), do: data4285 │ ~4286 │4287 └─ lib/arke/core/unit.ex:294:8: Arke.Core.Unit.update_encoded_unit_data/342884289Generated arke app4290==> arke_auth4291Compiling 14 files (.ex)4292 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead4293 │4294 17 │ use Arke.Boundary.UnitManager4295 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4296 │4297 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager.handle_info/242984299 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions4300 │4301 15 │ defmodule ArkeAuth.Boundary.OtpManager do4302 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4303 │4304 └─ lib/arke_auth/boundary/otp_manager.ex:15: ArkeAuth.Boundary.OtpManager (module)43054306 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)4307 │4308 29 │ def on_unit_load(arke, data, _persistence_fn), do: {:ok, data}4309 │ ~~~~4310 │4311 └─ lib/arke_auth/core/member.ex:29:20: ArkeAuth.Core.Member.on_unit_load/343124313 warning: variable "arke_member_public" is unused (if the variable is not meant to be used, prefix it with an underscore)4314 │4315 203 │ arke_member_public =4316 │ ~~~~~~~~~~~~~~~~~~4317 │4318 └─ lib/arke_auth/core/member.ex:203:5: ArkeAuth.Core.Member.handle_get_permission/243194320 warning: function permission_dict/1 is unused4321 │4322 233 │ defp permission_dict(data \\ %{}) do4323 │ ~4324 │4325 └─ lib/arke_auth/core/member.ex:233:8: ArkeAuth.Core.Member (module)43264327 warning: function handle_get_permission/2 is unused4328 │4329 200 │ defp handle_get_permission(member, %{metadata: %{project: project}} = arke) do4330 │ ~4331 │4332 └─ lib/arke_auth/core/member.ex:200:8: ArkeAuth.Core.Member (module)43334334 warning: function get_permission_dict/2 is unused4335 │4336 246 │ defp get_permission_dict(permission_list, is_public \\ false) do4337 │ ~4338 │4339 └─ lib/arke_auth/core/member.ex:246:8: ArkeAuth.Core.Member (module)43404341 warning: function get_parent_list/1 is unused4342 │4343 261 │ defp get_parent_list(nil), do: ["member_public"]4344 │ ~4345 │4346 └─ lib/arke_auth/core/member.ex:261:8: ArkeAuth.Core.Member (module)43474348 warning: unused alias Member4349 │4350 17 │ alias ArkeAuth.Core.Member4351 │ ~4352 │4353 └─ lib/arke_auth/core/member.ex:17:343544355 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead4356 │4357 19 │ use Guardian, otp_app: :arke_auth4358 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4359 │4360 └─ lib/arke_auth/guardian.ex:19: ArkeAuth.Guardian (module)43614362 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead4363 │4364 19 │ use Guardian, otp_app: :arke_auth4365 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4366 │4367 └─ lib/arke_auth/sso_guardian.ex:19: ArkeAuth.SSOGuardian (module)43684369 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4370 │4371 49 │ data = Map.get(user, :data, %{})4372 │ ~4373 │4374 └─ lib/arke_auth/sso_guardian.ex:49:9: ArkeAuth.SSOGuardian.resource_from_claims/143754376 warning: this clause for subject_for_token/2 cannot match because a previous clause at line 24 always matches4377 │4378 33 │ def subject_for_token(_, _) do4379 │ ~4380 │4381 └─ lib/arke_auth/sso_guardian.ex:33:743824383 warning: variable "parent_list" is unused (if the variable is not meant to be used, prefix it with an underscore)4384 │4385 34 │ parent_list = get_parent_list(member)4386 │ ~~~~~~~~~~~4387 │4388 └─ lib/arke_auth/utils/permission.ex:34:5: ArkeAuth.Utils.Permission.get_member_permission/343894390 warning: variable "parent_list" is unused (if the variable is not meant to be used, prefix it with an underscore)4391 │4392 59 │ parent_list = get_parent_list(member)4393 │ ~~~~~~~~~~~4394 │4395 └─ lib/arke_auth/utils/permission.ex:59:5: ArkeAuth.Utils.Permission.get_member_permission/343964397 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4398 │4399 112 │ defp permission_dict(data, %{arke_id: :super_admin} = _member),4400 │ ~~~~4401 │4402 └─ lib/arke_auth/utils/permission.ex:112:24: ArkeAuth.Utils.Permission.permission_dict/244034404 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4405 │4406 115 │ defp permission_dict(data, %{data: %{subscription_active: false}}),4407 │ ~~~~4408 │4409 └─ lib/arke_auth/utils/permission.ex:115:24: ArkeAuth.Utils.Permission.permission_dict/244104411 warning: this clause for subject_for_token/2 cannot match because a previous clause at line 51 always matches4412 │4413 63 │ def subject_for_token(_, _) do4414 │ ~4415 │4416 └─ lib/arke_auth/guardian.ex:63:744174418 warning: default values for the optional arguments in the private function permission_dict/2 are never used4419 │4420 110 │ defp permission_dict(data, member \\ nil)4421 │ ~4422 │4423 └─ lib/arke_auth/utils/permission.ex:110:8: ArkeAuth.Utils.Permission (module)44244425 warning: default values for the optional arguments in the private function get_permission_dict/3 are never used4426 │4427 92 │ defp get_permission_dict(permission_list, member \\ nil, is_public \\ false) do4428 │ ~4429 │4430 └─ lib/arke_auth/utils/permission.ex:92:8: ArkeAuth.Utils.Permission (module)44314432 warning: unused alias Error4433 │4434 19 │ alias Arke.Utils.ErrorGenerator, as: Error4435 │ ~4436 │4437 └─ lib/arke_auth/utils/permission.ex:19:344384439 warning: the following clause is redundant:44404441 def subject_for_token(_, _)44424443 it has type:44444445 dynamic(), dynamic()44464447 previous clauses have already matched on the following types:44484449 term(), term()44504451 │4452 33 │ def subject_for_token(_, _) do4453 │ ~4454 │4455 └─ lib/arke_auth/sso_guardian.ex:33:7: ArkeAuth.SSOGuardian.subject_for_token/244564457 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4458 │4459 23 │ use Arke.System4460 │ ~~~~~~~~~~~~~~~4461 │4462 └─ lib/arke_auth/core/temporary_token.ex:23: ArkeAuth.Core.TemporaryToken.handle_insert/444634464 warning: comparison between distinct types found:44654466 check_existing_units_for_import(project, arke, header, u, existing_units) == false44674468 given types:44694470 dynamic(true) == false44714472 where "arke" (context Arke.System) was given the type:44734474 # type: dynamic()4475 # from: lib/arke_auth/core/temporary_token.ex:234476 arke44774478 where "existing_units" (context Arke.System) was given the type:44794480 # type: empty_list()4481 # from: lib/arke_auth/core/temporary_token.ex:234482 existing_units = get_existing_units_for_import(project, arke, header, correct_units)44834484 where "header" (context Arke.System) was given the type:44854486 # type: dynamic()4487 # from: lib/arke_auth/core/temporary_token.ex:234488 header = parse_header_for_import(template_header, file_header)44894490 where "project" (context Arke.System) was given the type:44914492 # type: dynamic()4493 # from: lib/arke_auth/core/temporary_token.ex:234494 project44954496 where "u" (context Arke.System) was given the type:44974498 # type: dynamic()4499 # from: lib/arke_auth/core/temporary_token.ex:234500 u45014502 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false45034504 type warning found at:4505 │4506 23 │ use Arke.System4507 │ ~~~~~~~~~~~~~~~4508 │4509 └─ lib/arke_auth/core/temporary_token.ex:23: ArkeAuth.Core.TemporaryToken.import_units/545104511 warning: the following clause is redundant:45124513 defp calculate_expiration_datetime(%{days: days, minutes: minutes})45144515 it has type:45164517 dynamic(%{..., days: term(), minutes: term()})45184519 previous clauses have already matched on the following types:45204521 nil4522 %{..., days: term()}4523 %{..., minutes: term()}45244525 │4526 82 │ defp calculate_expiration_datetime(%{days: days, minutes: minutes}),4527 │ ~4528 │4529 └─ lib/arke_auth/core/temporary_token.ex:82:8: ArkeAuth.Core.TemporaryToken.calculate_expiration_datetime/145304531 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4532 │4533 24 │ use Arke.System4534 │ ~~~~~~~~~~~~~~~4535 │4536 └─ lib/arke_auth/core/user.ex:24: ArkeAuth.Core.User.handle_insert/445374538 warning: comparison between distinct types found:45394540 check_existing_units_for_import(project, arke, header, u, existing_units) == false45414542 given types:45434544 dynamic(true) == false45454546 where "arke" (context Arke.System) was given the type:45474548 # type: dynamic()4549 # from: lib/arke_auth/core/user.ex:244550 arke45514552 where "existing_units" (context Arke.System) was given the type:45534554 # type: empty_list()4555 # from: lib/arke_auth/core/user.ex:244556 existing_units = get_existing_units_for_import(project, arke, header, correct_units)45574558 where "header" (context Arke.System) was given the type:45594560 # type: dynamic()4561 # from: lib/arke_auth/core/user.ex:244562 header = parse_header_for_import(template_header, file_header)45634564 where "project" (context Arke.System) was given the type:45654566 # type: dynamic()4567 # from: lib/arke_auth/core/user.ex:244568 project45694570 where "u" (context Arke.System) was given the type:45714572 # type: dynamic()4573 # from: lib/arke_auth/core/user.ex:244574 u45754576 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false45774578 type warning found at:4579 │4580 24 │ use Arke.System4581 │ ~~~~~~~~~~~~~~~4582 │4583 └─ lib/arke_auth/core/user.ex:24: ArkeAuth.Core.User.import_units/545844585 warning: ArkeAuth.Guardian.Plug.current_resource/1 is undefined (module ArkeAuth.Guardian.Plug is not available or is yet to be defined)4586 │4587 30 │ true -> ArkeAuth.Guardian.Plug.current_resource(conn)4588 │ ~4589 │4590 └─ lib/arke_auth/guardian.ex:30:38: ArkeAuth.Guardian.get_member/24591 └─ lib/arke_auth/guardian.ex:37:32: ArkeAuth.Guardian.get_impersonate_resources/145924593 warning: ArkeAuth.Guardian.Plug.current_resource/2 is undefined (module ArkeAuth.Guardian.Plug is not available or is yet to be defined)4594 │4595 35 │ case ArkeAuth.Guardian.Plug.current_resource(conn, key: :impersonate) do4596 │ ~4597 │4598 └─ lib/arke_auth/guardian.ex:35:33: ArkeAuth.Guardian.get_impersonate_resources/145994600 warning: the following clause is redundant:46014602 def subject_for_token(_, _)46034604 it has type:46054606 dynamic(), dynamic()46074608 previous clauses have already matched on the following types:46094610 term(), term()46114612 │4613 63 │ def subject_for_token(_, _) do4614 │ ~4615 │4616 └─ lib/arke_auth/guardian.ex:63:7: ArkeAuth.Guardian.subject_for_token/246174618 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4619 │4620 23 │ use Arke.System4621 │ ~~~~~~~~~~~~~~~4622 │4623 └─ lib/arke_auth/core/otp.ex:23: ArkeAuth.Core.Otp.handle_insert/446244625 warning: comparison between distinct types found:46264627 check_existing_units_for_import(project, arke, header, u, existing_units) == false46284629 given types:46304631 dynamic(true) == false46324633 where "arke" (context Arke.System) was given the type:46344635 # type: dynamic()4636 # from: lib/arke_auth/core/otp.ex:234637 arke46384639 where "existing_units" (context Arke.System) was given the type:46404641 # type: empty_list()4642 # from: lib/arke_auth/core/otp.ex:234643 existing_units = get_existing_units_for_import(project, arke, header, correct_units)46444645 where "header" (context Arke.System) was given the type:46464647 # type: dynamic()4648 # from: lib/arke_auth/core/otp.ex:234649 header = parse_header_for_import(template_header, file_header)46504651 where "project" (context Arke.System) was given the type:46524653 # type: dynamic()4654 # from: lib/arke_auth/core/otp.ex:234655 project46564657 where "u" (context Arke.System) was given the type:46584659 # type: dynamic()4660 # from: lib/arke_auth/core/otp.ex:234661 u46624663 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false46644665 type warning found at:4666 │4667 23 │ use Arke.System4668 │ ~~~~~~~~~~~~~~~4669 │4670 └─ lib/arke_auth/core/otp.ex:23: ArkeAuth.Core.Otp.import_units/546714672 warning: module attribute @impl was not set for function handle_call/3 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4673 │4674 17 │ use Arke.Boundary.UnitManager4675 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4676 │4677 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)46784679 warning: module attribute @impl was not set for function handle_info/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4680 │4681 17 │ use Arke.Boundary.UnitManager4682 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4683 │4684 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)46854686 warning: module attribute @impl was not set for function terminate/2 callback (specified in GenServer). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback4687 │4688 17 │ use Arke.Boundary.UnitManager4689 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4690 │4691 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)46924693 warning: Tuple.append/2 is deprecated. Use insert_at instead4694 │4695 17 │ use Arke.Boundary.UnitManager4696 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4697 │4698 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager.call_nodes_manager/346994700 warning: comparison between distinct types found:47014702 Map.to_list(data) == []47034704 given types:47054706 dynamic(non_empty_list({:child_only or :delete or :filter or :get or :post or :put, term()})) ==4707 empty_list()47084709 where "data" was given the type:47104711 # type: dynamic(%{4712 child_only: term(),4713 delete: term(),4714 filter: term(),4715 get: term(),4716 post: term(),4717 put: term()4718 })4719 # from: lib/arke_auth/core/member.ex:220:104720 data =4721 permission_dict(4722 Map.merge(member_public_permission, member_permission, fn _k, v1, v2 ->4723 if v1 do4724 v14725 else4726 v24727 end4728 end)4729 )47304731 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false47324733 type warning found at:4734 │4735 226 │ if Map.to_list(data) == [] do4736 │ ~4737 │4738 └─ lib/arke_auth/core/member.ex:226:26: ArkeAuth.Core.Member.handle_get_permission/247394740 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4741 │4742 6 │ use Arke.System4743 │ ~~~~~~~~~~~~~~~4744 │4745 └─ lib/arke_auth/core/reset_password_token.ex:6: ArkeAuth.ResetPasswordToken.handle_insert/447464747 warning: comparison between distinct types found:47484749 check_existing_units_for_import(project, arke, header, u, existing_units) == false47504751 given types:47524753 dynamic(true) == false47544755 where "arke" (context Arke.System) was given the type:47564757 # type: dynamic()4758 # from: lib/arke_auth/core/reset_password_token.ex:64759 arke47604761 where "existing_units" (context Arke.System) was given the type:47624763 # type: empty_list()4764 # from: lib/arke_auth/core/reset_password_token.ex:64765 existing_units = get_existing_units_for_import(project, arke, header, correct_units)47664767 where "header" (context Arke.System) was given the type:47684769 # type: dynamic()4770 # from: lib/arke_auth/core/reset_password_token.ex:64771 header = parse_header_for_import(template_header, file_header)47724773 where "project" (context Arke.System) was given the type:47744775 # type: dynamic()4776 # from: lib/arke_auth/core/reset_password_token.ex:64777 project47784779 where "u" (context Arke.System) was given the type:47804781 # type: dynamic()4782 # from: lib/arke_auth/core/reset_password_token.ex:64783 u47844785 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false47864787 type warning found at:4788 │4789 6 │ use Arke.System4790 │ ~~~~~~~~~~~~~~~4791 │4792 └─ lib/arke_auth/core/reset_password_token.ex:6: ArkeAuth.ResetPasswordToken.import_units/547934794Generated arke_auth app4795==> arke_ai4796Compiling 17 files (.ex)4797 error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module4798 │4799 3 │ import Plug.Conn4800 │ ^4801 │4802 └─ lib/arke_ai/mcp/plugs/auth_error_handler.ex:3:3: ArkeAi.Mcp.Plugs.AuthErrorHandler (module)48034804 error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module4805 │4806 3 │ import Plug.Conn4807 │ ^4808 │4809 └─ lib/arke_ai/mcp/plugs/auth.ex:3:3: ArkeAi.Mcp.Plugs.Auth (module)481048114812== Compilation error in file lib/arke_ai/mcp/plugs/auth.ex ==4813** (CompileError) lib/arke_ai/mcp/plugs/auth.ex: cannot compile module ArkeAi.Mcp.Plugs.Auth (errors have been logged)48144815could not compile dependency :arke_ai, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile arke_ai --force", update it with "mix deps.update arke_ai" or clean it with "mix deps.clean arke_ai"