Build log
host
arke_ai 0.2.0 · fail · run arke_ai-0.2.0-1794768255917
4763 of 4763 lines
1Resolving Hex dependencies...2Resolution completed in 0.046s3Unchanged: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-5489424Found packages with security advisories, see above for details25All dependencies have been fetched26==> tablet27Compiling 2 files (.ex)28Generated tablet app29==> nerves_discovery30Compiling 5 files (.ex)31Generated nerves_discovery app32==> interactive_cmd33Compiling 1 file (.ex)34Generated interactive_cmd app35==> nerves36Compiling 65 files (.ex)37Generated nerves app38==> typed_struct39Compiling 2 files (.ex)40Generated typed_struct app41==> mime42Compiling 2 files (.ex)43Generated mime app44==> circular_buffer45Compiling 1 file (.ex)46Generated circular_buffer app47==> nimble_options48Compiling 3 files (.ex)49Generated nimble_options app50==> nerves_compatibility_test51===> Analyzing applications...52===> Compiling erlsom53 ┌─ src/erlsom_sax_latin9.erl:54 │55 1063 │ case catch list_to_integer(Tail1) of56 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.57Compile directive 'nowarn_deprecated_catch' can be used to suppress58warnings in selected modules.596061 ┌─ src/erlsom.erl:62 │63 143 │ case catch erlsom_compile:compile(Xsd, Options) of64 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.65Compile directive 'nowarn_deprecated_catch' can be used to suppress66warnings in selected modules.6768 ┌─ src/erlsom.erl:69 │70 245 │ case catch erlsom_sax:parseDocument(Xml, State,71 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.72Compile directive 'nowarn_deprecated_catch' can be used to suppress73warnings in selected modules.747576 ┌─ src/erlsom_sax_utf8.erl:77 │78 1063 │ case catch list_to_integer(Tail1) of79 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.80Compile directive 'nowarn_deprecated_catch' can be used to suppress81warnings in selected modules.828384 ┌─ src/erlsom_sax_list.erl:85 │86 1063 │ case catch list_to_integer(Tail1) of87 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.88Compile directive 'nowarn_deprecated_catch' can be used to suppress89warnings in selected modules.909192 ┌─ src/erlsom_sax_latin1.erl:93 │94 1063 │ case catch list_to_integer(Tail1) of95 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.96Compile directive 'nowarn_deprecated_catch' can be used to suppress97warnings in selected modules.9899100 ┌─ src/erlsom_sax_utf16be.erl:101 │102 1063 │ case catch list_to_integer(Tail1) of103 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.104Compile directive 'nowarn_deprecated_catch' can be used to suppress105warnings in selected modules.106107108 ┌─ src/erlsom_sax_utf16le.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_compile.erl:117 │118 250 │ case catch transform(ParsedXsd, Acc) of119 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.120Compile directive 'nowarn_deprecated_catch' can be used to suppress121warnings in selected modules.122123 ┌─ src/erlsom_compile.erl:124 │125 254 │ case catch erlsom_pass2:secondPass(IntermediateResult#p1acc.tps,126 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.127Compile directive 'nowarn_deprecated_catch' can be used to suppress128warnings in selected modules.129130131==> jason132Compiling 10 files (.ex)133Generated jason app134==> poison135Compiling 4 files (.ex)136 warning: using single-quoted strings to represent charlists is deprecated.137 Use ~c"" if you indeed want a charlist or use "" instead.138 You may run "mix format --migrate" to change all single-quoted139 strings to use the ~c sigil and fix this warning.140 │141 127 │ for {char, seq} <- Enum.zip('"\\\n\t\r\f\b', '"\\ntrfb') do142 │ ~143 │144 └─ lib/poison/encoder.ex:127:31145146 warning: using single-quoted strings to represent charlists is deprecated.147 Use ~c"" if you indeed want a charlist or use "" instead.148 You may run "mix format --migrate" to change all single-quoted149 strings to use the ~c sigil and fix this warning.150 │151 127 │ for {char, seq} <- Enum.zip('"\\\n\t\r\f\b', '"\\ntrfb') do152 │ ~153 │154 └─ lib/poison/encoder.ex:127:48155156 warning: using single-quoted strings to represent charlists is deprecated.157 Use ~c"" if you indeed want a charlist or use "" instead.158 You may run "mix format --migrate" to change all single-quoted159 strings to use the ~c sigil and fix this warning.160 │161 174 │ when char <= 0x1F or char in '"\\' do162 │ ~163 │164 └─ lib/poison/encoder.ex:174:37165166 warning: using single-quoted strings to represent charlists is deprecated.167 Use ~c"" if you indeed want a charlist or use "" instead.168 You may run "mix format --migrate" to change all single-quoted169 strings to use the ~c sigil and fix this warning.170 │171 94 │ when char in '-0123456789' do172 │ ~173 │174 └─ lib/poison/parser.ex:94:21175176 warning: using single-quoted strings to represent charlists is deprecated.177 Use ~c"" if you indeed want a charlist or use "" instead.178 You may run "mix format --migrate" to change all single-quoted179 strings to use the ~c sigil and fix this warning.180 │181 189 │ when char in '123456789' do182 │ ~183 │184 └─ lib/poison/parser.ex:189:21185186 warning: using single-quoted strings to represent charlists is deprecated.187 Use ~c"" if you indeed want a charlist or use "" instead.188 You may run "mix format --migrate" to change all single-quoted189 strings to use the ~c sigil and fix this warning.190 │191 205 │ defp number_exp(<<e>> <> rest, frac, pos, acc) when e in 'eE' do192 │ ~193 │194 └─ lib/poison/parser.ex:205:60195196 warning: using single-quoted strings to represent charlists is deprecated.197 Use ~c"" if you indeed want a charlist or use "" instead.198 You may run "mix format --migrate" to change all single-quoted199 strings to use the ~c sigil and fix this warning.200 │201 238 │ when char in '0123456789' do202 │ ~203 │204 └─ lib/poison/parser.ex:238:21205206 warning: using single-quoted strings to represent charlists is deprecated.207 Use ~c"" if you indeed want a charlist or use "" instead.208 You may run "mix format --migrate" to change all single-quoted209 strings to use the ~c sigil and fix this warning.210 │211 246 │ defp number_digits_count(<<char>> <> rest, acc) when char in '0123456789' do212 │ ~213 │214 └─ lib/poison/parser.ex:246:64215216 warning: using single-quoted strings to represent charlists is deprecated.217 Use ~c"" if you indeed want a charlist or use "" instead.218 You may run "mix format --migrate" to change all single-quoted219 strings to use the ~c sigil and fix this warning.220 │221 270 │ for {seq, char} <- Enum.zip('"\\ntr/fb', '"\\\n\t\r/\f\b') do222 │ ~223 │224 └─ lib/poison/parser.ex:270:31225226 warning: using single-quoted strings to represent charlists is deprecated.227 Use ~c"" if you indeed want a charlist or use "" instead.228 You may run "mix format --migrate" to change all single-quoted229 strings to use the ~c sigil and fix this warning.230 │231 270 │ for {seq, char} <- Enum.zip('"\\ntr/fb', '"\\\n\t\r/\f\b') do232 │ ~233 │234 └─ lib/poison/parser.ex:270:44235236 warning: using single-quoted strings to represent charlists is deprecated.237 Use ~c"" if you indeed want a charlist or use "" instead.238 You may run "mix format --migrate" to change all single-quoted239 strings to use the ~c sigil and fix this warning.240 │241 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and242 │ ~243 │244 └─ lib/poison/parser.ex:277:24245246 warning: using single-quoted strings to represent charlists is deprecated.247 Use ~c"" if you indeed want a charlist or use "" instead.248 You may run "mix format --migrate" to change all single-quoted249 strings to use the ~c sigil and fix this warning.250 │251 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and252 │ ~253 │254 └─ lib/poison/parser.ex:277:39255256 warning: using single-quoted strings to represent charlists is deprecated.257 Use ~c"" if you indeed want a charlist or use "" instead.258 You may run "mix format --migrate" to change all single-quoted259 strings to use the ~c sigil and fix this warning.260 │261 277 │ when a1 in 'dD' and a2 in 'dD' and b1 in '89abAB' and262 │ ~263 │264 └─ lib/poison/parser.ex:277:54265266 warning: using single-quoted strings to represent charlists is deprecated.267 Use ~c"" if you indeed want a charlist or use "" instead.268 You may run "mix format --migrate" to change all single-quoted269 strings to use the ~c sigil and fix this warning.270 │271 334 │ defp skip_whitespace(<<char>> <> rest, pos) when char in '\s\n\t\r' do272 │ ~273 │274 └─ lib/poison/parser.ex:334:60275276 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead277 │278 42 │ if Application.get_env(:poison, :native) do279 │ ~280 │281 └─ lib/poison/parser.ex:42:18: Poison.Parser (module)282283 warning: use Bitwise is deprecated. import Bitwise instead284 │285 46 │ use Bitwise286 │ ~~~~~~~~~~~287 │288 └─ lib/poison/parser.ex:46: Poison.Parser (module)289290 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 operator291 │292 240 │ <<digits::binary-size(count), rest::binary>> = string293 │ ~294 │295 └─ lib/poison/parser.ex:240:27: Poison.Parser.number_digits/2296297 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 operator298 │299 266 │ <<chunk::binary-size(count), rest::binary>> = string300 │ ~301 │302 └─ lib/poison/parser.ex:266:26: Poison.Parser.string_continue/3303304 warning: use Bitwise is deprecated. import Bitwise instead305 │306 117 │ use Bitwise307 │ ~~~~~~~~~~~308 │309 └─ lib/poison/encoder.ex:117: Poison.Encoder.BitString (module)310311 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 operator312 │313 169 │ <<chunk::binary-size(size), rest::binary>> = string314 │ ~315 │316 └─ lib/poison/encoder.ex:169:26: Poison.Encoder.BitString.escape/2317318Generated poison app319==> logger_backends320Compiling 7 files (.ex)321Generated logger_backends app322==> hpax323Compiling 4 files (.ex)324Generated hpax app325==> mint326Compiling 1 file (.erl)327Compiling 21 files (.ex)328Generated mint app329==> jose330Compiling 113 files (.erl)331Compiling 8 files (.ex)332Generated jose app333==> elixir_make334Compiling 8 files (.ex)335Generated elixir_make app336==> nerves_logging337 CC kmsg_tailer.o338 LD kmsg_tailer339Not crosscompiling. To test locally, the port binary needs extra permissions.340Set SUDO=sudo to set permissions. The default is to skip this step.341SUDO_ASKPASS=/usr/bin/ssh-askpass342SUDO=true343Compiling 5 files (.ex)344Generated nerves_logging app345==> bcrypt_elixir346mkdir -p priv347cc -g -O3 -Wall -Wno-format-truncation -I/usr/local/lib/erlang/erts-17.1.1/include -Ic_src -fPIC -shared c_src/bcrypt_nif.c c_src/blowfish.c -o priv/bcrypt_nif.so348Compiling 3 files (.ex)349 warning: using single-quoted strings to represent charlists is deprecated.350 Use ~c"" if you indeed want a charlist or use "" instead.351 You may run "mix format --migrate" to change all single-quoted352 strings to use the ~c sigil and fix this warning.353 │354 57 │ path = :filename.join(:code.priv_dir(:bcrypt_elixir), 'bcrypt_nif')355 │ ~356 │357 └─ lib/bcrypt/base.ex:57:59358359 warning: use Bitwise is deprecated. import Bitwise instead360 │361 6 │ use Bitwise362 │ ~~~~~~~~~~~363 │364 └─ lib/bcrypt/base.ex:6: Bcrypt.Base (module)365366Generated bcrypt_elixir app367==> comeonin368Compiling 2 files (.ex)369Generated comeonin app370==> xlsxir371Compiling 14 files (.ex)372 warning: using single-quoted strings to represent charlists is deprecated.373 Use ~c"" if you indeed want a charlist or use "" instead.374 You may run "mix format --migrate" to change all single-quoted375 strings to use the ~c sigil and fix this warning.376 │377 502 │ "#{column_from_index(col_index + 1, '')}#{line}"378 │ ~379 │380 └─ lib/xlsxir.ex:502:41381382 warning: using single-quoted strings to represent charlists is deprecated.383 Use ~c"" if you indeed want a charlist or use "" instead.384 You may run "mix format --migrate" to change all single-quoted385 strings to use the ~c sigil and fix this warning.386 │387 20 │ def from_charlist('0'), do: {0, 0, 0}388 │ ~389 │390 └─ lib/xlsxir/convert_datetime.ex:20:21391392 warning: using single-quoted strings to represent charlists is deprecated.393 Use ~c"" if you indeed want a charlist or use "" instead.394 You may run "mix format --migrate" to change all single-quoted395 strings to use the ~c sigil and fix this warning.396 │397 25 │ def sax_event_handler({:startElement,_,'si',_,_}, %__MODULE__{tid: tid, index: index}), do: %__MODULE__{tid: tid, index: index}398 │ ~399 │400 └─ lib/xlsxir/parse_string.ex:25:42401402 warning: using single-quoted strings to represent charlists is deprecated.403 Use ~c"" if you indeed want a charlist or use "" instead.404 You may run "mix format --migrate" to change all single-quoted405 strings to use the ~c sigil and fix this warning.406 │407 27 │ def sax_event_handler({:startElement,_,'family',_,_}, state) do408 │ ~409 │410 └─ lib/xlsxir/parse_string.ex:27:42411412 warning: using single-quoted strings to represent charlists is deprecated.413 Use ~c"" if you indeed want a charlist or use "" instead.414 You may run "mix format --migrate" to change all single-quoted415 strings to use the ~c sigil and fix this warning.416 │417 37 │ def sax_event_handler({:endElement,_,'si',_},418 │ ~419 │420 └─ lib/xlsxir/parse_string.ex:37:40421422 warning: using single-quoted strings to represent charlists is deprecated.423 Use ~c"" if you indeed want a charlist or use "" instead.424 You may run "mix format --migrate" to change all single-quoted425 strings to use the ~c sigil and fix this warning.426 │427 56 │ def sax_event_handler({:startElement, _, 'cellXfs', _, _}, state) do428 │ ~429 │430 └─ lib/xlsxir/parse_style.ex:56:44431432 warning: using single-quoted strings to represent charlists is deprecated.433 Use ~c"" if you indeed want a charlist or use "" instead.434 You may run "mix format --migrate" to change all single-quoted435 strings to use the ~c sigil and fix this warning.436 │437 60 │ def sax_event_handler({:endElement, _, 'cellXfs', _}, state) do438 │ ~439 │440 └─ lib/xlsxir/parse_style.ex:60:42441442 warning: using single-quoted strings to represent charlists is deprecated.443 Use ~c"" if you indeed want a charlist or use "" instead.444 You may run "mix format --migrate" to change all single-quoted445 strings to use the ~c sigil and fix this warning.446 │447 65 │ {:startElement, _, 'xf', _, xml_attr},448 │ ~449 │450 └─ lib/xlsxir/parse_style.ex:65:28451452 warning: using single-quoted strings to represent charlists is deprecated.453 Use ~c"" if you indeed want a charlist or use "" instead.454 You may run "mix format --migrate" to change all single-quoted455 strings to use the ~c sigil and fix this warning.456 │457 72 │ {:attribute, 'numFmtId', _, _, _} -> true458 │ ~459 │460 └─ lib/xlsxir/parse_style.ex:72:26461462 warning: using single-quoted strings to represent charlists is deprecated.463 Use ~c"" if you indeed want a charlist or use "" instead.464 You may run "mix format --migrate" to change all single-quoted465 strings to use the ~c sigil and fix this warning.466 │467 84 │ {:startElement, _, 'numFmt', _, xml_attr},468 │ ~469 │470 └─ lib/xlsxir/parse_style.ex:84:28471472 warning: using single-quoted strings to represent charlists is deprecated.473 Use ~c"" if you indeed want a charlist or use "" instead.474 You may run "mix format --migrate" to change all single-quoted475 strings to use the ~c sigil and fix this warning.476 │477 90 │ {:attribute, 'numFmtId', _, _, id} -> Map.put(acc, :id, id)478 │ ~479 │480 └─ lib/xlsxir/parse_style.ex:90:24481482 warning: using single-quoted strings to represent charlists is deprecated.483 Use ~c"" if you indeed want a charlist or use "" instead.484 You may run "mix format --migrate" to change all single-quoted485 strings to use the ~c sigil and fix this warning.486 │487 91 │ {:attribute, 'formatCode', _, _, cd} -> Map.put(acc, :cd, cd)488 │ ~489 │490 └─ lib/xlsxir/parse_style.ex:91:24491492 warning: using single-quoted strings to represent charlists is deprecated.493 Use ~c"" if you indeed want a charlist or use "" instead.494 You may run "mix format --migrate" to change all single-quoted495 strings to use the ~c sigil and fix this warning.496 │497 109 │ i when i in @date -> :ets.insert(tid, {index + acc, 'd'})498 │ ~499 │500 └─ lib/xlsxir/parse_style.ex:109:63501502 warning: using single-quoted strings to represent charlists is deprecated.503 Use ~c"" if you indeed want a charlist or use "" instead.504 You may run "mix format --migrate" to change all single-quoted505 strings to use the ~c sigil and fix this warning.506 │507 126 │ String.match?(to_string(v), ~r/[dhmsy]/i) -> Map.put_new(acc, k, 'd')508 │ ~509 │510 └─ lib/xlsxir/parse_style.ex:126:74511512 warning: using single-quoted strings to represent charlists is deprecated.513 Use ~c"" if you indeed want a charlist or use "" instead.514 You may run "mix format --migrate" to change all single-quoted515 strings to use the ~c sigil and fix this warning.516 │517 15 │ def sax_event_handler({:startElement, _, 'sheet', _, xml_attrs}, state) do518 │ ~519 │520 └─ lib/xlsxir/parse_workbook.ex:15:44521522 warning: using single-quoted strings to represent charlists is deprecated.523 Use ~c"" if you indeed want a charlist or use "" instead.524 You may run "mix format --migrate" to change all single-quoted525 strings to use the ~c sigil and fix this warning.526 │527 19 │ {:attribute, 'name', _, _, name} ->528 │ ~529 │530 └─ lib/xlsxir/parse_workbook.ex:19:24531532 warning: using single-quoted strings to represent charlists is deprecated.533 Use ~c"" if you indeed want a charlist or use "" instead.534 You may run "mix format --migrate" to change all single-quoted535 strings to use the ~c sigil and fix this warning.536 │537 22 │ {:attribute, 'sheetId', _, _, sheet_id} ->538 │ ~539 │540 └─ lib/xlsxir/parse_workbook.ex:22:24541542 warning: using single-quoted strings to represent charlists is deprecated.543 Use ~c"" if you indeed want a charlist or use "" instead.544 You may run "mix format --migrate" to change all single-quoted545 strings to use the ~c sigil and fix this warning.546 │547 26 │ {:attribute, 'id', _, _, rid} ->548 │ ~549 │550 └─ lib/xlsxir/parse_workbook.ex:26:24551552 warning: using single-quoted strings to represent charlists is deprecated.553 Use ~c"" if you indeed want a charlist or use "" instead.554 You may run "mix format --migrate" to change all single-quoted555 strings to use the ~c sigil and fix this warning.556 │557 58 │ {:startElement, _, 'row', _, _},558 │ ~559 │560 └─ lib/xlsxir/parse_worksheet.ex:58:28561562 warning: using single-quoted strings to represent charlists is deprecated.563 Use ~c"" if you indeed want a charlist or use "" instead.564 You may run "mix format --migrate" to change all single-quoted565 strings to use the ~c sigil and fix this warning.566 │567 66 │ def sax_event_handler({:startElement, _, 'c', _, xml_attr}, state, %{styles: styles_tid}, _) do568 │ ~569 │570 └─ lib/xlsxir/parse_worksheet.ex:66:44571572 warning: using single-quoted strings to represent charlists is deprecated.573 Use ~c"" if you indeed want a charlist or use "" instead.574 You may run "mix format --migrate" to change all single-quoted575 strings to use the ~c sigil and fix this warning.576 │577 70 │ {:attribute, 'r', _, _, ref} -> {:r, ref}578 │ ~579 │580 └─ lib/xlsxir/parse_worksheet.ex:70:24581582 warning: using single-quoted strings to represent charlists is deprecated.583 Use ~c"" if you indeed want a charlist or use "" instead.584 You may run "mix format --migrate" to change all single-quoted585 strings to use the ~c sigil and fix this warning.586 │587 71 │ {:attribute, 's', _, _, style} -> {:s, find_styles(styles_tid, List.to_integer(style))}588 │ ~589 │590 └─ lib/xlsxir/parse_worksheet.ex:71:24591592 warning: using single-quoted strings to represent charlists is deprecated.593 Use ~c"" if you indeed want a charlist or use "" instead.594 You may run "mix format --migrate" to change all single-quoted595 strings to use the ~c sigil and fix this warning.596 │597 72 │ {:attribute, 't', _, _, type} -> {:t, type}598 │ ~599 │600 └─ lib/xlsxir/parse_worksheet.ex:72:24601602 warning: using single-quoted strings to represent charlists is deprecated.603 Use ~c"" if you indeed want a charlist or use "" instead.604 You may run "mix format --migrate" to change all single-quoted605 strings to use the ~c sigil and fix this warning.606 │607 89 │ def sax_event_handler({:startElement, _, 'f', _, _}, state, _, _) do608 │ ~609 │610 └─ lib/xlsxir/parse_worksheet.ex:89:44611612 warning: using single-quoted strings to represent charlists is deprecated.613 Use ~c"" if you indeed want a charlist or use "" instead.614 You may run "mix format --migrate" to change all single-quoted615 strings to use the ~c sigil and fix this warning.616 │617 93 │ def sax_event_handler({:startElement, _, 'v', _, _}, state, _, _) do618 │ ~619 │620 └─ lib/xlsxir/parse_worksheet.ex:93:44621622 warning: using single-quoted strings to represent charlists is deprecated.623 Use ~c"" if you indeed want a charlist or use "" instead.624 You may run "mix format --migrate" to change all single-quoted625 strings to use the ~c sigil and fix this warning.626 │627 105 │ def sax_event_handler({:endElement, _, 'c', _}, %__MODULE__{row: row} = state, excel, _) do628 │ ~629 │630 └─ lib/xlsxir/parse_worksheet.ex:105:42631632 warning: using single-quoted strings to represent charlists is deprecated.633 Use ~c"" if you indeed want a charlist or use "" instead.634 You may run "mix format --migrate" to change all single-quoted635 strings to use the ~c sigil and fix this warning.636 │637 120 │ {:endElement, _, 'row', _},638 │ ~639 │640 └─ lib/xlsxir/parse_worksheet.ex:120:26641642 warning: using single-quoted strings to represent charlists is deprecated.643 Use ~c"" if you indeed want a charlist or use "" instead.644 You may run "mix format --migrate" to change all single-quoted645 strings to use the ~c sigil and fix this warning.646 │647 146 │ ['e', _, e] -> List.to_string(e)648 │ ~649 │650 └─ lib/xlsxir/parse_worksheet.ex:146:8651652 warning: using single-quoted strings to represent charlists is deprecated.653 Use ~c"" if you indeed want a charlist or use "" instead.654 You may run "mix format --migrate" to change all single-quoted655 strings to use the ~c sigil and fix this warning.656 │657 148 │ ['s', _, i] -> find_string(strings_tid, List.to_integer(i))658 │ ~659 │660 └─ lib/xlsxir/parse_worksheet.ex:148:8661662 warning: using single-quoted strings to represent charlists is deprecated.663 Use ~c"" if you indeed want a charlist or use "" instead.664 You may run "mix format --migrate" to change all single-quoted665 strings to use the ~c sigil and fix this warning.666 │667 151 │ ['n', nil, n] -> convert_char_number(n)668 │ ~669 │670 └─ lib/xlsxir/parse_worksheet.ex:151:8671672 warning: using single-quoted strings to represent charlists is deprecated.673 Use ~c"" if you indeed want a charlist or use "" instead.674 You may run "mix format --migrate" to change all single-quoted675 strings to use the ~c sigil and fix this warning.676 │677 153 │ [nil, 'd', d] -> convert_date_or_time(d)678 │ ~679 │680 └─ lib/xlsxir/parse_worksheet.ex:153:13681682 warning: using single-quoted strings to represent charlists is deprecated.683 Use ~c"" if you indeed want a charlist or use "" instead.684 You may run "mix format --migrate" to change all single-quoted685 strings to use the ~c sigil and fix this warning.686 │687 154 │ ['n', 'd', d] -> convert_date_or_time(d)688 │ ~689 │690 └─ lib/xlsxir/parse_worksheet.ex:154:8691692 warning: using single-quoted strings to represent charlists is deprecated.693 Use ~c"" if you indeed want a charlist or use "" instead.694 You may run "mix format --migrate" to change all single-quoted695 strings to use the ~c sigil and fix this warning.696 │697 154 │ ['n', 'd', d] -> convert_date_or_time(d)698 │ ~699 │700 └─ lib/xlsxir/parse_worksheet.ex:154:13701702 warning: using single-quoted strings to represent charlists is deprecated.703 Use ~c"" if you indeed want a charlist or use "" instead.704 You may run "mix format --migrate" to change all single-quoted705 strings to use the ~c sigil and fix this warning.706 │707 155 │ ['d', 'd', d] -> convert_iso_date(d)708 │ ~709 │710 └─ lib/xlsxir/parse_worksheet.ex:155:8711712 warning: using single-quoted strings to represent charlists is deprecated.713 Use ~c"" if you indeed want a charlist or use "" instead.714 You may run "mix format --migrate" to change all single-quoted715 strings to use the ~c sigil and fix this warning.716 │717 155 │ ['d', 'd', d] -> convert_iso_date(d)718 │ ~719 │720 └─ lib/xlsxir/parse_worksheet.ex:155:13721722 warning: using single-quoted strings to represent charlists is deprecated.723 Use ~c"" if you indeed want a charlist or use "" instead.724 You may run "mix format --migrate" to change all single-quoted725 strings to use the ~c sigil and fix this warning.726 │727 157 │ ['str', _, s] -> List.to_string(s)728 │ ~729 │730 └─ lib/xlsxir/parse_worksheet.ex:157:8731732 warning: using single-quoted strings to represent charlists is deprecated.733 Use ~c"" if you indeed want a charlist or use "" instead.734 You may run "mix format --migrate" to change all single-quoted735 strings to use the ~c sigil and fix this warning.736 │737 159 │ ['b', _, s] -> s == '1'738 │ ~739 │740 └─ lib/xlsxir/parse_worksheet.ex:159:8741742 warning: using single-quoted strings to represent charlists is deprecated.743 Use ~c"" if you indeed want a charlist or use "" instead.744 You may run "mix format --migrate" to change all single-quoted745 strings to use the ~c sigil and fix this warning.746 │747 159 │ ['b', _, s] -> s == '1'748 │ ~749 │750 └─ lib/xlsxir/parse_worksheet.ex:159:27751752 warning: using single-quoted strings to represent charlists is deprecated.753 Use ~c"" if you indeed want a charlist or use "" instead.754 You may run "mix format --migrate" to change all single-quoted755 strings to use the ~c sigil and fix this warning.756 │757 161 │ ['inlineStr', _, s] -> List.to_string(s)758 │ ~759 │760 └─ lib/xlsxir/parse_worksheet.ex:161:8761762 warning: using single-quoted strings to represent charlists is deprecated.763 Use ~c"" if you indeed want a charlist or use "" instead.764 You may run "mix format --migrate" to change all single-quoted765 strings to use the ~c sigil and fix this warning.766 │767 37 │ def sax_event_handler({:endElement, _, 'row', _}, state, _excel) do768 │ ~769 │770 └─ lib/xlsxir/stream_worksheet.ex:37:42771772 warning: using single-quoted strings to represent charlists is deprecated.773 Use ~c"" if you indeed want a charlist or use "" instead.774 You may run "mix format --migrate" to change all single-quoted775 strings to use the ~c sigil and fix this warning.776 │777 104 │ sheet = 'xl/worksheets/sheet#{index + 1}.xml'778 │ ~779 │780 └─ lib/xlsxir/unzip.ex:104:15781782 warning: using single-quoted strings to represent charlists is deprecated.783 Use ~c"" if you indeed want a charlist or use "" instead.784 You may run "mix format --migrate" to change all single-quoted785 strings to use the ~c sigil and fix this warning.786 │787 218 │ |> Enum.map(fn worksheet_index -> 'xl/worksheets/sheet#{worksheet_index + 1}.xml' end)788 │ ~789 │790 └─ lib/xlsxir/xlsx_file.ex:218:39791792 warning: using single-quoted strings to represent charlists is deprecated.793 Use ~c"" if you indeed want a charlist or use "" instead.794 You may run "mix format --migrate" to change all single-quoted795 strings to use the ~c sigil and fix this warning.796 │797 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])798 │ ~799 │800 └─ lib/xlsxir/xlsx_file.ex:219:21801802 warning: using single-quoted strings to represent charlists is deprecated.803 Use ~c"" if you indeed want a charlist or use "" instead.804 You may run "mix format --migrate" to change all single-quoted805 strings to use the ~c sigil and fix this warning.806 │807 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])808 │ ~809 │810 └─ lib/xlsxir/xlsx_file.ex:219:38811812 warning: using single-quoted strings to represent charlists is deprecated.813 Use ~c"" if you indeed want a charlist or use "" instead.814 You may run "mix format --migrate" to change all single-quoted815 strings to use the ~c sigil and fix this warning.816 │817 219 │ |> Enum.concat(['xl/styles.xml', 'xl/sharedStrings.xml', 'xl/workbook.xml'])818 │ ~819 │820 └─ lib/xlsxir/xlsx_file.ex:219:62821822 warning: unused require Logger823 │824 4 │ require Logger825 │ ~826 │827 └─ lib/xlsxir/parse_worksheet.ex:4:3828829 warning: unused require Logger830 │831 17 │ require Logger832 │ ~833 │834 └─ lib/xlsxir/sax_parser.ex:17:3835836 warning: a struct for Xlsxir.ParseWorkbook is expected on struct update:837838 %Xlsxir.ParseWorkbook{state | sheets: [sheet | state.sheets]}839840 but got type:841842 dynamic()843844 where "state" was given the type:845846 # type: dynamic()847 # from: lib/xlsxir/parse_workbook.ex:15:68848 state849850 when defining the variable "state", you must also pattern match on "%Xlsxir.ParseWorkbook{}"851852 type warning found at:853 │854 36 │ %__MODULE__{state | sheets: [sheet | state.sheets]}855 │ ~856 │857 └─ lib/xlsxir/parse_workbook.ex:36:5: Xlsxir.ParseWorkbook.sax_event_handler/2858859 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead860 │861 10 │ worker(Xlsxir.StateManager, [])862 │ ~863 │864 └─ lib/xlsxir.ex:10:7: Xlsxir.start/2865866Generated xlsxir app867==> ring_logger868Compiling 7 files (.ex)869Generated ring_logger app870==> nerves_compatibility_test871===> Analyzing applications...872===> Compiling telemetry873==> libcluster874Compiling 15 files (.ex)875Generated libcluster app876warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"877 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2878 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1879 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5880 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2881 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4882 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2883884==> guardian885Compiling 25 files (.ex)886 warning: use Bitwise is deprecated. import Bitwise instead887 │888 7 │ use Bitwise889 │ ~~~~~~~~~~~890 │891 └─ lib/guardian/permissions/atom_encoding.ex:7: Guardian.Permissions.AtomEncoding (module)892893 warning: use Bitwise is deprecated. import Bitwise instead894 │895 7 │ use Bitwise896 │ ~~~~~~~~~~~897 │898 └─ lib/guardian/permissions/bitwise_encoding.ex:7: Guardian.Permissions.BitwiseEncoding (module)899900 warning: use Bitwise is deprecated. import Bitwise instead901 │902 7 │ use Bitwise903 │ ~~~~~~~~~~~904 │905 └─ lib/guardian/permissions/text_encoding.ex:7: Guardian.Permissions.TextEncoding (module)906907 warning: Guardian.Plug.current_claims/2 is undefined (module Guardian.Plug is not available or is yet to be defined)908 │909 31 │ claims: Guardian.Plug.current_claims(conn, opts),910 │ ~911 │912 └─ lib/guardian/permissions/plug.ex:31:29: Guardian.Permissions.Plug.call/2913914 warning: Guardian.Plug.Pipeline.fetch_error_handler!/2 is undefined (module Guardian.Plug.Pipeline is not available or is yet to be defined)915 │916 33 │ handler: Pipeline.fetch_error_handler!(conn, opts),917 │ ~918 │919 └─ lib/guardian/permissions/plug.ex:33:25: Guardian.Permissions.Plug.call/2920921 warning: Guardian.Plug.Pipeline.fetch_module!/2 is undefined (module Guardian.Plug.Pipeline is not available or is yet to be defined)922 │923 34 │ impl: Pipeline.fetch_module!(conn, opts),924 │ ~925 │926 └─ lib/guardian/permissions/plug.ex:34:22: Guardian.Permissions.Plug.call/2927928Generated guardian app929==> uboot_env930Compiling 5 files (.ex)931Generated uboot_env app932==> nimble_pool933Compiling 2 files (.ex)934Generated nimble_pool app935==> finch936Compiling 23 files (.ex)937Generated finch app938==> goth939Compiling 7 files (.ex)940 warning: the following clause is redundant:941942 def refresh!(%Goth.Token{account: account, scope: scope})943944 it has type:945946 dynamic(%Goth.Token{})947948 previous clauses have already matched on the following types:949950 %Goth.Token{}951952 │953 625 │ def refresh!(%__MODULE__{account: account, scope: scope}), do: refresh!({account, scope})954 │ ~955 │956 └─ lib/goth/token.ex:625:7: Goth.Token.refresh!/1957958Generated goth app959==> tesla960Compiling 58 files (.ex)961Generated tesla app962==> google_gax963Compiling 5 files (.ex)964 warning: incompatible types given to Tesla.Multipart.add_field/4:965966 Tesla.Multipart.add_field(967 body,968 :metadata,969 Poison.encode!(meta), headers: ["Content-Type": "application/json"])970971 given types:972973 (974 dynamic(%Tesla.Multipart{parts: empty_list(), content_type_params: empty_list()}),975 -:metadata-,976 dynamic(),977 non_empty_list({:headers, non_empty_list({:"Content-Type", binary()})})978 )979980 but expected one of:981982 (983 %Tesla.Multipart{parts: list(term())},984 binary(),985 %{..., __struct__: File.Stream or IO.Stream or Range or Stream} or binary() or empty_list() or986 fun() or non_empty_list(term(), term()),987 empty_list() or non_empty_list(term(), term())988 )989990 where "body" was given the type:991992 # type: dynamic(%Tesla.Multipart{parts: empty_list(), content_type_params: empty_list()})993 # from: lib/google_api/gax/connection.ex:177:10994 body = Tesla.Multipart.new()995996 where "meta" was given the type:997998 # type: dynamic(not nil)999 # from: lib/google_api/gax/connection.ex:181:171000 meta10011002 type warning found at:1003 │1004 183 │ _ -> Tesla.Multipart.add_field(1005 │ ~1006 │1007 └─ lib/google_api/gax/connection.ex:183:30: GoogleApi.Gax.Connection.build_body/310081009Generated google_gax app1010==> google_api_storage1011Compiling 54 files (.ex)1012warning: `use Tesla.Builder` and `use Tesla` in GoogleApi.Storage.V1.Connection are soft-deprecated. It will be removed in future major version in favor of1013Runtime Configuration instead. Please share your feedback at https://github.com/elixir-tesla/tesla/discussions/73210141015If you can turn off this warning, add the following to your config.exs:10161017```elixir1018config :tesla, disable_deprecated_builder_warning: true1019```10201021 (tesla 1.23.0) lib/tesla/builder.ex:12: Tesla.Builder."MACRO-__using__"/21022 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/71023 (elixir 1.20.3) src/elixir_dispatch.erl:155: :elixir_dispatch.dispatch_require/71024 (elixir 1.20.3) src/elixir_expand.erl:670: :elixir_expand.expand_block/51025 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/31026 (elixir 1.20.3) src/elixir_dispatch.erl:277: :elixir_dispatch.expand_quoted/710271028Generated google_api_storage app1029==> property_table1030Compiling 8 files (.ex)1031Generated property_table app1032==> nerves_uevent1033 CC uevent.o1034 LD uevent1035Not crosscompiling. To test locally, the port binary needs extra permissions.1036Set SUDO=sudo to set permissions. The default is to skip this step.1037SUDO_ASKPASS=/usr/bin/ssh-askpass1038SUDO=true1039Compiling 5 files (.ex)1040Generated nerves_uevent app1041==> nerves_runtime1042Compiling 14 files (.ex)1043Generated nerves_runtime app1044==> toolshed1045Compiling 5 files (.ex)1046Generated toolshed app1047==> uuid1048Compiling 1 file (.ex)1049 warning: use Bitwise is deprecated. import Bitwise instead1050 │1051 2 │ use Bitwise, only_operators: true1052 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1053 │1054 └─ lib/uuid.ex:2: UUID (module)10551056Generated uuid app1057==> arke1058Compiling 37 files (.ex)1059 warning: function random_string/0 is unused1060 │1061 48 │ defp random_string() do1062 │ ~1063 │1064 └─ lib/arke/application.ex:48:8: Arke.Application (module)10651066 warning: function postfix/0 is unused1067 │1068 44 │ defp postfix() do1069 │ ~1070 │1071 └─ lib/arke/application.ex:44:8: Arke.Application (module)10721073 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1074 │1075 15 │ defmodule Arke.Boundary.FileManager do1076 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1077 │1078 └─ lib/arke/boundary/file_manager.ex:15: Arke.Boundary.FileManager (module)10791080 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1081 │1082 17 │ use Arke.Boundary.UnitManager1083 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1084 │1085 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager.handle_info/210861087 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1088 │1089 15 │ defmodule Arke.Boundary.ParameterManager do1090 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1091 │1092 └─ lib/arke/boundary/parameter_manager.ex:15: Arke.Boundary.ParameterManager (module)10931094 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1095 │1096 17 │ use Arke.Boundary.UnitManager1097 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1098 │1099 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager.handle_info/211001101 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1102 │1103 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1104 │ ~~~~1105 │1106 └─ lib/arke/boundary/group_manager.ex:27:37: Arke.Boundary.GroupManager.before_create/211071108 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1109 │1110 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1111 │ ~~1112 │1113 └─ lib/arke/boundary/group_manager.ex:27:27: Arke.Boundary.GroupManager.before_create/211141115 warning: variable "unit_metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1116 │1117 27 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1118 │ ~~~~~~~~~~~~~1119 │1120 └─ lib/arke/boundary/group_manager.ex:27:53: Arke.Boundary.GroupManager.before_create/211211122 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1123 │1124 36 │ {:error, msg} -> new_arke_list1125 │ ~1126 │1127 └─ lib/arke/boundary/group_manager.ex:36:18: Arke.Boundary.GroupManager.get_arke_list/111281129 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1130 │1131 32 │ def get_arke_list(%{data: data, metadata: %{project: project}} = unit) do1132 │ ~~~~1133 │1134 └─ lib/arke/boundary/group_manager.ex:32:68: Arke.Boundary.GroupManager.get_arke_list/111351136 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1137 │1138 46 │ def get_arke(%{id: id} = unit, project, arke_id),1139 │ ~~~~1140 │1141 └─ lib/arke/boundary/group_manager.ex:46:28: Arke.Boundary.GroupManager.get_arke/311421143 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1144 │1145 49 │ def get_arke(%{id: id, metadata: %{project: project}} = unit, arke_id),1146 │ ~~~~1147 │1148 └─ lib/arke/boundary/group_manager.ex:49:59: Arke.Boundary.GroupManager.get_arke/211491150 warning: clauses with the same name should be grouped together, "def get_arke/3" was previously defined (lib/arke/boundary/group_manager.ex:46)1151 │1152 52 │ def get_arke(unit_id, project, arke_id) when is_binary(arke_id),1153 │ ~1154 │1155 └─ lib/arke/boundary/group_manager.ex:52:711561157 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1158 │1159 66 │ else: ({:error, msg} -> nil)1160 │ ~1161 │1162 └─ lib/arke/boundary/group_manager.ex:66:25: Arke.Boundary.GroupManager.get_arke/311631164 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1165 │1166 70 │ def get_arke(unit_id, project, %Unit{} = parameter), do: parameter1167 │ ~~~~~~~1168 │1169 └─ lib/arke/boundary/group_manager.ex:70:25: Arke.Boundary.GroupManager.get_arke/311701171 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1172 │1173 70 │ def get_arke(unit_id, project, %Unit{} = parameter), do: parameter1174 │ ~~~~~~~1175 │1176 └─ lib/arke/boundary/group_manager.ex:70:16: Arke.Boundary.GroupManager.get_arke/311771178 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1179 │1180 72 │ def get_groups_by_arke(%{id: id, metadata: %{project: project}} = arke),1181 │ ~~~~1182 │1183 └─ lib/arke/boundary/group_manager.ex:72:69: Arke.Boundary.GroupManager.get_groups_by_arke/111841185 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1186 │1187 89 │ def get_parameters(%{id: id, metadata: %{project: project}} = group) do1188 │ ~~1189 │1190 └─ lib/arke/boundary/group_manager.ex:89:28: Arke.Boundary.GroupManager.get_parameters/111911192 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1193 │1194 90 │ parameters =1195 │ ~~~~~~~~~~1196 │1197 └─ lib/arke/boundary/group_manager.ex:90:5: Arke.Boundary.GroupManager.get_parameters/111981199 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1200 │1201 119 │ {:error, msg} -> %{id: child_id, metadata: metadata}1202 │ ~1203 │1204 └─ lib/arke/boundary/group_manager.ex:119:16: Arke.Boundary.GroupManager.link_init/412051206 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead1207 │1208 21 │ use Arke.Boundary.UnitManager1209 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1210 │1211 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager.handle_info/212121213 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1214 │1215 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1216 │ ~~~~1217 │1218 └─ lib/arke/boundary/arke_manager.ex:26:37: Arke.Boundary.ArkeManager.before_create/212191220 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1221 │1222 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1223 │ ~~1224 │1225 └─ lib/arke/boundary/arke_manager.ex:26:27: Arke.Boundary.ArkeManager.before_create/212261227 warning: variable "unit_metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1228 │1229 26 │ def before_create(%{id: id, data: data, metadata: unit_metadata} = unit, project) do1230 │ ~~~~~~~~~~~~~1231 │1232 └─ lib/arke/boundary/arke_manager.ex:26:53: Arke.Boundary.ArkeManager.before_create/212331234 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1235 │1236 40 │ {:error, msg} -> new_parameters1237 │ ~1238 │1239 └─ lib/arke/boundary/arke_manager.ex:40:18: Arke.Boundary.ArkeManager.get_parameters/112401241 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1242 │1243 32 │ def get_parameters(%{data: data, metadata: %{project: project}} = unit) do1244 │ ~~~~1245 │1246 └─ lib/arke/boundary/arke_manager.ex:32:69: Arke.Boundary.ArkeManager.get_parameters/112471248 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1249 │1250 46 │ def get_parameter(%{id: id} = unit, project, parameter_id),1251 │ ~~~~1252 │1253 └─ lib/arke/boundary/arke_manager.ex:46:33: Arke.Boundary.ArkeManager.get_parameter/312541255 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1256 │1257 49 │ def get_parameter(%{id: id, metadata: %{project: project}} = unit, parameter_id),1258 │ ~~~~1259 │1260 └─ lib/arke/boundary/arke_manager.ex:49:64: Arke.Boundary.ArkeManager.get_parameter/212611262 warning: clauses with the same name should be grouped together, "def get_parameter/3" was previously defined (lib/arke/boundary/arke_manager.ex:46)1263 │1264 52 │ def get_parameter(unit_id, project, parameter_id) when is_binary(parameter_id),1265 │ ~1266 │1267 └─ lib/arke/boundary/arke_manager.ex:52:712681269 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1270 │1271 57 │ {:error, msg} ->1272 │ ~1273 │1274 └─ lib/arke/boundary/arke_manager.ex:57:16: Arke.Boundary.ArkeManager.get_parameter/312751276 warning: variable "msg" is unused (if the variable is not meant to be used, prefix it with an underscore)1277 │1278 67 │ else: ({:error, msg} -> nil)1279 │ ~1280 │1281 └─ lib/arke/boundary/arke_manager.ex:67:30: Arke.Boundary.ArkeManager.get_parameter/312821283 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1284 │1285 60 │ %{id: id, data: data} ->1286 │ ~1287 │1288 └─ lib/arke/boundary/arke_manager.ex:60:13: Arke.Boundary.ArkeManager.get_parameter/312891290 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1291 │1292 72 │ def get_parameter(unit_id, project, %Unit{} = parameter), do: parameter1293 │ ~~~~~~~1294 │1295 └─ lib/arke/boundary/arke_manager.ex:72:30: Arke.Boundary.ArkeManager.get_parameter/312961297 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1298 │1299 72 │ def get_parameter(unit_id, project, %Unit{} = parameter), do: parameter1300 │ ~~~~~~~1301 │1302 └─ lib/arke/boundary/arke_manager.ex:72:21: Arke.Boundary.ArkeManager.get_parameter/313031304 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1305 │1306 85 │ %{id: id, data: data} = arke ->1307 │ ~1308 │1309 └─ lib/arke/boundary/arke_manager.ex:85:13: Arke.Boundary.ArkeManager.update_parameter/413101311 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1312 │1313 103 │ defp init_parameter(project, id, metadata, p) do1314 │ ~~~~~~~1315 │1316 └─ lib/arke/boundary/arke_manager.ex:103:23: Arke.Boundary.ArkeManager.init_parameter/413171318 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)1319 │1320 130 │ parameter = handle_init_p(id, parameter, metadata)1321 │ ~1322 │1323 └─ lib/arke/boundary/arke_manager.ex:130:9: Arke.Boundary.ArkeManager.init_parameter/313241325 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1326 │1327 134 │ defp handle_init_p(id, nil, metadata) do1328 │ ~~1329 │1330 └─ lib/arke/boundary/arke_manager.ex:134:22: Arke.Boundary.ArkeManager.handle_init_p/313311332 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1333 │1334 134 │ defp handle_init_p(id, nil, metadata) do1335 │ ~~~~~~~~1336 │1337 └─ lib/arke/boundary/arke_manager.ex:134:31: Arke.Boundary.ArkeManager.handle_init_p/313381339 warning: variable "pdata" is unused (if the variable is not meant to be used, prefix it with an underscore)1340 │1341 139 │ Map.update(parameter,:data, %{},fn v -> Map.merge(v,override_data, fn _k, pdata,ovdata -> ovdata end) end)1342 │ ~1343 │1344 └─ lib/arke/boundary/arke_manager.ex:139:79: Arke.Boundary.ArkeManager.handle_init_p/313451346 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1347 │1348 138 │ defp handle_init_p(id, parameter, override_data) do1349 │ ~~1350 │1351 └─ lib/arke/boundary/arke_manager.ex:138:22: Arke.Boundary.ArkeManager.handle_init_p/313521353 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 underscore1354 │1355 50 │ __module__: __module__,1356 │ ~1357 │1358 └─ lib/arke/core/unit.ex:50:23: Arke.Core.Unit.new/913591360 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 underscore1361 │1362 103 │ __module__,1363 │ ~1364 │1365 └─ lib/arke/core/unit.ex:103:15: Arke.Core.Unit.load/313661367 warning: variable "parameter_id" is unused (if the variable is not meant to be used, prefix it with an underscore)1368 │1369 115 │ ... id: parameter_id,1370 │ ~1371 │1372 └─ lib/arke/core/unit.ex:115:71: Arke.Core.Unit.load_data/313731374 warning: variable "parameter_type" is unused (if the variable is not meant to be used, prefix it with an underscore)1375 │1376 116 │ ... arke_id: parameter_type1377 │ ~1378 │1379 └─ lib/arke/core/unit.ex:116:76: Arke.Core.Unit.load_data/313801381 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1382 │1383 113 │ def load_data(%{data: %{parameters: parameters}} = arke, unit_data, opts) do1384 │ ~~~~~~~~~~1385 │1386 └─ lib/arke/core/unit.ex:113:39: Arke.Core.Unit.load_data/313871388 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1389 │1390 123 │ def load_parameter_value(%{id: :id} = _, data, opts), do: data1391 │ ~~~~1392 │1393 └─ lib/arke/core/unit.ex:123:50: Arke.Core.Unit.load_parameter_value/313941395 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1396 │1397 124 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1398 │ ~~~~1399 │1400 └─ lib/arke/core/unit.ex:124:56: Arke.Core.Unit.load_parameter_value/314011402 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1403 │1404 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1405 │ ~~~~1406 │1407 └─ lib/arke/core/unit.ex:125:56: Arke.Core.Unit.load_parameter_value/314081409 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1410 │1411 126 │ def load_parameter_value(%{id: :arke_id} = _, data, opts), do: data1412 │ ~~~~1413 │1414 └─ lib/arke/core/unit.ex:126:55: Arke.Core.Unit.load_parameter_value/314151416 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1417 │1418 127 │ def load_parameter_value(%{id: :inserted_at} = _, data, opts), do: data1419 │ ~~~~1420 │1421 └─ lib/arke/core/unit.ex:127:59: Arke.Core.Unit.load_parameter_value/314221423 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1424 │1425 128 │ def load_parameter_value(%{id: :updated_at} = _, data, opts), do: data1426 │ ~~~~1427 │1428 └─ lib/arke/core/unit.ex:128:58: Arke.Core.Unit.load_parameter_value/314291430 warning: variable "parameter_type" is unused (if the variable is not meant to be used, prefix it with an underscore)1431 │1432 130 │ def load_parameter_value(%{id: parameter_id, arke_id: parameter_type} = parameter, data, opts) do1433 │ ~~~~~~~~~~~~~~1434 │1435 └─ lib/arke/core/unit.ex:130:57: Arke.Core.Unit.load_parameter_value/314361437 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1438 │1439 140 │ def get_default_value(value, parameter), do: value1440 │ ~~~~~~~~~1441 │1442 └─ lib/arke/core/unit.ex:140:32: Arke.Core.Unit.get_default_value/214431444 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1445 │1446 203 │ def update(%{data: data, arke_id: arke_id} = unit, args) do1447 │ ~~~~1448 │1449 └─ lib/arke/core/unit.ex:203:22: Arke.Core.Unit.update/214501451 warning: variable "udata" is unused (if the variable is not meant to be used, prefix it with an underscore)1452 │1453 233 │ Map.merge(unit.data, parsed_data, fn _k, udata, pdata -> pdata end)1454 │ ~1455 │1456 └─ lib/arke/core/unit.ex:233:46: Arke.Core.Unit.update_data/314571458 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)1459 │1460 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()1461 │ ~1462 │1463 └─ lib/arke/core/unit.ex:272:814641465 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)1466 │1467 278 │ def encode_unit_data(arke, data) do1468 │ ~1469 │1470 └─ lib/arke/core/unit.ex:278:714711472 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)1473 │1474 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data1475 │ ~1476 │1477 └─ lib/arke/core/unit.ex:285:814781479 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1480 │1481 336 │ def get_value(%Arke.Core.Unit{data: data} = unit, parameter_id),1482 │ ~~~~1483 │1484 └─ lib/arke/core/unit.ex:336:47: Arke.Core.Unit.get_value/214851486 warning: defp parse_value/2 is private, @doc attribute is always discarded for private functions/macros/types1487 │1488 350 │ @doc """1489 │ ~~~~~~~~1490 │1491 └─ lib/arke/core/unit.ex:350: Arke.Core.Unit.parse_value/214921493 warning: variable "cleaned_list" is unused (if the variable is not meant to be used, prefix it with an underscore)1494 │1495 404 │ cleaned_list = list_result |> Enum.map(&String.replace(&1, ~r/^['"]|['"]$/, ""))1496 │ ~~~~~~~~~~~~1497 │1498 └─ lib/arke/core/unit.ex:404:5: Arke.Core.Unit.parse_value/214991500 warning: variable "datetime" is unused (if the variable is not meant to be used, prefix it with an underscore)1501 │1502 431 │ defp get_data_value(%{"datetime" => datetime, "value" => value} = _), do: value1503 │ ~~~~~~~~1504 │1505 └─ lib/arke/core/unit.ex:431:39: Arke.Core.Unit.get_data_value/115061507 warning: variable "offset" is unused (if the variable is not meant to be used, prefix it with an underscore)1508 │1509 415 │ def set_offset(query, offset), do: nil1510 │ ~~~~~~1511 │1512 └─ lib/arke/core/query.ex:415:25: Arke.Core.Query.set_offset/215131514 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1515 │1516 415 │ def set_offset(query, offset), do: nil1517 │ ~~~~~1518 │1519 └─ lib/arke/core/query.ex:415:18: Arke.Core.Query.set_offset/215201521 warning: variable "limit" is unused (if the variable is not meant to be used, prefix it with an underscore)1522 │1523 439 │ def set_limit(query, limit), do: nil1524 │ ~~~~~1525 │1526 └─ lib/arke/core/query.ex:439:24: Arke.Core.Query.set_limit/215271528 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1529 │1530 439 │ def set_limit(query, limit), do: nil1531 │ ~~~~~1532 │1533 └─ lib/arke/core/query.ex:439:17: Arke.Core.Query.set_limit/215341535 warning: function init_parameter/4 is unused1536 │1537 103 │ defp init_parameter(project, id, metadata, p) do1538 │ ~1539 │1540 └─ lib/arke/boundary/arke_manager.ex:103:8: Arke.Boundary.ArkeManager (module)15411542 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1543 │1544 15 │ defmodule Arke.Boundary.ArkeManager do1545 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1546 │1547 └─ lib/arke/boundary/arke_manager.ex:15: Arke.Boundary.ArkeManager (module)15481549 warning: this clause cannot match because a previous clause at line 124 matches the same pattern as this clause1550 │1551 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data1552 │ ~1553 │1554 └─ lib/arke/core/unit.ex:125:715551556 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1557 │1558 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()1559 │ ~1560 │1561 └─ lib/arke/core/unit.ex:272:815621563 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1564 │1565 273 │ defp handle_id(id) when is_atom(id), do: Atom.to_string(id)1566 │ ~1567 │1568 └─ lib/arke/core/unit.ex:273:815691570 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1571 │1572 274 │ defp handle_id(id) when is_binary(id), do: id1573 │ ~1574 │1575 └─ lib/arke/core/unit.ex:274:815761577 warning: this clause for handle_id/1 cannot match because a previous clause at line 251 always matches1578 │1579 276 │ defp handle_id(id), do: id1580 │ ~1581 │1582 └─ lib/arke/core/unit.ex:276:815831584 warning: this clause for encode_unit_data/2 cannot match because a previous clause at line 253 always matches1585 │1586 278 │ def encode_unit_data(arke, data) do1587 │ ~1588 │1589 └─ lib/arke/core/unit.ex:278:715901591 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1592 │1593 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data1594 │ ~1595 │1596 └─ lib/arke/core/unit.ex:285:815971598 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1599 │1600 287 │ defp update_encoded_unit_data(%{id: id}, data, value),1601 │ ~1602 │1603 └─ lib/arke/core/unit.ex:287:816041605 warning: this clause for update_encoded_unit_data/3 cannot match because a previous clause at line 269 always matches1606 │1607 294 │ defp update_encoded_unit_data(_, data, _), do: data1608 │ ~1609 │1610 └─ lib/arke/core/unit.ex:294:816111612 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions1613 │1614 15 │ defmodule Arke.Boundary.GroupManager do1615 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1616 │1617 └─ lib/arke/boundary/group_manager.ex:15: Arke.Boundary.GroupManager (module)16181619 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:16201621 def foo(:first_clause, b \\ :default) do ... end1622 def foo(:second_clause, b) do ... end16231624 one should write:16251626 def foo(a, b \\ :default)1627 def foo(:first_clause, b) do ... end1628 def foo(:second_clause, b) do ... end16291630 the previous clause is defined on line 2416311632 │1633 42 │ def add_node(project, parent, child, type, metadata)1634 │ ~1635 │1636 └─ lib/arke/link_manager.ex:42:716371638 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1639 │1640 74 │ def delete_node(project, %Unit{} = parent, %Unit{} = child, type, metadata \\ %{}) do1641 │ ~~~~~~~~1642 │1643 └─ lib/arke/link_manager.ex:74:69: Arke.LinkManager.delete_node/516441645 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:16461647 def foo(:first_clause, b \\ :default) do ... end1648 def foo(:second_clause, b) do ... end16491650 one should write:16511652 def foo(a, b \\ :default)1653 def foo(:first_clause, b) do ... end1654 def foo(:second_clause, b) do ... end16551656 the previous clause is defined on line 7416571658 │1659 83 │ def delete_node(project, parent, child, type, metadata)1660 │ ~1661 │1662 └─ lib/arke/link_manager.ex:83:716631664 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1665 │1666 62 │ def on_unit_create(_arke, %{id: id, metadata: %{project: project}} = unit) do1667 │ ~~1668 │1669 └─ lib/arke/core/parameter.ex:62:35: Arke.Core.Parameter.on_unit_create/216701671 warning: variable "project" 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:60: Arke.Core.Parameter.on_unit_create/216771678 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1679 │1680 72 │ def on_unit_delete(_, %{id: id, metadata: %{project: project}} = unit) do1681 │ ~~1682 │1683 └─ lib/arke/core/parameter.ex:72:31: Arke.Core.Parameter.on_unit_delete/216841685 warning: variable "project" 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:56: Arke.Core.Parameter.on_unit_delete/216911692 warning: module attribute @record_fields was set but never used1693 │1694 17 │ @record_fields [:id, :data, :metadata, :inserted_at, :updated_at]1695 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1696 │1697 └─ lib/arke/link_manager.ex:17: Arke.LinkManager (module)16981699 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead1700 │1701 49 │ @persistence Application.get_env(:arke, :persistence)1702 │ ~1703 │1704 └─ lib/arke/query_manager.ex:49:28: Arke.QueryManager (module)17051706 warning: function head for def encode/2 must come at the top of its direct implementation. Instead of:17071708 def add(a, b), do: a + b1709 def add(a, b)17101711 one should write:17121713 def add(a, b)1714 def add(a, b), do: a + b17151716 │1717 60 │ def encode(unit, opts)1718 │ ~1719 │1720 └─ lib/arke/struct_manager.ex:60:717211722 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)1723 │1724 80 │ type,1725 │ ~~~~1726 │1727 └─ lib/arke/struct_manager.ex:80:10: Arke.StructManager.handle_encode/417281729 warning: variable "link_id_list" is unused (if the variable is not meant to be used, prefix it with an underscore)1730 │1731 130 │ link_id_list =1732 │ ~~~~~~~~~~~~1733 │1734 └─ lib/arke/struct_manager.ex:130:5: Arke.StructManager.get_link_id_list/117351736 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)1737 │1738 137 │ %{id: id, arke_id: arke_id, metadata: %{project: project}, data: data} = unit1739 │ ~~1740 │1741 └─ lib/arke/struct_manager.ex:137:16: Arke.StructManager.get_link_id_list/117421743 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1744 │1745 137 │ %{id: id, arke_id: arke_id, metadata: %{project: project}, data: data} = unit1746 │ ~~~~1747 │1748 └─ lib/arke/struct_manager.ex:137:83: Arke.StructManager.get_link_id_list/117491750 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1751 │1752 162 │ defp get_parsed_data(nil, arke, _), do: %{}1753 │ ~~~~1754 │1755 └─ lib/arke/struct_manager.ex:162:29: Arke.StructManager.get_parsed_data/317561757 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1758 │1759 163 │ defp get_parsed_data(data, arke, _) when data == %{}, do: %{}1760 │ ~~~~1761 │1762 └─ lib/arke/struct_manager.ex:163:30: Arke.StructManager.get_parsed_data/317631764 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)1765 │1766 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")1767 │ ~1768 │1769 └─ lib/arke/struct_manager.ex:173:717701771 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1772 │1773 199 │ %{load_values: true} = opts1774 │ ~~~~1775 │1776 └─ lib/arke/struct_manager.ex:199:33: Arke.StructManager.parse_value/317771778 warning: variable "param" is unused (if the variable is not meant to be used, prefix it with an underscore)1779 │1780 198 │ %{arke_id: param_type, data: %{multiple: false, values: values}} = param,1781 │ ~~~~~1782 │1783 └─ lib/arke/struct_manager.ex:198:77: Arke.StructManager.parse_value/317841785 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)1786 │1787 208 │ %{load_values: true} = opts1788 │ ~~~~1789 │1790 └─ lib/arke/struct_manager.ex:208:33: Arke.StructManager.parse_value/317911792 warning: variable "param" is unused (if the variable is not meant to be used, prefix it with an underscore)1793 │1794 207 │ %{arke_id: param_type, data: %{multiple: true, values: values}} = param,1795 │ ~~~~~1796 │1797 └─ lib/arke/struct_manager.ex:207:76: Arke.StructManager.parse_value/317981799 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)1800 │1801 222 │ defp filter_link_units(_link_units, %{id: id, metadata: metadata} = unit, false)1802 │ ~~~~~~~~1803 │1804 └─ lib/arke/struct_manager.ex:222:59: Arke.StructManager.filter_link_units/318051806 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1807 │1808 222 │ defp filter_link_units(_link_units, %{id: id, metadata: metadata} = unit, false)1809 │ ~~~~1810 │1811 └─ lib/arke/struct_manager.ex:222:71: Arke.StructManager.filter_link_units/318121813 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1814 │1815 331 │ def get_struct(arke, %{data: data} = unit, opts) do1816 │ ~~~~1817 │1818 └─ lib/arke/struct_manager.ex:331:32: Arke.StructManager.get_struct/318191820 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)1821 │1822 340 │ def get_struct(arke, %{data: data} = unit) do1823 │ ~~~~1824 │1825 └─ lib/arke/struct_manager.ex:340:32: Arke.StructManager.get_struct/218261827 warning: clauses with the same name should be grouped together, "def get_struct/1" was previously defined (lib/arke/struct_manager.ex:326)1828 │1829 362 │ def get_struct(_), do: raise("Must pass a valid arke or unit")1830 │ ~1831 │1832 └─ lib/arke/struct_manager.ex:362:718331834 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1835 │1836 417 │ defp add_value(struct, %{data: data} = unit) do1837 │ ~~~~1838 │1839 └─ lib/arke/struct_manager.ex:417:42: Arke.StructManager.add_value/218401841 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1842 │1843 427 │ defp add_type_fields({%{arke_id: :string, data: data} = parameter, base_data}, _project) do1844 │ ~~~~~~~~~1845 │1846 └─ lib/arke/struct_manager.ex:427:59: Arke.StructManager.add_type_fields/218471848 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1849 │1850 466 │ defp add_type_fields({%{arke_id: :boolean, data: data} = parameter, base_data}, _project) do1851 │ ~~~~~~~~~1852 │1853 └─ lib/arke/struct_manager.ex:466:60: Arke.StructManager.add_type_fields/218541855 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1856 │1857 476 │ defp add_type_fields({%{arke_id: :dict, data: data} = parameter, base_data}, _project) do1858 │ ~~~~~~~~~1859 │1860 └─ lib/arke/struct_manager.ex:476:57: Arke.StructManager.add_type_fields/218611862 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1863 │1864 486 │ defp add_type_fields({%{arke_id: :list, data: data} = parameter, base_data}, _project) do1865 │ ~~~~~~~~~1866 │1867 └─ lib/arke/struct_manager.ex:486:57: Arke.StructManager.add_type_fields/218681869 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1870 │1871 510 │ defp get_arke_or_group_id(nil, project), do: nil1872 │ ~~~~~~~1873 │1874 └─ lib/arke/struct_manager.ex:510:34: Arke.StructManager.get_arke_or_group_id/218751876 warning: variable "p" is unused (if the variable is not meant to be used, prefix it with an underscore)1877 │1878 540 │ defp add_type_fields({p, base_data}, _project) do1879 │ ~1880 │1881 └─ lib/arke/struct_manager.ex:540:25: Arke.StructManager.add_type_fields/218821883 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)1884 │1885 540 │ defp add_type_fields({p, base_data}, _project) do1886 │ ~1887 │1888 └─ lib/arke/struct_manager.ex:540:818891890 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)1891 │1892 82 │ query = Query.new(arke, project, distinct)1893 │ ~~~~~1894 │1895 └─ lib/arke/query_manager.ex:82:5: Arke.QueryManager.query/118961897 warning: variable "depth" is unused (if the variable is not meant to be used, prefix it with an underscore)1898 │1899 120 │ defp parse_link_depth(depth), do: 5001900 │ ~~~~~1901 │1902 └─ lib/arke/query_manager.ex:120:25: Arke.QueryManager.parse_link_depth/119031904 warning: variable "link_unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1905 │1906 181 │ {:ok, parameter, link_unit} -> {errors, link_units}1907 │ ~1908 │1909 └─ lib/arke/query_manager.ex:181:28: Arke.QueryManager.handle_link_parameters_unit/219101911 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)1912 │1913 181 │ {:ok, parameter, link_unit} -> {errors, link_units}1914 │ ~1915 │1916 └─ lib/arke/query_manager.ex:181:17: Arke.QueryManager.handle_link_parameters_unit/219171918 warning: variable "p" is unused (if the variable is not meant to be used, prefix it with an underscore)1919 │1920 188 │ Enum.map(link_units, fn {p, u} ->1921 │ ~1922 │1923 └─ lib/arke/query_manager.ex:188:34: Arke.QueryManager.handle_link_parameters_unit/219241925 warning: variable "parameters" is unused (if the variable is not meant to be used, prefix it with an underscore)1926 │1927 165 │ %{data: parameters} = arke,1928 │ ~~~~~~~~~~1929 │1930 └─ lib/arke/query_manager.ex:165:18: Arke.QueryManager.handle_link_parameters_unit/219311932 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1933 │1934 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1935 │ ~~~~1936 │1937 └─ lib/arke/query_manager.ex:204:72: Arke.QueryManager.handle_create_on_link_parameters_unit/519381939 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1940 │1941 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1942 │ ~~~~~~~1943 │1944 └─ lib/arke/query_manager.ex:204:46: Arke.QueryManager.handle_create_on_link_parameters_unit/519451946 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1947 │1948 204 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1949 │ ~~~~1950 │1951 └─ lib/arke/query_manager.ex:204:55: Arke.QueryManager.handle_create_on_link_parameters_unit/519521953 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)1954 │1955 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1956 │ ~~~~1957 │1958 └─ lib/arke/query_manager.ex:208:72: Arke.QueryManager.handle_create_on_link_parameters_unit/519591960 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)1961 │1962 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1963 │ ~~~~~~~1964 │1965 └─ lib/arke/query_manager.ex:208:46: Arke.QueryManager.handle_create_on_link_parameters_unit/519661967 warning: default values for the optional arguments in the private function parse_value/3 are never used1968 │1969 182 │ defp parse_value(value, param, _opts \\ [])1970 │ ~1971 │1972 └─ lib/arke/struct_manager.ex:182:8: Arke.StructManager (module)19731974 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)1975 │1976 208 │ defp handle_create_on_link_parameters_unit(project, unit, parameter, arke, value)1977 │ ~~~~1978 │1979 └─ lib/arke/query_manager.ex:208:55: Arke.QueryManager.handle_create_on_link_parameters_unit/519801981 warning: default values for the optional arguments in the private function handle_encode/4 are never used1982 │1983 61 │ defp handle_encode(u, type, load_links, opts \\ [])1984 │ ~1985 │1986 └─ lib/arke/struct_manager.ex:61:8: Arke.StructManager (module)19871988 warning: function handle_default_value/2 is unused1989 │1990 265 │ defp handle_default_value(1991 │ ~1992 │1993 └─ lib/arke/struct_manager.ex:265:8: Arke.StructManager (module)19941995 warning: default values for the optional arguments in the private function get_parsed_data/3 are never used1996 │1997 161 │ defp get_parsed_data(data, arke, opts \\ [])1998 │ ~1999 │2000 └─ lib/arke/struct_manager.ex:161:8: Arke.StructManager (module)20012002 warning: variable "filters" is unused (if the variable is not meant to be used, prefix it with an underscore)2003 │2004 407 │ def and_(_query, _negate, filters), do: raise("filters must be a list")2005 │ ~~~~~~~2006 │2007 └─ lib/arke/query_manager.ex:407:29: Arke.QueryManager.and_/320082009 warning: variable "filters" is unused (if the variable is not meant to be used, prefix it with an underscore)2010 │2011 428 │ def or_(_query, _negate, filters), do: raise("filters must be a list")2012 │ ~~~~~~~2013 │2014 └─ lib/arke/query_manager.ex:428:28: Arke.QueryManager.or_/320152016 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2017 │2018 566 │ %{id: id} = group = get_group(value, query.project)2019 │ ~~2020 │2021 └─ lib/arke/query_manager.ex:566:11: Arke.QueryManager.handle_filter/520222023 warning: variable "arke_list" is unused (if the variable is not meant to be used, prefix it with an underscore)2024 │2025 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query2026 │ ~~~~~~~~~2027 │2028 └─ lib/arke/query_manager.ex:592:42: Arke.QueryManager.handle_filter_group/420292030 warning: variable "negate" is unused (if the variable is not meant to be used, prefix it with an underscore)2031 │2032 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query2033 │ ~~~~~~2034 │2035 └─ lib/arke/query_manager.ex:592:53: Arke.QueryManager.handle_filter_group/420362037 warning: variable "group" is unused (if the variable is not meant to be used, prefix it with an underscore)2038 │2039 594 │ defp handle_filter_group(query, group, arke_list, negate),2040 │ ~~~~~2041 │2042 └─ lib/arke/query_manager.ex:594:35: Arke.QueryManager.handle_filter_group/420432044 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2045 │2046 740 │ defp get_parameter_operator(arke, [key, operator]), do: {key, String.to_existing_atom(operator)}2047 │ ~~~~2048 │2049 └─ lib/arke/query_manager.ex:740:31: Arke.QueryManager.get_parameter_operator/220502051 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2052 │2053 741 │ defp get_parameter_operator(arke, [key]), do: {key, :eq}2054 │ ~~~~2055 │2056 └─ lib/arke/query_manager.ex:741:31: Arke.QueryManager.get_parameter_operator/220572058 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)2059 │2060 745 │ defp get_parameter(%{arke: nil, project: project} = query, %{id: id} = _parameter),2061 │ ~~~~~2062 │2063 └─ lib/arke/query_manager.ex:745:55: Arke.QueryManager.get_parameter/220642065 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)2066 │2067 748 │ defp get_parameter(%{arke: nil, project: project} = query, key),2068 │ ~~~~~2069 │2070 └─ lib/arke/query_manager.ex:748:55: Arke.QueryManager.get_parameter/220712072 warning: variable "query" is unused (if the variable is not meant to be used, prefix it with an underscore)2073 │2074 751 │ defp get_parameter(%{arke: arke, project: project} = query, key) do2075 │ ~~~~~2076 │2077 └─ lib/arke/query_manager.ex:751:56: Arke.QueryManager.get_parameter/220782079 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2080 │2081 756 │ %{arke_id: arke_id, metadata: %{project: project}, data: new_data, id: id} = unit,2082 │ ~~2083 │2084 └─ lib/arke/query_manager.ex:756:81: Arke.QueryManager.handle_link_parameters/220852086 warning: variable "value" is unused (if the variable is not meant to be used, prefix it with an underscore)2087 │2088 869 │ defp normalize_value(%{id: id} = value) do2089 │ ~~~~~2090 │2091 └─ lib/arke/query_manager.ex:869:36: Arke.QueryManager.normalize_value/120922093 warning: this clause for encode/2 cannot match because a previous clause at line 54 always matches2094 │2095 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")2096 │ ~2097 │2098 └─ lib/arke/struct_manager.ex:173:720992100 warning: unused alias Arke2101 │2102 25 │ alias Arke.Core.{Unit, Arke}2103 │ ~2104 │2105 └─ lib/arke/struct_manager.ex:25:321062107 warning: module attribute @record_fields was set but never used2108 │2109 50 │ @record_fields [:id, :data, :metadata, :inserted_at, :updated_at]2110 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2111 │2112 └─ lib/arke/query_manager.ex:50: Arke.QueryManager (module)21132114 warning: unused alias Parameter2115 │2116 47 │ alias Arke.Core.{Arke, Unit, Query, Parameter}2117 │ ~2118 │2119 └─ lib/arke/query_manager.ex:47:321202121 warning: unused alias QueryManager2122 │2123 43 │ alias Arke.QueryManager2124 │ ~2125 │2126 └─ lib/arke/query_manager.ex:43:321272128 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead2129 │2130 23 │ @persistence Application.get_env(:arke, :persistence)2131 │ ~2132 │2133 └─ lib/arke/core/project.ex:23:28: Arke.Core.Project (module)21342135 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2136 │2137 57 │ def base_parameters(arke, %{data: %{parameters: []}} = unit), do: base_parameters(arke)2138 │ ~~~~2139 │2140 └─ lib/arke/core/arke.ex:57:58: Arke.Core.Arke.base_parameters/221412142 warning: variable "content_type" is unused (if the variable is not meant to be used, prefix it with an underscore)2143 │2144 35 │ %{path: path, content_type: content_type, filename: filename} = _unit,2145 │ ~~~~~~~~~~~~2146 │2147 └─ lib/arke/core/file.ex:35:37: Arke.Core.File.before_load/221482149 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)2150 │2151 61 │ {:ok, %{signed_url: signed_url} = opts} <- get_url(unit) do2152 │ ~2153 │2154 └─ lib/arke/core/file.ex:61:44: Arke.Core.File.on_struct_encode/421552156 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2157 │2158 57 │ def on_struct_encode(arke, %{metadata: %{project: project}} = unit, data, opts) do2159 │ ~~~~2160 │2161 └─ lib/arke/core/file.ex:57:24: Arke.Core.File.on_struct_encode/421622163 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2164 │2165 57 │ def on_struct_encode(arke, %{metadata: %{project: project}} = unit, data, opts) do2166 │ ~~~~~~~2167 │2168 └─ lib/arke/core/file.ex:57:53: Arke.Core.File.on_struct_encode/421692170 warning: unused alias Parameter2171 │2172 22 │ alias Arke.Core.Parameter2173 │ ~2174 │2175 └─ lib/arke/core/arke.ex:22:321762177 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)2178 │2179 27 │ def on_create(arke, unit) do2180 │ ~~~~2181 │2182 └─ lib/arke/core/group.ex:27:17: Arke.Core.Group.on_create/221832184 warning: unused alias ArkeManager2185 │2186 22 │ alias Arke.Boundary.{ArkeManager, FileManager}2187 │ ~2188 │2189 └─ lib/arke/core/file.ex:22:321902191 warning: variable "child_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2192 │2193 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2194 │ ~~~~~~~~2195 │2196 └─ lib/arke/core/link.ex:64:63: Arke.Core.Link.on_create/221972198 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2199 │2200 65 │ metadata: %{project: project} = metadata2201 │ ~~~~~~~~2202 │2203 └─ lib/arke/core/link.ex:65:43: Arke.Core.Link.on_create/222042205 warning: variable "parent_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2206 │2207 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2208 │ ~~~~~~~~~2209 │2210 └─ lib/arke/core/link.ex:64:42: Arke.Core.Link.on_create/222112212 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2213 │2214 65 │ metadata: %{project: project} = metadata2215 │ ~~~~~~~2216 │2217 └─ lib/arke/core/link.ex:65:32: Arke.Core.Link.on_create/222182219 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)2220 │2221 64 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2222 │ ~~~~2223 │2224 └─ lib/arke/core/link.ex:64:25: Arke.Core.Link.on_create/222252226 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2227 │2228 89 │ metadata: %{project: project} = metadata2229 │ ~~~~~~~~2230 │2231 └─ lib/arke/core/link.ex:89:43: Arke.Core.Link.on_delete/222322233 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2234 │2235 106 │ metadata: %{project: project} = metadata2236 │ ~~~~~~~~2237 │2238 └─ lib/arke/core/link.ex:106:43: Arke.Core.Link.on_delete/222392240 warning: variable "child_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2241 │2242 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2243 │ ~~~~~~~~2244 │2245 └─ lib/arke/core/link.ex:122:63: Arke.Core.Link.on_delete/222462247 warning: variable "metadata" is unused (if the variable is not meant to be used, prefix it with an underscore)2248 │2249 123 │ metadata: %{project: project} = metadata2250 │ ~~~~~~~~2251 │2252 └─ lib/arke/core/link.ex:123:43: Arke.Core.Link.on_delete/222532254 warning: variable "parent_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2255 │2256 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2257 │ ~~~~~~~~~2258 │2259 └─ lib/arke/core/link.ex:122:42: Arke.Core.Link.on_delete/222602261 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2262 │2263 123 │ metadata: %{project: project} = metadata2264 │ ~~~~~~~2265 │2266 └─ lib/arke/core/link.ex:123:32: Arke.Core.Link.on_delete/222672268 warning: variable "type" is unused (if the variable is not meant to be used, prefix it with an underscore)2269 │2270 122 │ data: %{type: type, parent_id: parent_id, child_id: child_id},2271 │ ~~~~2272 │2273 └─ lib/arke/core/link.ex:122:25: Arke.Core.Link.on_delete/222742275 warning: unused alias LinkManager2276 │2277 19 │ alias Arke.LinkManager2278 │ ~2279 │2280 └─ lib/arke/core/link.ex:19:322812282 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2283 │2284 49 │ defp get_arke(project, nil), do: []2285 │ ~~~~~~~2286 │2287 └─ lib/arke/utils/export.ex:49:17: Arke.Utils.Export.get_arke/222882289 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2290 │2291 52 │ defp get_parameter(project, nil), do: []2292 │ ~~~~~~~2293 │2294 └─ lib/arke/utils/export.ex:52:22: Arke.Utils.Export.get_parameter/222952296 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2297 │2298 61 │ defp get_group(project, nil), do: []2299 │ ~~~~~~~2300 │2301 └─ lib/arke/utils/export.ex:61:18: Arke.Utils.Export.get_group/223022303 warning: variable "parsed_data" is unused (if the variable is not meant to be used, prefix it with an underscore)2304 │2305 86 │ parsed_data =2306 │ ~~~~~~~~~~~2307 │2308 └─ lib/arke/utils/export.ex:86:5: Arke.Utils.Export.get_all/123092310 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead2311 │2312 19 │ @storage Application.get_env(:arke, :storage)2313 │ ~2314 │2315 └─ lib/arke/utils/gcp.ex:19:24: Arke.Utils.Gcp (module)23162317 warning: variable "object" is unused (if the variable is not meant to be used, prefix it with an underscore)2318 │2319 28 │ {:ok, object} =2320 │ ~~~~~~2321 │2322 └─ lib/arke/utils/gcp.ex:28:11: Arke.Utils.Gcp.upload_file/323232324 warning: variable "ext" is unused (if the variable is not meant to be used, prefix it with an underscore)2325 │2326 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2327 │ ~~~2328 │2329 └─ lib/arke/utils/gcp.ex:50:67: Arke.Utils.Gcp.get_public_url/223302331 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2332 │2333 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2334 │ ~~~~2335 │2336 └─ lib/arke/utils/gcp.ex:50:75: Arke.Utils.Gcp.get_public_url/223372338 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:23392340 def foo(:first_clause, b \\ :default) do ... end2341 def foo(:second_clause, b) do ... end23422343 one should write:23442345 def foo(a, b \\ :default)2346 def foo(:first_clause, b) do ... end2347 def foo(:second_clause, b) do ... end23482349 the previous clause is defined on line 5023502351 │2352 55 │ def get_public_url(_unit, _opts), do: Error.create(:storage, "invalid unit")2353 │ ~2354 │2355 └─ lib/arke/utils/gcp.ex:55:723562357 warning: this clause for upload_file/2 cannot match because a previous clause at line 16 always matches2358 │2359 23 │ def upload_file(file_name, file_data, opts \\ []) do2360 │ ~2361 │2362 └─ lib/arke/utils/gcp.ex:23:723632364 warning: this clause for get_file/1 cannot match because a previous clause at line 16 always matches2365 │2366 39 │ def get_file(file_path, opts \\ []) do2367 │ ~2368 │2369 └─ lib/arke/utils/gcp.ex:39:723702371 warning: this clause for get_public_url/1 cannot match because a previous clause at line 16 always matches2372 │2373 50 │ def get_public_url(%{data: %{name: name, path: path, extension: ext}} = unit, opts \\ []) do2374 │ ~2375 │2376 └─ lib/arke/utils/gcp.ex:50:723772378 warning: this clause for delete_file/1 cannot match because a previous clause at line 16 always matches2379 │2380 57 │ def delete_file(file_path, opts \\ []) do2381 │ ~2382 │2383 └─ lib/arke/utils/gcp.ex:57:723842385 warning: this clause for get_bucket_file_signed_url/1 cannot match because a previous clause at line 16 always matches2386 │2387 68 │ def get_bucket_file_signed_url(file_path, opts \\ []) do2388 │ ~2389 │2390 └─ lib/arke/utils/gcp.ex:68:723912392 warning: module attribute @default_bucket was set but never used2393 │2394 21 │ @default_bucket @storage[:gcp][:default_bucket]2395 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2396 │2397 └─ lib/arke/utils/gcp.ex:21: Arke.Utils.Gcp (module)23982399 warning: module attribute @service_account was set but never used2400 │2401 20 │ @service_account @storage[:gcp][:service_account]2402 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2403 │2404 └─ lib/arke/utils/gcp.ex:20: Arke.Utils.Gcp (module)24052406 warning: variable "arke_data" is unused (if the variable is not meant to be used, prefix it with an underscore)2407 │2408 51 │ %{data: arke_data} = arke = ArkeManager.get(arke_id, project)2409 │ ~2410 │2411 └─ lib/arke/validator.ex:51:15: Arke.Validator.validate/324122413 warning: variable "unit_id" is unused (if the variable is not meant to be used, prefix it with an underscore)2414 │2415 91 │ defp check_duplicate_unit(%{id: unit_id} = unit, _project, _persistence_fn), do: {:ok, unit}2416 │ ~~~~~~~2417 │2418 └─ lib/arke/validator.ex:91:35: Arke.Validator.check_duplicate_unit/324192420 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2421 │2422 144 │ defp get_parameter(arke, parameter_id, project),2423 │ ~~~~~~~2424 │2425 └─ lib/arke/validator.ex:144:42: Arke.Validator.get_parameter/324262427 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)2428 │2429 147 │ def validate_parameter(arke, parameter, value, project) do2430 │ ~2431 │2432 └─ lib/arke/validator.ex:147:724332434 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2435 │2436 167 │ def get_default_value(parameter, value), do: value2437 │ ~~~~~~~~~2438 │2439 └─ lib/arke/validator.ex:167:25: Arke.Validator.get_default_value/224402441 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2442 │2443 169 │ defp parse_value(%{arke_id: :integer, data: %{multiple: false} = data} = _, value)2444 │ ~~~~2445 │2446 └─ lib/arke/validator.ex:169:68: Arke.Validator.parse_value/224472448 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)2449 │2450 177 │ defp parse_value(%{arke_id: :float, data: %{multiple: false} = data} = _, value)2451 │ ~~~~2452 │2453 └─ lib/arke/validator.ex:177:66: Arke.Validator.parse_value/224542455 warning: variable "project" is unused (if the variable is not meant to be used, prefix it with an underscore)2456 │2457 224 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = _parameter, nil, project),2458 │ ~~~~~~~2459 │2460 └─ lib/arke/validator.ex:224:84: Arke.Validator.check_duplicate/424612462 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2463 │2464 227 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = parameter, value, project,arke) do2465 │ ~~~~~~~~~2466 │2467 └─ lib/arke/validator.ex:227:67: Arke.Validator.check_duplicate/524682469 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2470 │2471 287 │ %{arke_id: type, data: %{multiple: true, values: _values, label: label}} = parameter,2472 │ ~~~~~~~~~2473 │2474 └─ lib/arke/validator.ex:287:85: Arke.Validator.check_values/324752476 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2477 │2478 306 │ defp check_multiple(errors, %{id: id, data: %{multiple: true}} = parameter, value) when not is_list(value), do: check_multiple(errors, parameter, [value])2479 │ ~~2480 │2481 └─ lib/arke/validator.ex:306:37: Arke.Validator.check_multiple/324822483 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2484 │2485 307 │ defp check_multiple(errors, %{id: id, arke_id: type, data: %{ multiple: true}} = parameter, value) do2486 │ ~~~~~~~~~2487 │2488 └─ lib/arke/validator.ex:307:84: Arke.Validator.check_multiple/324892490 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2491 │2492 317 │ defp check_whitespace(%{data: %{strip: true}} = parameter, value) when is_atom(value) do2493 │ ~~~~~~~~~2494 │2495 └─ lib/arke/validator.ex:317:51: Arke.Validator.check_whitespace/224962497 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2498 │2499 325 │ defp check_whitespace(%{data: %{strip: true}} = parameter, value) do2500 │ ~~~~~~~~~2501 │2502 └─ lib/arke/validator.ex:325:51: Arke.Validator.check_whitespace/225032504 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2505 │2506 332 │ defp check_lowercase(%{data: %{lowercase: true}} = parameter, value) when is_atom(value) do2507 │ ~~~~~~~~~2508 │2509 └─ lib/arke/validator.ex:332:54: Arke.Validator.check_lowercase/225102511 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2512 │2513 339 │ defp check_lowercase(%{data: %{lowercase: true}} = parameter, value) do2514 │ ~~~~~~~~~2515 │2516 └─ lib/arke/validator.ex:339:54: Arke.Validator.check_lowercase/225172518 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2519 │2520 346 │ defp check_max_length(errors, %{data: %{max_length: max_length}} = parameter, _)2521 │ ~~~~~~~~~2522 │2523 └─ lib/arke/validator.ex:346:70: Arke.Validator.check_max_length/325242525 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2526 │2527 352 │ %{data: %{label: label, max_length: max_length}} = parameter,2528 │ ~~~~~~~~~2529 │2530 └─ lib/arke/validator.ex:352:61: Arke.Validator.check_max_length/325312532 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2533 │2534 364 │ defp check_min_length(errors, %{data: %{min_length: min_length}} = parameter, _)2535 │ ~~~~~~~~~2536 │2537 └─ lib/arke/validator.ex:364:70: Arke.Validator.check_min_length/325382539 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2540 │2541 370 │ %{data: %{label: label, min_length: min_length}} = parameter,2542 │ ~~~~~~~~~2543 │2544 └─ lib/arke/validator.ex:370:61: Arke.Validator.check_min_length/325452546 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)2547 │2548 386 │ defp check_by_type(errors, %{arke_id: :integer} = parameter, value)2549 │ ~2550 │2551 └─ lib/arke/validator.ex:386:825522553 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2554 │2555 395 │ defp check_by_type(errors, %{arke_id: :integer, data: %{label: label}} = parameter, _value),2556 │ ~~~~~~~~~2557 │2558 └─ lib/arke/validator.ex:395:76: Arke.Validator.check_by_type/325592560 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2561 │2562 407 │ defp check_by_type(errors, %{arke_id: :float, data: %{label: label}} = parameter, _value),2563 │ ~~~~~~~~~2564 │2565 └─ lib/arke/validator.ex:407:74: Arke.Validator.check_by_type/325662567 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2568 │2569 412 │ defp check_by_type(errors, %{arke_id: :dict, data: %{label: label}} = parameter, _value),2570 │ ~~~~~~~~~2571 │2572 └─ lib/arke/validator.ex:412:73: Arke.Validator.check_by_type/325732574 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2575 │2576 417 │ defp check_by_type(errors, %{arke_id: :list, data: %{label: label}} = parameter, _value),2577 │ ~~~~~~~~~2578 │2579 └─ lib/arke/validator.ex:417:73: Arke.Validator.check_by_type/325802581 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2582 │2583 420 │ defp check_max(errors, %{data: %{max: max}} = parameter, _) when is_nil(max), do: errors2584 │ ~~~~~~~~~2585 │2586 └─ lib/arke/validator.ex:420:49: Arke.Validator.check_max/325872588 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2589 │2590 431 │ defp check_min(errors, %{data: %{min: min}} = parameter, _) when is_nil(min), do: errors2591 │ ~~~~~~~~~2592 │2593 └─ lib/arke/validator.ex:431:49: Arke.Validator.check_min/325942595 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)2596 │2597 443 │ defp check_by_type(errors, %{arke_id: :date} = parameter, value) do2598 │ ~2599 │2600 └─ lib/arke/validator.ex:443:826012602 warning: variable "parameter" is unused (if the variable is not meant to be used, prefix it with an underscore)2603 │2604 470 │ defp check_by_type(errors, %{arke_id: :boolean} = parameter, value)2605 │ ~~~~~~~~~2606 │2607 └─ lib/arke/validator.ex:470:53: Arke.Validator.check_by_type/326082609 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2610 │2611 495 │ defp __enum_error_common__(errors, %{id: id, data: %{values: nil}} = _parameter), do: errors2612 │ ~~2613 │2614 └─ lib/arke/validator.ex:495:44: Arke.Validator.__enum_error_common__/226152616 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2617 │2618 496 │ defp __enum_error_common__(errors, %{id: id, data: %{values: %{}}} = _parameter), do: errors2619 │ ~~2620 │2621 └─ lib/arke/validator.ex:496:44: Arke.Validator.__enum_error_common__/226222623 warning: variable "id" is unused (if the variable is not meant to be used, prefix it with an underscore)2624 │2625 497 │ defp __enum_error_common__(errors, %{id: id, data: %{values: []}} = _parameter), do: errors2626 │ ~~2627 │2628 └─ lib/arke/validator.ex:497:44: Arke.Validator.__enum_error_common__/226292630 warning: function check_duplicate/4 is unused2631 │2632 224 │ defp check_duplicate(errors, %{id: id, data: %{unique: true}} = _parameter, nil, project),2633 │ ~2634 │2635 └─ lib/arke/validator.ex:224:8: Arke.Validator (module)26362637 warning: variable "exception" is unused (if the variable is not meant to be used, prefix it with an underscore)2638 │2639 12 │ def message(%{message: [%{context: context, message: message}]} = exception),2640 │ ~~~~~~~~~2641 │2642 └─ lib/error/arke_error.ex:12:69: Arke.Errors.ArkeError.message/126432644 warning: variable "exception" is unused (if the variable is not meant to be used, prefix it with an underscore)2645 │2646 15 │ def message(%{message: errors} = exception) when is_list(errors) do2647 │ ~~~~~~~~~2648 │2649 └─ lib/error/arke_error.ex:15:36: Arke.Errors.ArkeError.message/126502651 warning: module attribute @decode_keys was set but never used2652 │2653 29 │ @decode_keys [:arke, :parameter, :group, :link]2654 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2655 │2656 └─ lib/mix/tasks/arke.export_data.ex:29: Mix.Tasks.Arke.ExportData (module)26572658 warning: unused alias ArkeManager2659 │2660 26 │ alias Arke.Boundary.{ArkeManager}2661 │ ~2662 │2663 └─ lib/mix/tasks/arke.export_data.ex:26:326642665 warning: unused alias Error2666 │2667 25 │ alias Arke.Utils.ErrorGenerator, as: Error2668 │ ~2669 │2670 └─ lib/mix/tasks/arke.export_data.ex:25:326712672 warning: unused alias LinkManager2673 │2674 24 │ alias Arke.LinkManager2675 │ ~2676 │2677 └─ lib/mix/tasks/arke.export_data.ex:24:326782679 warning: unused alias QueryManager2680 │2681 23 │ alias Arke.QueryManager2682 │ ~2683 │2684 └─ lib/mix/tasks/arke.export_data.ex:23:326852686 warning: unused alias Unit2687 │2688 28 │ alias Arke.Core.Unit2689 │ ~2690 │2691 └─ lib/mix/tasks/arke.export_data.ex:28:326922693 warning: variable "unit" is unused (if the variable is not meant to be used, prefix it with an underscore)2694 │2695 381 │ {:ok, unit} <- QueryManager.create(project, model, current) do2696 │ ~2697 │2698 └─ lib/mix/tasks/arke.seed_project.ex:381:16: Mix.Tasks.Arke.SeedProject.handle_group/326992700 warning: unused alias Parameter2701 │2702 402 │ alias Arke.Core.Parameter2703 │ ~2704 │2705 └─ lib/arke/core/parameter.ex:402:327062707 warning: unused alias GroupManager2708 │2709 24 │ alias Arke.Boundary.{ArkeManager, GroupManager}2710 │ ~2711 │2712 └─ lib/mix/tasks/arke.seed_project.ex:24:327132714 warning: the following clause will never match:27152716 %Arke.Core.Unit{} ->27172718 it is expected to match on type:27192720 dynamic({:error, term()})27212722 type warning found at:2723 │2724 306 │ %Unit{} ->2725 │ ~2726 │2727 └─ lib/mix/tasks/arke.seed_project.ex:306:7: Mix.Tasks.Arke.SeedProject.handle_parameter/327282729 warning: the following clause is redundant:27302731 _err ->27322733 previous clauses have already matched on the following types:27342735 {:error, term()}27362737 type warning found at:2738 │2739 316 │ _err ->2740 │ ~2741 │2742 └─ lib/mix/tasks/arke.seed_project.ex:316:12: Mix.Tasks.Arke.SeedProject.handle_parameter/327432744 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2745 │2746 388 │ use Arke.System2747 │ ~~~~~~~~~~~~~~~2748 │2749 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.handle_insert/427502751 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2752 │2753 388 │ use Arke.System2754 │ ~~~~~~~~~~~~~~~2755 │2756 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.import/127572758 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2759 │2760 404 │ use Arke.System2761 │ ~~~~~~~~~~~~~~~2762 │2763 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.handle_insert/427642765 warning: comparison between distinct types found:27662767 check_existing_units_for_import(project, arke, header, u, existing_units) == false27682769 given types:27702771 dynamic(true) == false27722773 where "arke" (context Arke.System) was given the type:27742775 # type: dynamic()2776 # from: lib/arke/core/parameter.ex:3882777 arke27782779 where "existing_units" (context Arke.System) was given the type:27802781 # type: empty_list()2782 # from: lib/arke/core/parameter.ex:3882783 existing_units = get_existing_units_for_import(project, arke, header, correct_units)27842785 where "header" (context Arke.System) was given the type:27862787 # type: dynamic()2788 # from: lib/arke/core/parameter.ex:3882789 header = parse_header_for_import(template_header, file_header)27902791 where "project" (context Arke.System) was given the type:27922793 # type: dynamic()2794 # from: lib/arke/core/parameter.ex:3882795 project27962797 where "u" (context Arke.System) was given the type:27982799 # type: dynamic()2800 # from: lib/arke/core/parameter.ex:3882801 u28022803 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 false28042805 type warning found at:2806 │2807 388 │ use Arke.System2808 │ ~~~~~~~~~~~~~~~2809 │2810 └─ lib/arke/core/parameter.ex:388: Arke.Core.Parameter.Dynamic.import_units/528112812 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2813 │2814 404 │ use Arke.System2815 │ ~~~~~~~~~~~~~~~2816 │2817 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.import/128182819 warning: comparison between distinct types found:28202821 check_existing_units_for_import(project, arke, header, u, existing_units) == false28222823 given types:28242825 dynamic(true) == false28262827 where "arke" (context Arke.System) was given the type:28282829 # type: dynamic()2830 # from: lib/arke/core/parameter.ex:4042831 arke28322833 where "existing_units" (context Arke.System) was given the type:28342835 # type: empty_list()2836 # from: lib/arke/core/parameter.ex:4042837 existing_units = get_existing_units_for_import(project, arke, header, correct_units)28382839 where "header" (context Arke.System) was given the type:28402841 # type: dynamic()2842 # from: lib/arke/core/parameter.ex:4042843 header = parse_header_for_import(template_header, file_header)28442845 where "project" (context Arke.System) was given the type:28462847 # type: dynamic()2848 # from: lib/arke/core/parameter.ex:4042849 project28502851 where "u" (context Arke.System) was given the type:28522853 # type: dynamic()2854 # from: lib/arke/core/parameter.ex:4042855 u28562857 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 false28582859 type warning found at:2860 │2861 404 │ use Arke.System2862 │ ~~~~~~~~~~~~~~~2863 │2864 └─ lib/arke/core/parameter.ex:404: Arke.Core.Parameter.Binary.import_units/528652866 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2867 │2868 370 │ use Arke.System2869 │ ~~~~~~~~~~~~~~~2870 │2871 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.handle_insert/428722873 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2874 │2875 370 │ use Arke.System2876 │ ~~~~~~~~~~~~~~~2877 │2878 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.import/128792880 warning: comparison between distinct types found:28812882 check_existing_units_for_import(project, arke, header, u, existing_units) == false28832884 given types:28852886 dynamic(true) == false28872888 where "arke" (context Arke.System) was given the type:28892890 # type: dynamic()2891 # from: lib/arke/core/parameter.ex:3702892 arke28932894 where "existing_units" (context Arke.System) was given the type:28952896 # type: empty_list()2897 # from: lib/arke/core/parameter.ex:3702898 existing_units = get_existing_units_for_import(project, arke, header, correct_units)28992900 where "header" (context Arke.System) was given the type:29012902 # type: dynamic()2903 # from: lib/arke/core/parameter.ex:3702904 header = parse_header_for_import(template_header, file_header)29052906 where "project" (context Arke.System) was given the type:29072908 # type: dynamic()2909 # from: lib/arke/core/parameter.ex:3702910 project29112912 where "u" (context Arke.System) was given the type:29132914 # type: dynamic()2915 # from: lib/arke/core/parameter.ex:3702916 u29172918 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 false29192920 type warning found at:2921 │2922 370 │ use Arke.System2923 │ ~~~~~~~~~~~~~~~2924 │2925 └─ lib/arke/core/parameter.ex:370: Arke.Core.Parameter.Link.import_units/529262927 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)2928 │2929 346 │ use Arke.System2930 │ ~~~~~~~~~~~~~~~2931 │2932 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.handle_insert/429332934 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)2935 │2936 346 │ use Arke.System2937 │ ~~~~~~~~~~~~~~~2938 │2939 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.import/129402941 warning: comparison between distinct types found:29422943 check_existing_units_for_import(project, arke, header, u, existing_units) == false29442945 given types:29462947 dynamic(true) == false29482949 where "arke" (context Arke.System) was given the type:29502951 # type: dynamic()2952 # from: lib/arke/core/parameter.ex:3462953 arke29542955 where "existing_units" (context Arke.System) was given the type:29562957 # type: empty_list()2958 # from: lib/arke/core/parameter.ex:3462959 existing_units = get_existing_units_for_import(project, arke, header, correct_units)29602961 where "header" (context Arke.System) was given the type:29622963 # type: dynamic()2964 # from: lib/arke/core/parameter.ex:3462965 header = parse_header_for_import(template_header, file_header)29662967 where "project" (context Arke.System) was given the type:29682969 # type: dynamic()2970 # from: lib/arke/core/parameter.ex:3462971 project29722973 where "u" (context Arke.System) was given the type:29742975 # type: dynamic()2976 # from: lib/arke/core/parameter.ex:3462977 u29782979 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 false29802981 type warning found at:2982 │2983 346 │ use Arke.System2984 │ ~~~~~~~~~~~~~~~2985 │2986 └─ lib/arke/core/parameter.ex:346: Arke.Core.Parameter.DateTime.import_units/529872988 warning: Arke.Boundary.ParameterManager.get_from_persistence/0 is undefined or private2989 │2990 34 │ Arke.Boundary.ParameterManager.get_from_persistence()2991 │ ~2992 │2993 └─ lib/examples/starter.ex:34:36: Arke.Examples.Starter.init/029942995 warning: Arke.Core.Parameter.new/1 is undefined or private2996 │2997 44 │ parameter = Arke.Core.Parameter.new(p)2998 │ ~2999 │3000 └─ lib/examples/starter.ex:44:41: Arke.Examples.Starter.init_arke_by_struct/230013002 warning: Arke.Boundary.ArkeManager.set_manager/2 is undefined or private3003 │3004 50 │ ArkeManager.set_manager(Arke.Core.Arke.new(args), :arke_system)3005 │ ~3006 │3007 └─ lib/examples/starter.ex:50:17: Arke.Examples.Starter.init_arke_by_struct/230083009 warning: Arke.Core.Arke.new/1 is undefined or private3010 │3011 50 │ ArkeManager.set_manager(Arke.Core.Arke.new(args), :arke_system)3012 │ ~3013 │3014 └─ lib/examples/starter.ex:50:44: Arke.Examples.Starter.init_arke_by_struct/23015 └─ lib/examples/starter.ex:61:24: Arke.Examples.Starter.init_arke_by_persistence/030163017 warning: Arke.Boundary.ArkeManager.add_parameter/4 is undefined or private. Did you mean:30183019 * update_parameter/430203021 │3022 78 │ ArkeManager.add_parameter(parent_id, :arke_system, child_id, data.metadata)3023 │ ~3024 │3025 └─ lib/examples/starter.ex:78:19: Arke.Examples.Starter.init_arke_parameters_by_persistence/030263027 warning: the following clause is redundant:30283029 defp check_values(3030 errors,3031 %{arke_id: type, data: %{multiple: true, values: _values, label: label}} = parameter,3032 value3033 )30343035 it has type:30363037 dynamic(), dynamic(%{..., arke_id: term(), data: %{..., label: term(), multiple: true, values: term()}}), dynamic()30383039 previous clauses have already matched on the following types:30403041 term(), %{..., data: %{..., values: nil}}, term()3042 term(), %{..., arke_id: term(), data: %{..., label: term(), multiple: true, values: term()}}, empty_list() or non_empty_list(term(), term())3043 term(), %{..., data: %{..., values: term()}}, term()30443045 │3046 285 │ defp check_values(3047 │ ~3048 │3049 └─ lib/arke/validator.ex:285:8: Arke.Validator.check_values/330503051 warning: this clause of defp __enum_error_common__/2 is never used (or it will always fail/warn when invoked)3052 │3053 495 │ defp __enum_error_common__(errors, %{id: id, data: %{values: nil}} = _parameter), do: errors3054 │ ~3055 │3056 └─ lib/arke/validator.ex:495:8: Arke.Validator.__enum_error_common__/230573058 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3059 │3060 311 │ use Arke.System3061 │ ~~~~~~~~~~~~~~~3062 │3063 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.handle_insert/430643065 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3066 │3067 311 │ use Arke.System3068 │ ~~~~~~~~~~~~~~~3069 │3070 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.import/130713072 warning: comparison between distinct types found:30733074 check_existing_units_for_import(project, arke, header, u, existing_units) == false30753076 given types:30773078 dynamic(true) == false30793080 where "arke" (context Arke.System) was given the type:30813082 # type: dynamic()3083 # from: lib/arke/core/parameter.ex:3113084 arke30853086 where "existing_units" (context Arke.System) was given the type:30873088 # type: empty_list()3089 # from: lib/arke/core/parameter.ex:3113090 existing_units = get_existing_units_for_import(project, arke, header, correct_units)30913092 where "header" (context Arke.System) was given the type:30933094 # type: dynamic()3095 # from: lib/arke/core/parameter.ex:3113096 header = parse_header_for_import(template_header, file_header)30973098 where "project" (context Arke.System) was given the type:30993100 # type: dynamic()3101 # from: lib/arke/core/parameter.ex:3113102 project31033104 where "u" (context Arke.System) was given the type:31053106 # type: dynamic()3107 # from: lib/arke/core/parameter.ex:3113108 u31093110 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 false31113112 type warning found at:3113 │3114 311 │ use Arke.System3115 │ ~~~~~~~~~~~~~~~3116 │3117 └─ lib/arke/core/parameter.ex:311: Arke.Core.Parameter.Time.import_units/531183119 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3120 │3121 280 │ use Arke.System3122 │ ~~~~~~~~~~~~~~~3123 │3124 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.handle_insert/431253126 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3127 │3128 280 │ use Arke.System3129 │ ~~~~~~~~~~~~~~~3130 │3131 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.import/131323133 warning: comparison between distinct types found:31343135 check_existing_units_for_import(project, arke, header, u, existing_units) == false31363137 given types:31383139 dynamic(true) == false31403141 where "arke" (context Arke.System) was given the type:31423143 # type: dynamic()3144 # from: lib/arke/core/parameter.ex:2803145 arke31463147 where "existing_units" (context Arke.System) was given the type:31483149 # type: empty_list()3150 # from: lib/arke/core/parameter.ex:2803151 existing_units = get_existing_units_for_import(project, arke, header, correct_units)31523153 where "header" (context Arke.System) was given the type:31543155 # type: dynamic()3156 # from: lib/arke/core/parameter.ex:2803157 header = parse_header_for_import(template_header, file_header)31583159 where "project" (context Arke.System) was given the type:31603161 # type: dynamic()3162 # from: lib/arke/core/parameter.ex:2803163 project31643165 where "u" (context Arke.System) was given the type:31663167 # type: dynamic()3168 # from: lib/arke/core/parameter.ex:2803169 u31703171 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 false31723173 type warning found at:3174 │3175 280 │ use Arke.System3176 │ ~~~~~~~~~~~~~~~3177 │3178 └─ lib/arke/core/parameter.ex:280: Arke.Core.Parameter.Date.import_units/531793180 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3181 │3182 248 │ use Arke.System3183 │ ~~~~~~~~~~~~~~~3184 │3185 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.handle_insert/431863187 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3188 │3189 248 │ use Arke.System3190 │ ~~~~~~~~~~~~~~~3191 │3192 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.import/131933194 warning: comparison between distinct types found:31953196 check_existing_units_for_import(project, arke, header, u, existing_units) == false31973198 given types:31993200 dynamic(true) == false32013202 where "arke" (context Arke.System) was given the type:32033204 # type: dynamic()3205 # from: lib/arke/core/parameter.ex:2483206 arke32073208 where "existing_units" (context Arke.System) was given the type:32093210 # type: empty_list()3211 # from: lib/arke/core/parameter.ex:2483212 existing_units = get_existing_units_for_import(project, arke, header, correct_units)32133214 where "header" (context Arke.System) was given the type:32153216 # type: dynamic()3217 # from: lib/arke/core/parameter.ex:2483218 header = parse_header_for_import(template_header, file_header)32193220 where "project" (context Arke.System) was given the type:32213222 # type: dynamic()3223 # from: lib/arke/core/parameter.ex:2483224 project32253226 where "u" (context Arke.System) was given the type:32273228 # type: dynamic()3229 # from: lib/arke/core/parameter.ex:2483230 u32313232 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 false32333234 type warning found at:3235 │3236 248 │ use Arke.System3237 │ ~~~~~~~~~~~~~~~3238 │3239 └─ lib/arke/core/parameter.ex:248: Arke.Core.Parameter.List.import_units/532403241 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3242 │3243 224 │ use Arke.System3244 │ ~~~~~~~~~~~~~~~3245 │3246 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.handle_insert/432473248 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3249 │3250 224 │ use Arke.System3251 │ ~~~~~~~~~~~~~~~3252 │3253 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.import/132543255 warning: comparison between distinct types found:32563257 check_existing_units_for_import(project, arke, header, u, existing_units) == false32583259 given types:32603261 dynamic(true) == false32623263 where "arke" (context Arke.System) was given the type:32643265 # type: dynamic()3266 # from: lib/arke/core/parameter.ex:2243267 arke32683269 where "existing_units" (context Arke.System) was given the type:32703271 # type: empty_list()3272 # from: lib/arke/core/parameter.ex:2243273 existing_units = get_existing_units_for_import(project, arke, header, correct_units)32743275 where "header" (context Arke.System) was given the type:32763277 # type: dynamic()3278 # from: lib/arke/core/parameter.ex:2243279 header = parse_header_for_import(template_header, file_header)32803281 where "project" (context Arke.System) was given the type:32823283 # type: dynamic()3284 # from: lib/arke/core/parameter.ex:2243285 project32863287 where "u" (context Arke.System) was given the type:32883289 # type: dynamic()3290 # from: lib/arke/core/parameter.ex:2243291 u32923293 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 false32943295 type warning found at:3296 │3297 224 │ use Arke.System3298 │ ~~~~~~~~~~~~~~~3299 │3300 └─ lib/arke/core/parameter.ex:224: Arke.Core.Parameter.Dict.import_units/533013302 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3303 │3304 200 │ use Arke.System3305 │ ~~~~~~~~~~~~~~~3306 │3307 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.handle_insert/433083309 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3310 │3311 200 │ use Arke.System3312 │ ~~~~~~~~~~~~~~~3313 │3314 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.import/133153316 warning: comparison between distinct types found:33173318 check_existing_units_for_import(project, arke, header, u, existing_units) == false33193320 given types:33213322 dynamic(true) == false33233324 where "arke" (context Arke.System) was given the type:33253326 # type: dynamic()3327 # from: lib/arke/core/parameter.ex:2003328 arke33293330 where "existing_units" (context Arke.System) was given the type:33313332 # type: empty_list()3333 # from: lib/arke/core/parameter.ex:2003334 existing_units = get_existing_units_for_import(project, arke, header, correct_units)33353336 where "header" (context Arke.System) was given the type:33373338 # type: dynamic()3339 # from: lib/arke/core/parameter.ex:2003340 header = parse_header_for_import(template_header, file_header)33413342 where "project" (context Arke.System) was given the type:33433344 # type: dynamic()3345 # from: lib/arke/core/parameter.ex:2003346 project33473348 where "u" (context Arke.System) was given the type:33493350 # type: dynamic()3351 # from: lib/arke/core/parameter.ex:2003352 u33533354 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 false33553356 type warning found at:3357 │3358 200 │ use Arke.System3359 │ ~~~~~~~~~~~~~~~3360 │3361 └─ lib/arke/core/parameter.ex:200: Arke.Core.Parameter.Boolean.import_units/533623363 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3364 │3365 170 │ use Arke.System3366 │ ~~~~~~~~~~~~~~~3367 │3368 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.handle_insert/433693370 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3371 │3372 170 │ use Arke.System3373 │ ~~~~~~~~~~~~~~~3374 │3375 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.import/133763377 warning: comparison between distinct types found:33783379 check_existing_units_for_import(project, arke, header, u, existing_units) == false33803381 given types:33823383 dynamic(true) == false33843385 where "arke" (context Arke.System) was given the type:33863387 # type: dynamic()3388 # from: lib/arke/core/parameter.ex:1703389 arke33903391 where "existing_units" (context Arke.System) was given the type:33923393 # type: empty_list()3394 # from: lib/arke/core/parameter.ex:1703395 existing_units = get_existing_units_for_import(project, arke, header, correct_units)33963397 where "header" (context Arke.System) was given the type:33983399 # type: dynamic()3400 # from: lib/arke/core/parameter.ex:1703401 header = parse_header_for_import(template_header, file_header)34023403 where "project" (context Arke.System) was given the type:34043405 # type: dynamic()3406 # from: lib/arke/core/parameter.ex:1703407 project34083409 where "u" (context Arke.System) was given the type:34103411 # type: dynamic()3412 # from: lib/arke/core/parameter.ex:1703413 u34143415 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 false34163417 type warning found at:3418 │3419 170 │ use Arke.System3420 │ ~~~~~~~~~~~~~~~3421 │3422 └─ lib/arke/core/parameter.ex:170: Arke.Core.Parameter.Float.import_units/534233424 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3425 │3426 136 │ use Arke.System3427 │ ~~~~~~~~~~~~~~~3428 │3429 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.handle_insert/434303431 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3432 │3433 136 │ use Arke.System3434 │ ~~~~~~~~~~~~~~~3435 │3436 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.import/134373438 warning: comparison between distinct types found:34393440 check_existing_units_for_import(project, arke, header, u, existing_units) == false34413442 given types:34433444 dynamic(true) == false34453446 where "arke" (context Arke.System) was given the type:34473448 # type: dynamic()3449 # from: lib/arke/core/parameter.ex:1363450 arke34513452 where "existing_units" (context Arke.System) was given the type:34533454 # type: empty_list()3455 # from: lib/arke/core/parameter.ex:1363456 existing_units = get_existing_units_for_import(project, arke, header, correct_units)34573458 where "header" (context Arke.System) was given the type:34593460 # type: dynamic()3461 # from: lib/arke/core/parameter.ex:1363462 header = parse_header_for_import(template_header, file_header)34633464 where "project" (context Arke.System) was given the type:34653466 # type: dynamic()3467 # from: lib/arke/core/parameter.ex:1363468 project34693470 where "u" (context Arke.System) was given the type:34713472 # type: dynamic()3473 # from: lib/arke/core/parameter.ex:1363474 u34753476 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 false34773478 type warning found at:3479 │3480 136 │ use Arke.System3481 │ ~~~~~~~~~~~~~~~3482 │3483 └─ lib/arke/core/parameter.ex:136: Arke.Core.Parameter.Integer.import_units/534843485 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3486 │3487 102 │ use Arke.System3488 │ ~~~~~~~~~~~~~~~3489 │3490 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.handle_insert/434913492 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3493 │3494 102 │ use Arke.System3495 │ ~~~~~~~~~~~~~~~3496 │3497 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.import/134983499 warning: comparison between distinct types found:35003501 check_existing_units_for_import(project, arke, header, u, existing_units) == false35023503 given types:35043505 dynamic(true) == false35063507 where "arke" (context Arke.System) was given the type:35083509 # type: dynamic()3510 # from: lib/arke/core/parameter.ex:1023511 arke35123513 where "existing_units" (context Arke.System) was given the type:35143515 # type: empty_list()3516 # from: lib/arke/core/parameter.ex:1023517 existing_units = get_existing_units_for_import(project, arke, header, correct_units)35183519 where "header" (context Arke.System) was given the type:35203521 # type: dynamic()3522 # from: lib/arke/core/parameter.ex:1023523 header = parse_header_for_import(template_header, file_header)35243525 where "project" (context Arke.System) was given the type:35263527 # type: dynamic()3528 # from: lib/arke/core/parameter.ex:1023529 project35303531 where "u" (context Arke.System) was given the type:35323533 # type: dynamic()3534 # from: lib/arke/core/parameter.ex:1023535 u35363537 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 false35383539 type warning found at:3540 │3541 102 │ use Arke.System3542 │ ~~~~~~~~~~~~~~~3543 │3544 └─ lib/arke/core/parameter.ex:102: Arke.Core.Parameter.String.import_units/535453546 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3547 │3548 21 │ use Arke.System3549 │ ~~~~~~~~~~~~~~~3550 │3551 └─ lib/arke/core/project.ex:21: Arke.Core.Project.handle_insert/435523553 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3554 │3555 21 │ use Arke.System3556 │ ~~~~~~~~~~~~~~~3557 │3558 └─ lib/arke/core/project.ex:21: Arke.Core.Project.import/135593560 warning: comparison between distinct types found:35613562 check_existing_units_for_import(project, arke, header, u, existing_units) == false35633564 given types:35653566 dynamic(true) == false35673568 where "arke" (context Arke.System) was given the type:35693570 # type: dynamic()3571 # from: lib/arke/core/project.ex:213572 arke35733574 where "existing_units" (context Arke.System) was given the type:35753576 # type: empty_list()3577 # from: lib/arke/core/project.ex:213578 existing_units = get_existing_units_for_import(project, arke, header, correct_units)35793580 where "header" (context Arke.System) was given the type:35813582 # type: dynamic()3583 # from: lib/arke/core/project.ex:213584 header = parse_header_for_import(template_header, file_header)35853586 where "project" (context Arke.System) was given the type:35873588 # type: dynamic()3589 # from: lib/arke/core/project.ex:213590 project35913592 where "u" (context Arke.System) was given the type:35933594 # type: dynamic()3595 # from: lib/arke/core/project.ex:213596 u35973598 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 false35993600 type warning found at:3601 │3602 21 │ use Arke.System3603 │ ~~~~~~~~~~~~~~~3604 │3605 └─ lib/arke/core/project.ex:21: Arke.Core.Project.import_units/536063607 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3608 │3609 18 │ use Arke.System3610 │ ~~~~~~~~~~~~~~~3611 │3612 └─ lib/arke/core/link.ex:18: Arke.Core.Link.handle_insert/436133614 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3615 │3616 18 │ use Arke.System3617 │ ~~~~~~~~~~~~~~~3618 │3619 └─ lib/arke/core/link.ex:18: Arke.Core.Link.import/136203621 warning: comparison between distinct types found:36223623 check_existing_units_for_import(project, arke, header, u, existing_units) == false36243625 given types:36263627 dynamic(true) == false36283629 where "arke" (context Arke.System) was given the type:36303631 # type: dynamic()3632 # from: lib/arke/core/link.ex:183633 arke36343635 where "existing_units" (context Arke.System) was given the type:36363637 # type: empty_list()3638 # from: lib/arke/core/link.ex:183639 existing_units = get_existing_units_for_import(project, arke, header, correct_units)36403641 where "header" (context Arke.System) was given the type:36423643 # type: dynamic()3644 # from: lib/arke/core/link.ex:183645 header = parse_header_for_import(template_header, file_header)36463647 where "project" (context Arke.System) was given the type:36483649 # type: dynamic()3650 # from: lib/arke/core/link.ex:183651 project36523653 where "u" (context Arke.System) was given the type:36543655 # type: dynamic()3656 # from: lib/arke/core/link.ex:183657 u36583659 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 false36603661 type warning found at:3662 │3663 18 │ use Arke.System3664 │ ~~~~~~~~~~~~~~~3665 │3666 └─ lib/arke/core/link.ex:18: Arke.Core.Link.import_units/536673668 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3669 │3670 20 │ use Arke.System3671 │ ~~~~~~~~~~~~~~~3672 │3673 └─ lib/arke/core/group.ex:20: Arke.Core.Group.handle_insert/436743675 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3676 │3677 20 │ use Arke.System3678 │ ~~~~~~~~~~~~~~~3679 │3680 └─ lib/arke/core/group.ex:20: Arke.Core.Group.import/136813682 warning: comparison between distinct types found:36833684 check_existing_units_for_import(project, arke, header, u, existing_units) == false36853686 given types:36873688 dynamic(true) == false36893690 where "arke" (context Arke.System) was given the type:36913692 # type: dynamic()3693 # from: lib/arke/core/group.ex:203694 arke36953696 where "existing_units" (context Arke.System) was given the type:36973698 # type: empty_list()3699 # from: lib/arke/core/group.ex:203700 existing_units = get_existing_units_for_import(project, arke, header, correct_units)37013702 where "header" (context Arke.System) was given the type:37033704 # type: dynamic()3705 # from: lib/arke/core/group.ex:203706 header = parse_header_for_import(template_header, file_header)37073708 where "project" (context Arke.System) was given the type:37093710 # type: dynamic()3711 # from: lib/arke/core/group.ex:203712 project37133714 where "u" (context Arke.System) was given the type:37153716 # type: dynamic()3717 # from: lib/arke/core/group.ex:203718 u37193720 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 false37213722 type warning found at:3723 │3724 20 │ use Arke.System3725 │ ~~~~~~~~~~~~~~~3726 │3727 └─ lib/arke/core/group.ex:20: Arke.Core.Group.import_units/537283729 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3730 │3731 20 │ use Arke.System3732 │ ~~~~~~~~~~~~~~~3733 │3734 └─ lib/arke/core/file.ex:20: Arke.Core.File.handle_insert/437353736 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3737 │3738 20 │ use Arke.System3739 │ ~~~~~~~~~~~~~~~3740 │3741 └─ lib/arke/core/file.ex:20: Arke.Core.File.import/137423743 warning: comparison between distinct types found:37443745 check_existing_units_for_import(project, arke, header, u, existing_units) == false37463747 given types:37483749 dynamic(true) == false37503751 where "arke" (context Arke.System) was given the type:37523753 # type: dynamic()3754 # from: lib/arke/core/file.ex:203755 arke37563757 where "existing_units" (context Arke.System) was given the type:37583759 # type: empty_list()3760 # from: lib/arke/core/file.ex:203761 existing_units = get_existing_units_for_import(project, arke, header, correct_units)37623763 where "header" (context Arke.System) was given the type:37643765 # type: dynamic()3766 # from: lib/arke/core/file.ex:203767 header = parse_header_for_import(template_header, file_header)37683769 where "project" (context Arke.System) was given the type:37703771 # type: dynamic()3772 # from: lib/arke/core/file.ex:203773 project37743775 where "u" (context Arke.System) was given the type:37763777 # type: dynamic()3778 # from: lib/arke/core/file.ex:203779 u37803781 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 false37823783 type warning found at:3784 │3785 20 │ use Arke.System3786 │ ~~~~~~~~~~~~~~~3787 │3788 └─ lib/arke/core/file.ex:20: Arke.Core.File.import_units/537893790 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 macro3791 │3792 69 │ Logger.warn("error while loading the image: #{msg}")3793 │ ~3794 │3795 └─ lib/arke/core/file.ex:69:16: Arke.Core.File.on_struct_encode/437963797 warning: this clause of defp valid_data?/1 is never used (or it will always fail/warn when invoked)3798 │3799 133 │ defp valid_data?(_runtime_data), do: {:error, "invalid data"}3800 │ ~3801 │3802 └─ lib/arke/core/file.ex:133:8: Arke.Core.File.valid_data?/138033804 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3805 │3806 21 │ use Arke.System3807 │ ~~~~~~~~~~~~~~~3808 │3809 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.handle_insert/438103811 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3812 │3813 21 │ use Arke.System3814 │ ~~~~~~~~~~~~~~~3815 │3816 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.import/138173818 warning: comparison between distinct types found:38193820 check_existing_units_for_import(project, arke, header, u, existing_units) == false38213822 given types:38233824 dynamic(true) == false38253826 where "arke" (context Arke.System) was given the type:38273828 # type: dynamic()3829 # from: lib/arke/core/arke.ex:213830 arke38313832 where "existing_units" (context Arke.System) was given the type:38333834 # type: empty_list()3835 # from: lib/arke/core/arke.ex:213836 existing_units = get_existing_units_for_import(project, arke, header, correct_units)38373838 where "header" (context Arke.System) was given the type:38393840 # type: dynamic()3841 # from: lib/arke/core/arke.ex:213842 header = parse_header_for_import(template_header, file_header)38433844 where "project" (context Arke.System) was given the type:38453846 # type: dynamic()3847 # from: lib/arke/core/arke.ex:213848 project38493850 where "u" (context Arke.System) was given the type:38513852 # type: dynamic()3853 # from: lib/arke/core/arke.ex:213854 u38553856 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 false38573858 type warning found at:3859 │3860 21 │ use Arke.System3861 │ ~~~~~~~~~~~~~~~3862 │3863 └─ lib/arke/core/arke.ex:21: Arke.Core.Arke.import_units/538643865 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)3866 │3867 370 │ use Arke.System3868 │ ~~~~~~~~~~~~~~~3869 │3870 └─ lib/arke/system.ex:370: Arke.System.Arke.handle_insert/438713872 warning: ArkeAuth.Guardian.get_member/1 is undefined (module ArkeAuth.Guardian is not available or is yet to be defined)3873 │3874 370 │ use Arke.System3875 │ ~~~~~~~~~~~~~~~3876 │3877 └─ lib/arke/system.ex:370: Arke.System.Arke.import/138783879 warning: comparison between distinct types found:38803881 check_existing_units_for_import(project, arke, header, u, existing_units) == false38823883 given types:38843885 dynamic(true) == false38863887 where "arke" (context Arke.System) was given the type:38883889 # type: dynamic()3890 # from: lib/arke/system.ex:3703891 arke38923893 where "existing_units" (context Arke.System) was given the type:38943895 # type: empty_list()3896 # from: lib/arke/system.ex:3703897 existing_units = get_existing_units_for_import(project, arke, header, correct_units)38983899 where "header" (context Arke.System) was given the type:39003901 # type: dynamic()3902 # from: lib/arke/system.ex:3703903 header = parse_header_for_import(template_header, file_header)39043905 where "project" (context Arke.System) was given the type:39063907 # type: dynamic()3908 # from: lib/arke/system.ex:3703909 project39103911 where "u" (context Arke.System) was given the type:39123913 # type: dynamic()3914 # from: lib/arke/system.ex:3703915 u39163917 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 false39183919 type warning found at:3920 │3921 370 │ use Arke.System3922 │ ~~~~~~~~~~~~~~~3923 │3924 └─ lib/arke/system.ex:370: Arke.System.Arke.import_units/539253926 warning: this clause of defp handle_filter_group/4 is never used (or it will always fail/warn when invoked)3927 │3928 592 │ defp handle_filter_group(query, group, arke_list, negate) when is_nil(group), do: query3929 │ ~3930 │3931 └─ lib/arke/query_manager.ex:592:8: Arke.QueryManager.handle_filter_group/439323933 warning: the following clause is redundant:39343935 def encode(_unit, _format)39363937 it has type:39383939 dynamic(), dynamic()39403941 previous clauses have already matched on the following types:39423943 term(), term()39443945 │3946 173 │ def encode(_unit, _format), do: raise("Must pass a valid unit")3947 │ ~3948 │3949 └─ lib/arke/struct_manager.ex:173:7: Arke.StructManager.encode/239503951 warning: this clause of defp handle_link_parameter/4 is never used (or it will always fail/warn when invoked)3952 │3953 771 │ defp handle_link_parameter(_, nil, _, _), do: nil3954 │ ~3955 │3956 └─ lib/arke/query_manager.ex:771:8: Arke.QueryManager.handle_link_parameter/439573958 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 callback3959 │3960 21 │ use Arke.Boundary.UnitManager3961 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3962 │3963 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39643965 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 callback3966 │3967 17 │ use Arke.Boundary.UnitManager3968 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3969 │3970 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39713972 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 callback3973 │3974 21 │ use Arke.Boundary.UnitManager3975 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3976 │3977 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39783979 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 callback3980 │3981 17 │ use Arke.Boundary.UnitManager3982 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3983 │3984 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39853986 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 callback3987 │3988 21 │ use Arke.Boundary.UnitManager3989 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3990 │3991 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager (module)39923993 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 callback3994 │3995 17 │ use Arke.Boundary.UnitManager3996 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3997 │3998 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager (module)39994000 warning: Tuple.append/2 is deprecated. Use insert_at instead4001 │4002 21 │ use Arke.Boundary.UnitManager4003 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4004 │4005 └─ lib/arke/boundary/arke_manager.ex:21: Arke.Boundary.ArkeManager.call_nodes_manager/340064007 warning: Tuple.append/2 is deprecated. Use insert_at instead4008 │4009 17 │ use Arke.Boundary.UnitManager4010 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4011 │4012 └─ lib/arke/boundary/group_manager.ex:17: Arke.Boundary.GroupManager.call_nodes_manager/340134014 warning: this clause of defp handle_init_p/3 is never used (or it will always fail/warn when invoked)4015 │4016 134 │ defp handle_init_p(id, nil, metadata) do4017 │ ~4018 │4019 └─ lib/arke/boundary/arke_manager.ex:134:8: Arke.Boundary.ArkeManager.handle_init_p/340204021 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 callback4022 │4023 17 │ use Arke.Boundary.UnitManager4024 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4025 │4026 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40274028 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 callback4029 │4030 17 │ use Arke.Boundary.UnitManager4031 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4032 │4033 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40344035 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 callback4036 │4037 17 │ use Arke.Boundary.UnitManager4038 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4039 │4040 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager (module)40414042 warning: Tuple.append/2 is deprecated. Use insert_at instead4043 │4044 17 │ use Arke.Boundary.UnitManager4045 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4046 │4047 └─ lib/arke/boundary/parameter_manager.ex:17: Arke.Boundary.ParameterManager.call_nodes_manager/340484049 warning: the following clause is redundant:40504051 def load_parameter_value(%{id: :metadata} = _, data, opts)40524053 it has type:40544055 dynamic(%{..., id: :metadata}), dynamic(), dynamic()40564057 previous clauses have already matched on the following types:40584059 %{..., id: :id}, term(), term()4060 %{..., id: :metadata}, term(), term()40614062 │4063 125 │ def load_parameter_value(%{id: :metadata} = _, data, opts), do: data4064 │ ~4065 │4066 └─ lib/arke/core/unit.ex:125:7: Arke.Core.Unit.load_parameter_value/340674068 warning: the following clause is redundant:40694070 defp handle_id(id) when id == nil40714072 it has type:40734074 dynamic(nil)40754076 previous clauses have already matched on the following types:40774078 nil4079 atom()4080 binary()4081 term()40824083 │4084 272 │ defp handle_id(id) when is_nil(id), do: UUID.uuid1()4085 │ ~4086 │4087 └─ lib/arke/core/unit.ex:272:8: Arke.Core.Unit.handle_id/140884089 warning: the following clause is redundant:40904091 defp handle_id(id) when is_atom(id)40924093 it has type:40944095 dynamic(atom())40964097 previous clauses have already matched on the following types:40984099 nil4100 atom()4101 binary()4102 term()41034104 │4105 273 │ defp handle_id(id) when is_atom(id), do: Atom.to_string(id)4106 │ ~4107 │4108 └─ lib/arke/core/unit.ex:273:8: Arke.Core.Unit.handle_id/141094110 warning: the following clause is redundant:41114112 defp handle_id(id) when is_binary(id)41134114 it has type:41154116 binary()41174118 previous clauses have already matched on the following types:41194120 nil4121 atom()4122 binary()4123 term()41244125 │4126 274 │ defp handle_id(id) when is_binary(id), do: id4127 │ ~4128 │4129 └─ lib/arke/core/unit.ex:274:8: Arke.Core.Unit.handle_id/141304131 warning: the following clause is redundant:41324133 defp handle_id(id)41344135 it has type:41364137 dynamic()41384139 previous clauses have already matched on the following types:41404141 nil4142 atom()4143 binary()4144 term()41454146 │4147 276 │ defp handle_id(id), do: id4148 │ ~4149 │4150 └─ lib/arke/core/unit.ex:276:8: Arke.Core.Unit.handle_id/141514152 warning: the following clause is redundant:41534154 def encode_unit_data(arke, data)41554156 it has type:41574158 dynamic(), dynamic()41594160 previous clauses have already matched on the following types:41614162 term(), term()41634164 │4165 278 │ def encode_unit_data(arke, data) do4166 │ ~4167 │4168 └─ lib/arke/core/unit.ex:278:7: Arke.Core.Unit.encode_unit_data/241694170 warning: the following clause is redundant:41714172 defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _)41734174 it has type:41754176 %{..., data: %{..., only_runtime: true}}, dynamic(), dynamic()41774178 previous clauses have already matched on the following types:41794180 %{..., data: %{..., only_runtime: true}}, term(), term()4181 %{..., id: term()}, term(), term()4182 term(), term(), term()41834184 │4185 285 │ defp update_encoded_unit_data(%{data: %{only_runtime: true}}, data, _), do: data4186 │ ~4187 │4188 └─ lib/arke/core/unit.ex:285:8: Arke.Core.Unit.update_encoded_unit_data/341894190 warning: the following clause is redundant:41914192 defp update_encoded_unit_data(%{id: id}, data, value)41934194 it has type:41954196 dynamic(%{..., id: term()}), dynamic(), dynamic()41974198 previous clauses have already matched on the following types:41994200 %{..., data: %{..., only_runtime: true}}, term(), term()4201 %{..., id: term()}, term(), term()4202 term(), term(), term()42034204 │4205 287 │ defp update_encoded_unit_data(%{id: id}, data, value),4206 │ ~4207 │4208 └─ lib/arke/core/unit.ex:287:8: Arke.Core.Unit.update_encoded_unit_data/342094210 warning: Arke.DatetimeHandler.now/1 is undefined (module Arke.DatetimeHandler is not available or is yet to be defined)4211 │4212 291 │ :datetime => Arke.DatetimeHandler.now(:datetime)4213 │ ~4214 │4215 └─ lib/arke/core/unit.ex:291:43: Arke.Core.Unit.update_encoded_unit_data/342164217 warning: the following clause is redundant:42184219 defp update_encoded_unit_data(_, data, _)42204221 it has type:42224223 dynamic(), dynamic(), dynamic()42244225 previous clauses have already matched on the following types:42264227 %{..., data: %{..., only_runtime: true}}, term(), term()4228 %{..., id: term()}, term(), term()4229 term(), term(), term()42304231 │4232 294 │ defp update_encoded_unit_data(_, data, _), do: data4233 │ ~4234 │4235 └─ lib/arke/core/unit.ex:294:8: Arke.Core.Unit.update_encoded_unit_data/342364237Generated arke app4238==> arke_auth4239Compiling 14 files (.ex)4240 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead4241 │4242 17 │ use Arke.Boundary.UnitManager4243 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4244 │4245 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager.handle_info/242464247 warning: @compile {:parse_transform, :ms_transform} is deprecated. Elixir will no longer support Erlang-based transforms in future versions4248 │4249 15 │ defmodule ArkeAuth.Boundary.OtpManager do4250 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4251 │4252 └─ lib/arke_auth/boundary/otp_manager.ex:15: ArkeAuth.Boundary.OtpManager (module)42534254 warning: variable "arke" is unused (if the variable is not meant to be used, prefix it with an underscore)4255 │4256 29 │ def on_unit_load(arke, data, _persistence_fn), do: {:ok, data}4257 │ ~~~~4258 │4259 └─ lib/arke_auth/core/member.ex:29:20: ArkeAuth.Core.Member.on_unit_load/342604261 warning: variable "arke_member_public" is unused (if the variable is not meant to be used, prefix it with an underscore)4262 │4263 203 │ arke_member_public =4264 │ ~~~~~~~~~~~~~~~~~~4265 │4266 └─ lib/arke_auth/core/member.ex:203:5: ArkeAuth.Core.Member.handle_get_permission/242674268 warning: function permission_dict/1 is unused4269 │4270 233 │ defp permission_dict(data \\ %{}) do4271 │ ~4272 │4273 └─ lib/arke_auth/core/member.ex:233:8: ArkeAuth.Core.Member (module)42744275 warning: function handle_get_permission/2 is unused4276 │4277 200 │ defp handle_get_permission(member, %{metadata: %{project: project}} = arke) do4278 │ ~4279 │4280 └─ lib/arke_auth/core/member.ex:200:8: ArkeAuth.Core.Member (module)42814282 warning: function get_permission_dict/2 is unused4283 │4284 246 │ defp get_permission_dict(permission_list, is_public \\ false) do4285 │ ~4286 │4287 └─ lib/arke_auth/core/member.ex:246:8: ArkeAuth.Core.Member (module)42884289 warning: function get_parent_list/1 is unused4290 │4291 261 │ defp get_parent_list(nil), do: ["member_public"]4292 │ ~4293 │4294 └─ lib/arke_auth/core/member.ex:261:8: ArkeAuth.Core.Member (module)42954296 warning: unused alias Member4297 │4298 17 │ alias ArkeAuth.Core.Member4299 │ ~4300 │4301 └─ lib/arke_auth/core/member.ex:17:343024303 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead4304 │4305 19 │ use Guardian, otp_app: :arke_auth4306 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4307 │4308 └─ lib/arke_auth/guardian.ex:19: ArkeAuth.Guardian (module)43094310 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead4311 │4312 19 │ use Guardian, otp_app: :arke_auth4313 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4314 │4315 └─ lib/arke_auth/sso_guardian.ex:19: ArkeAuth.SSOGuardian (module)43164317 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4318 │4319 49 │ data = Map.get(user, :data, %{})4320 │ ~4321 │4322 └─ lib/arke_auth/sso_guardian.ex:49:9: ArkeAuth.SSOGuardian.resource_from_claims/143234324 warning: this clause for subject_for_token/2 cannot match because a previous clause at line 24 always matches4325 │4326 33 │ def subject_for_token(_, _) do4327 │ ~4328 │4329 └─ lib/arke_auth/sso_guardian.ex:33:743304331 warning: this clause for subject_for_token/2 cannot match because a previous clause at line 51 always matches4332 │4333 63 │ def subject_for_token(_, _) do4334 │ ~4335 │4336 └─ lib/arke_auth/guardian.ex:63:743374338 warning: variable "parent_list" is unused (if the variable is not meant to be used, prefix it with an underscore)4339 │4340 34 │ parent_list = get_parent_list(member)4341 │ ~~~~~~~~~~~4342 │4343 └─ lib/arke_auth/utils/permission.ex:34:5: ArkeAuth.Utils.Permission.get_member_permission/343444345 warning: variable "parent_list" is unused (if the variable is not meant to be used, prefix it with an underscore)4346 │4347 59 │ parent_list = get_parent_list(member)4348 │ ~~~~~~~~~~~4349 │4350 └─ lib/arke_auth/utils/permission.ex:59:5: ArkeAuth.Utils.Permission.get_member_permission/343514352 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4353 │4354 112 │ defp permission_dict(data, %{arke_id: :super_admin} = _member),4355 │ ~~~~4356 │4357 └─ lib/arke_auth/utils/permission.ex:112:24: ArkeAuth.Utils.Permission.permission_dict/243584359 warning: variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)4360 │4361 115 │ defp permission_dict(data, %{data: %{subscription_active: false}}),4362 │ ~~~~4363 │4364 └─ lib/arke_auth/utils/permission.ex:115:24: ArkeAuth.Utils.Permission.permission_dict/243654366 warning: default values for the optional arguments in the private function permission_dict/2 are never used4367 │4368 110 │ defp permission_dict(data, member \\ nil)4369 │ ~4370 │4371 └─ lib/arke_auth/utils/permission.ex:110:8: ArkeAuth.Utils.Permission (module)43724373 warning: default values for the optional arguments in the private function get_permission_dict/3 are never used4374 │4375 92 │ defp get_permission_dict(permission_list, member \\ nil, is_public \\ false) do4376 │ ~4377 │4378 └─ lib/arke_auth/utils/permission.ex:92:8: ArkeAuth.Utils.Permission (module)43794380 warning: unused alias Error4381 │4382 19 │ alias Arke.Utils.ErrorGenerator, as: Error4383 │ ~4384 │4385 └─ lib/arke_auth/utils/permission.ex:19:343864387 warning: the following clause is redundant:43884389 def subject_for_token(_, _)43904391 it has type:43924393 dynamic(), dynamic()43944395 previous clauses have already matched on the following types:43964397 term(), term()43984399 │4400 33 │ def subject_for_token(_, _) do4401 │ ~4402 │4403 └─ lib/arke_auth/sso_guardian.ex:33:7: ArkeAuth.SSOGuardian.subject_for_token/244044405 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4406 │4407 24 │ use Arke.System4408 │ ~~~~~~~~~~~~~~~4409 │4410 └─ lib/arke_auth/core/user.ex:24: ArkeAuth.Core.User.handle_insert/444114412 warning: comparison between distinct types found:44134414 check_existing_units_for_import(project, arke, header, u, existing_units) == false44154416 given types:44174418 dynamic(true) == false44194420 where "arke" (context Arke.System) was given the type:44214422 # type: dynamic()4423 # from: lib/arke_auth/core/user.ex:244424 arke44254426 where "existing_units" (context Arke.System) was given the type:44274428 # type: empty_list()4429 # from: lib/arke_auth/core/user.ex:244430 existing_units = get_existing_units_for_import(project, arke, header, correct_units)44314432 where "header" (context Arke.System) was given the type:44334434 # type: dynamic()4435 # from: lib/arke_auth/core/user.ex:244436 header = parse_header_for_import(template_header, file_header)44374438 where "project" (context Arke.System) was given the type:44394440 # type: dynamic()4441 # from: lib/arke_auth/core/user.ex:244442 project44434444 where "u" (context Arke.System) was given the type:44454446 # type: dynamic()4447 # from: lib/arke_auth/core/user.ex:244448 u44494450 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 false44514452 type warning found at:4453 │4454 24 │ use Arke.System4455 │ ~~~~~~~~~~~~~~~4456 │4457 └─ lib/arke_auth/core/user.ex:24: ArkeAuth.Core.User.import_units/544584459 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4460 │4461 23 │ use Arke.System4462 │ ~~~~~~~~~~~~~~~4463 │4464 └─ lib/arke_auth/core/temporary_token.ex:23: ArkeAuth.Core.TemporaryToken.handle_insert/444654466 warning: comparison between distinct types found:44674468 check_existing_units_for_import(project, arke, header, u, existing_units) == false44694470 given types:44714472 dynamic(true) == false44734474 where "arke" (context Arke.System) was given the type:44754476 # type: dynamic()4477 # from: lib/arke_auth/core/temporary_token.ex:234478 arke44794480 where "existing_units" (context Arke.System) was given the type:44814482 # type: empty_list()4483 # from: lib/arke_auth/core/temporary_token.ex:234484 existing_units = get_existing_units_for_import(project, arke, header, correct_units)44854486 where "header" (context Arke.System) was given the type:44874488 # type: dynamic()4489 # from: lib/arke_auth/core/temporary_token.ex:234490 header = parse_header_for_import(template_header, file_header)44914492 where "project" (context Arke.System) was given the type:44934494 # type: dynamic()4495 # from: lib/arke_auth/core/temporary_token.ex:234496 project44974498 where "u" (context Arke.System) was given the type:44994500 # type: dynamic()4501 # from: lib/arke_auth/core/temporary_token.ex:234502 u45034504 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 false45054506 type warning found at:4507 │4508 23 │ use Arke.System4509 │ ~~~~~~~~~~~~~~~4510 │4511 └─ lib/arke_auth/core/temporary_token.ex:23: ArkeAuth.Core.TemporaryToken.import_units/545124513 warning: the following clause is redundant:45144515 defp calculate_expiration_datetime(%{days: days, minutes: minutes})45164517 it has type:45184519 dynamic(%{..., days: term(), minutes: term()})45204521 previous clauses have already matched on the following types:45224523 nil4524 %{..., days: term()}4525 %{..., minutes: term()}45264527 │4528 82 │ defp calculate_expiration_datetime(%{days: days, minutes: minutes}),4529 │ ~4530 │4531 └─ lib/arke_auth/core/temporary_token.ex:82:8: ArkeAuth.Core.TemporaryToken.calculate_expiration_datetime/145324533 warning: ArkeAuth.Guardian.Plug.current_resource/1 is undefined (module ArkeAuth.Guardian.Plug is not available or is yet to be defined)4534 │4535 30 │ true -> ArkeAuth.Guardian.Plug.current_resource(conn)4536 │ ~4537 │4538 └─ lib/arke_auth/guardian.ex:30:38: ArkeAuth.Guardian.get_member/24539 └─ lib/arke_auth/guardian.ex:37:32: ArkeAuth.Guardian.get_impersonate_resources/145404541 warning: ArkeAuth.Guardian.Plug.current_resource/2 is undefined (module ArkeAuth.Guardian.Plug is not available or is yet to be defined)4542 │4543 35 │ case ArkeAuth.Guardian.Plug.current_resource(conn, key: :impersonate) do4544 │ ~4545 │4546 └─ lib/arke_auth/guardian.ex:35:33: ArkeAuth.Guardian.get_impersonate_resources/145474548 warning: the following clause is redundant:45494550 def subject_for_token(_, _)45514552 it has type:45534554 dynamic(), dynamic()45554556 previous clauses have already matched on the following types:45574558 term(), term()45594560 │4561 63 │ def subject_for_token(_, _) do4562 │ ~4563 │4564 └─ lib/arke_auth/guardian.ex:63:7: ArkeAuth.Guardian.subject_for_token/245654566 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4567 │4568 23 │ use Arke.System4569 │ ~~~~~~~~~~~~~~~4570 │4571 └─ lib/arke_auth/core/otp.ex:23: ArkeAuth.Core.Otp.handle_insert/445724573 warning: comparison between distinct types found:45744575 check_existing_units_for_import(project, arke, header, u, existing_units) == false45764577 given types:45784579 dynamic(true) == false45804581 where "arke" (context Arke.System) was given the type:45824583 # type: dynamic()4584 # from: lib/arke_auth/core/otp.ex:234585 arke45864587 where "existing_units" (context Arke.System) was given the type:45884589 # type: empty_list()4590 # from: lib/arke_auth/core/otp.ex:234591 existing_units = get_existing_units_for_import(project, arke, header, correct_units)45924593 where "header" (context Arke.System) was given the type:45944595 # type: dynamic()4596 # from: lib/arke_auth/core/otp.ex:234597 header = parse_header_for_import(template_header, file_header)45984599 where "project" (context Arke.System) was given the type:46004601 # type: dynamic()4602 # from: lib/arke_auth/core/otp.ex:234603 project46044605 where "u" (context Arke.System) was given the type:46064607 # type: dynamic()4608 # from: lib/arke_auth/core/otp.ex:234609 u46104611 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 false46124613 type warning found at:4614 │4615 23 │ use Arke.System4616 │ ~~~~~~~~~~~~~~~4617 │4618 └─ lib/arke_auth/core/otp.ex:23: ArkeAuth.Core.Otp.import_units/546194620 warning: comparison between distinct types found:46214622 Map.to_list(data) == []46234624 given types:46254626 dynamic(non_empty_list({:child_only or :delete or :filter or :get or :post or :put, term()})) ==4627 empty_list()46284629 where "data" was given the type:46304631 # type: dynamic(%{4632 child_only: term(),4633 delete: term(),4634 filter: term(),4635 get: term(),4636 post: term(),4637 put: term()4638 })4639 # from: lib/arke_auth/core/member.ex:220:104640 data =4641 permission_dict(4642 Map.merge(member_public_permission, member_permission, fn _k, v1, v2 ->4643 if v1 do4644 v14645 else4646 v24647 end4648 end)4649 )46504651 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 false46524653 type warning found at:4654 │4655 226 │ if Map.to_list(data) == [] do4656 │ ~4657 │4658 └─ lib/arke_auth/core/member.ex:226:26: ArkeAuth.Core.Member.handle_get_permission/246594660 warning: ArkePostgres.Repo.insert_all/3 is undefined (module ArkePostgres.Repo is not available or is yet to be defined)4661 │4662 6 │ use Arke.System4663 │ ~~~~~~~~~~~~~~~4664 │4665 └─ lib/arke_auth/core/reset_password_token.ex:6: ArkeAuth.ResetPasswordToken.handle_insert/446664667 warning: comparison between distinct types found:46684669 check_existing_units_for_import(project, arke, header, u, existing_units) == false46704671 given types:46724673 dynamic(true) == false46744675 where "arke" (context Arke.System) was given the type:46764677 # type: dynamic()4678 # from: lib/arke_auth/core/reset_password_token.ex:64679 arke46804681 where "existing_units" (context Arke.System) was given the type:46824683 # type: empty_list()4684 # from: lib/arke_auth/core/reset_password_token.ex:64685 existing_units = get_existing_units_for_import(project, arke, header, correct_units)46864687 where "header" (context Arke.System) was given the type:46884689 # type: dynamic()4690 # from: lib/arke_auth/core/reset_password_token.ex:64691 header = parse_header_for_import(template_header, file_header)46924693 where "project" (context Arke.System) was given the type:46944695 # type: dynamic()4696 # from: lib/arke_auth/core/reset_password_token.ex:64697 project46984699 where "u" (context Arke.System) was given the type:47004701 # type: dynamic()4702 # from: lib/arke_auth/core/reset_password_token.ex:64703 u47044705 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 false47064707 type warning found at:4708 │4709 6 │ use Arke.System4710 │ ~~~~~~~~~~~~~~~4711 │4712 └─ lib/arke_auth/core/reset_password_token.ex:6: ArkeAuth.ResetPasswordToken.import_units/547134714 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 callback4715 │4716 17 │ use Arke.Boundary.UnitManager4717 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4718 │4719 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)47204721 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 callback4722 │4723 17 │ use Arke.Boundary.UnitManager4724 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4725 │4726 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)47274728 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 callback4729 │4730 17 │ use Arke.Boundary.UnitManager4731 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4732 │4733 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager (module)47344735 warning: Tuple.append/2 is deprecated. Use insert_at instead4736 │4737 17 │ use Arke.Boundary.UnitManager4738 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4739 │4740 └─ lib/arke_auth/boundary/otp_manager.ex:17: ArkeAuth.Boundary.OtpManager.call_nodes_manager/347414742Generated arke_auth app4743==> arke_ai4744Compiling 17 files (.ex)4745 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 module4746 │4747 3 │ import Plug.Conn4748 │ ^4749 │4750 └─ lib/arke_ai/mcp/plugs/auth_error_handler.ex:3:3: ArkeAi.Mcp.Plugs.AuthErrorHandler (module)47514752 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 module4753 │4754 3 │ import Plug.Conn4755 │ ^4756 │4757 └─ lib/arke_ai/mcp/plugs/auth.ex:3:3: ArkeAi.Mcp.Plugs.Auth (module)475847594760== Compilation error in file lib/arke_ai/mcp/plugs/auth_error_handler.ex ==4761** (CompileError) lib/arke_ai/mcp/plugs/auth_error_handler.ex: cannot compile module ArkeAi.Mcp.Plugs.AuthErrorHandler (errors have been logged)47624763could 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"