Build log
nerves_system_x86_64
gandalf 0.2.0 · fail · run gandalf-0.2.0-1791187572273
1015 of 1015 lines
1Resolving Hex dependencies...2Resolution completed in 0.199s3Unchanged:4 circular_buffer 1.1.05 comeonin 3.2.06 connection 1.0.47 db_connection 1.1.38 decimal 1.9.0 VULNERABLE!9 EEF-CVE-2026-32686 (MEDIUM)10 aka: CVE-2026-32686, GHSA-rhv4-8758-jx7v11 Unbounded exponent in decimal enables unauthenticated DoS12 https://osv.dev/vulnerability/EEF-CVE-2026-3268613 ecto 2.2.1214 elixir_make 0.10.015 gandalf 0.2.016 interactive_cmd 0.1.417 mime 2.0.718 nerves 2.0.0-pre.219 nerves_discovery 0.1.520 nerves_logging 0.2.421 nerves_runtime 0.13.1322 nerves_system_bbb 2.30.223 nerves_system_br 1.34.424 nerves_system_mangopi_mq_pro 0.17.225 nerves_system_qemu_aarch64 0.4.226 nerves_system_rpi0 2.1.227 nerves_system_rpi4 2.1.228 nerves_system_rpi5 2.1.229 nerves_system_trellis 0.5.030 nerves_system_x86_64 1.34.231 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.132 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.133 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.135 nerves_toolchain_x86_64_nerves_linux_musl 15.3.136 nerves_uevent 0.1.737 plug 1.20.338 plug_crypto 2.2.039 poison 3.1.040 poolboy 1.5.241 postgrex 0.13.542 property_table 0.3.443 ring_logger 0.11.744 secure_random 0.5.145 tablet 0.3.346 telemetry 1.4.247 toolshed 0.5.048 uboot_env 1.0.249* Getting gandalf (Hex package)50* Getting nerves (Hex package)51* Getting ring_logger (Hex package)52* Getting toolshed (Hex package)53* Getting nerves_runtime (Hex package)54* Getting nerves_system_bbb (Hex package)55* Getting nerves_system_mangopi_mq_pro (Hex package)56* Getting nerves_system_qemu_aarch64 (Hex package)57* Getting nerves_system_rpi0 (Hex package)58* Getting nerves_system_rpi4 (Hex package)59* Getting nerves_system_rpi5 (Hex package)60* Getting nerves_system_trellis (Hex package)61* Getting nerves_system_x86_64 (Hex package)62* Getting nerves_system_br (Hex package)63* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)64* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)65* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)66* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)67* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)68* Getting nerves_logging (Hex package)69* Getting nerves_uevent (Hex package)70* Getting uboot_env (Hex package)71* Getting elixir_make (Hex package)72* Getting property_table (Hex package)73* Getting circular_buffer (Hex package)74* Getting interactive_cmd (Hex package)75* Getting nerves_discovery (Hex package)76* Getting tablet (Hex package)77* Getting comeonin (Hex package)78* Getting ecto (Hex package)79* Getting plug (Hex package)80* Getting poison (Hex package)81* Getting postgrex (Hex package)82* Getting secure_random (Hex package)83* Getting connection (Hex package)84* Getting db_connection (Hex package)85* Getting decimal (Hex package)86* Getting mime (Hex package)87* Getting plug_crypto (Hex package)88* Getting telemetry (Hex package)89* Getting poolboy (Hex package)90Found packages with security advisories, see above for details91 warning: String.strip/1 is deprecated. Use String.trim/1 instead92 │93 4 │ @version File.read!("VERSION") |> String.strip94 │ ~95 │96 └─ /work/proj/deps_x86_64/poison/mix.exs:4:44: Poison.Mixfile (module)9798warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"99 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2100 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1101 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5102 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2103 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4104 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2105106==> ecto107Compiling 70 files (.ex)108 warning: using single-quoted strings to represent charlists is deprecated.109 Use ~c"" if you indeed want a charlist or use "" instead.110 You may run "mix format --migrate" to change all single-quoted111 strings to use the ~c sigil and fix this warning.112 │113 166 │ defp insert_all_value(_), do: '?'114 │ ~115 │116 └─ lib/ecto/adapters/mysql/connection.ex:166:37117118 warning: using single-quoted strings to represent charlists is deprecated.119 Use ~c"" if you indeed want a charlist or use "" instead.120 You may run "mix format --migrate" to change all single-quoted121 strings to use the ~c sigil and fix this warning.122 │123 354 │ '?'124 │ ~125 │126 └─ lib/ecto/adapters/mysql/connection.ex:354:7127128 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.129130 This error happens when you have function calls without parentheses inside keywords. For example:131132 function(arg, one: nested_call a, b, c)133 function(arg, one: if expr, do: :this, else: :that)134135 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:136137 function(arg, one: if(expr, do: :this, else: :that))138 function(arg, one: nested_call(a, b, c))139140 Ambiguity found at:141 │142 2286 │ raise ArgumentError, "cannot add constraint to changeset because it does not have a source, got: #{inspect data}"143 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~144 │145 └─ lib/ecto/changeset.ex:2286146147 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.148149 This error happens when you have function calls without parentheses inside keywords. For example:150151 function(arg, one: nested_call a, b, c)152 function(arg, one: if expr, do: :this, else: :that)153154 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:155156 function(arg, one: if(expr, do: :this, else: :that))157 function(arg, one: nested_call(a, b, c))158159 Ambiguity found at:160 │161 265 │ do: raise ArgumentError, "a constraint must have either a check or exclude option"162 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~163 │164 └─ lib/ecto/migration/runner.ex:265165166 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.167168 This error happens when you have function calls without parentheses inside keywords. For example:169170 function(arg, one: nested_call a, b, c)171 function(arg, one: if expr, do: :this, else: :that)172173 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:174175 function(arg, one: if(expr, do: :this, else: :that))176 function(arg, one: nested_call(a, b, c))177178 Ambiguity found at:179 │180 267 │ do: raise ArgumentError, "a constraint must not have both check and exclude options"181 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~182 │183 └─ lib/ecto/migration/runner.ex:267184185 warning: atom ::: must be written between quotes, as in :"::", to avoid ambiguity186 │187 136 │ {:::, _, [left, _]} -> is_integer(left) or is_binary(left)188 │ ~189 │190 └─ lib/ecto/query/builder.ex:136:8191192 warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)193 │194 643 │ def quoted_type({:datetime_add, _, [_, _, __]}, _vars), do: :naive_datetime195 │ ~~196 │197 └─ lib/ecto/query/builder.ex:643:45: Ecto.Query.Builder.quoted_type/2198199 warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)200 │201 644 │ def quoted_type({:date_add, _, [_, _, __]}, _vars), do: :date202 │ ~~203 │204 └─ lib/ecto/query/builder.ex:644:41: Ecto.Query.Builder.quoted_type/2205206 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.207208 This error happens when you have function calls without parentheses inside keywords. For example:209210 function(arg, one: nested_call a, b, c)211 function(arg, one: if expr, do: :this, else: :that)212213 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:214215 function(arg, one: if(expr, do: :this, else: :that))216 function(arg, one: nested_call(a, b, c))217218 Ambiguity found at:219 │220 454 │ do: raise ArgumentError, "a changeset with action #{inspect given} was given to #{inspect repo}.#{action}/2"221 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~222 │223 └─ lib/ecto/repo/schema.ex:454224225 warning: unused require Ecto.Query226 │227 6 │ require Ecto.Query228 │ ~229 │230 └─ lib/ecto/repo/preloader.ex:6:3231232 warning: Module.eval_quoted/2 is deprecated. Use Code.eval_quoted/3 instead233 │234 9 │ schema "schema_migrations" do235 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~236 │237 └─ lib/ecto/migration/schema_migration.ex:9: Ecto.Migration.SchemaMigration (module)238239Compiling lib/ecto.ex (it's taking more than 10s)240 warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead241 │242 2400 │ surround_many("#Ecto.Changeset<", list, ">", opts, fn243 │ ~244 │245 └─ lib/ecto/changeset.ex:2400:5: Inspect.Ecto.Changeset.inspect/2246247 warning: struct DBConnection.OwnershipError is undefined (module DBConnection.OwnershipError is not available or is yet to be defined)248 │249 258 │ err in DBConnection.OwnershipError ->250 │ ~251 │252 └─ lib/ecto/adapters/sql.ex:258:11: Ecto.Adapters.SQL.sql_call/6253254 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead255 │256 260 │ reraise %{err | message: message}, System.stacktrace257 │ ~258 │259 └─ lib/ecto/adapters/sql.ex:260:51: Ecto.Adapters.SQL.sql_call/6260261 warning: incompatible types given to Mix.Ecto.ensure_started/2:262263 Mix.Ecto.ensure_started(repo, opts)264265 given types:266267 -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))268269 but expected one of:270271 %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())272273 where "opts" was given the type:274275 # type: dynamic(276 %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or277 non_struct_map()278 )279 # from: lib/mix/tasks/ecto.rollback.ex:64:10280 opts =281 if opts[:quiet] do282 Keyword.merge(opts, log: false, log_sql: false)283 else284 opts285 end286287 where "repo" was given the type:288289 # type: dynamic(atom())290 # from: lib/mix/tasks/ecto.rollback.ex:70:7291 Mix.Ecto.ensure_repo(repo, args)292293 type warning found at:294 │295 72 │ {:ok, pid, apps} = ensure_started(repo, opts)296 │ ~297 │298 └─ lib/mix/tasks/ecto.rollback.ex:72:26: Mix.Tasks.Ecto.Rollback.run/2299300 warning: incompatible types given to Mix.Ecto.ensure_started/2:301302 Mix.Ecto.ensure_started(repo, all: true)303304 given types:305306 -dynamic(atom())-, non_empty_list({:all, true})307308 but expected one of:309310 %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())311312 where "repo" was given the type:313314 # type: dynamic(atom())315 # from: lib/mix/tasks/ecto.migrations.ex:37:7316 Mix.Ecto.ensure_repo(repo, args)317318 type warning found at:319 │320 39 │ {:ok, pid, _} = ensure_started(repo, all: true)321 │ ~322 │323 └─ lib/mix/tasks/ecto.migrations.ex:39:23: Mix.Tasks.Ecto.Migrations.run/3324325 warning: the following clause will never match:326327 [{^module, :changeset, args_or_arity, _}] when args_or_arity == 2 when length(args_or_arity) == 2 ->328329 because it attempts to match on the result of:330331 System.stacktrace()332333 which has type:334335 empty_list()336337 where "args_or_arity" was given the type:338339 # type: float() or integer() or non_empty_list(term())340 # from: lib/ecto/changeset.ex341 (_() when args_or_arity == 2) when length(args_or_arity) == 2342343 where "module" was given the type:344345 # type: dynamic()346 # from: lib/ecto/changeset.ex:733:30347 module348349 type warning found at:350 │351 741 │ ... when length(args_or_arity) == 2 ->352 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~353 │354 └─ lib/ecto/changeset.ex:741: Ecto.Changeset.on_cast_default/2355356 warning: incompatible types given to Mix.Ecto.ensure_started/2:357358 Mix.Ecto.ensure_started(repo, opts)359360 given types:361362 -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))363364 but expected one of:365366 %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())367368 where "opts" was given the type:369370 # type: dynamic(371 %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or372 non_struct_map()373 )374 # from: lib/mix/tasks/ecto.migrate.ex:68:10375 opts =376 if opts[:quiet] do377 Keyword.merge(opts, log: false, log_sql: false)378 else379 opts380 end381382 where "repo" was given the type:383384 # type: dynamic(atom())385 # from: lib/mix/tasks/ecto.migrate.ex:74:7386 Mix.Ecto.ensure_repo(repo, args)387388 type warning found at:389 │390 76 │ {:ok, pid, apps} = ensure_started(repo, opts)391 │ ~392 │393 └─ lib/mix/tasks/ecto.migrate.ex:76:26: Mix.Tasks.Ecto.Migrate.run/2394395 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead396 │397 739 │ case System.stacktrace do398 │ ~399 │400 └─ lib/ecto/changeset.ex:739:23: Ecto.Changeset.on_cast_default/2401402 warning: incompatible types given to Mix.Ecto.source_repo_priv/1:403404 Mix.Ecto.source_repo_priv(repo)405406 given types:407408 -dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})-409410 but expected one of:411412 atom()413414 where "repo" was given the types:415416 # type: dynamic(%{..., config: empty_list() or non_empty_list(term(), term())})417 # from: lib/mix/tasks/ecto.load.ex:70:22418 Keyword.merge(repo.config, opts)419420 # type: dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})421 # from: lib/mix/tasks/ecto.load.ex:72:27422 repo.__adapter__.structure_load(Mix.Ecto.source_repo_priv(repo), config)423424 type warning found at:425 │426 72 │ case repo.__adapter__.structure_load(source_repo_priv(repo), config) do427 │ ~428 │429 └─ lib/mix/tasks/ecto.load.ex:72:42: Mix.Tasks.Ecto.Load.load_structure/2430431 warning: expected a map or struct when accessing .__adapter__ in expression:432433 repo.__adapter__434435 where "repo" was given the type:436437 # type: dynamic(atom())438 # from: lib/mix/tasks/ecto.load.ex:53:7439 Mix.Ecto.ensure_repo(repo, args)440441 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()442443 type warning found at:444 │445 54 │ ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,446 │ ~447 │448 └─ lib/mix/tasks/ecto.load.ex:54:30: Mix.Tasks.Ecto.Load.run/1449450 warning: expected a map or struct when accessing .__adapter__ in expression:451452 repo.__adapter__453454 where "repo" was given the type:455456 # type: dynamic(atom())457 # from: lib/mix/tasks/ecto.dump.ex:50:7458 Mix.Ecto.ensure_repo(repo, args)459460 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()461462 type warning found at:463 │464 51 │ ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,465 │ ~466 │467 └─ lib/mix/tasks/ecto.dump.ex:51:30: Mix.Tasks.Ecto.Dump.run/1468469 warning: expected a map or struct when accessing .__adapter__ in expression:470471 repo.__adapter__472473 where "repo" was given the type:474475 # type: dynamic(atom())476 # from: lib/mix/tasks/ecto.drop.ex:39:7477 Mix.Ecto.ensure_repo(repo, args)478479 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()480481 type warning found at:482 │483 40 │ ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,484 │ ~485 │486 └─ lib/mix/tasks/ecto.drop.ex:40:30: Mix.Tasks.Ecto.Drop.run/1487488 warning: expected a map or struct when accessing .__adapter__ in expression:489490 repo.__adapter__491492 where "repo" was given the type:493494 # type: dynamic(atom())495 # from: lib/mix/tasks/ecto.create.ex:37:7496 Mix.Ecto.ensure_repo(repo, args)497498 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()499500 type warning found at:501 │502 38 │ ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,503 │ ~504 │505 └─ lib/mix/tasks/ecto.create.ex:38:30: Mix.Tasks.Ecto.Create.run/1506507 warning: Mix.Project.compile/1 is deprecated. Use Mix.Task.run("compile", args) instead508 │509 62 │ Mix.Project.compile(args)510 │ ~511 │512 └─ lib/mix/ecto.ex:62:19: Mix.Ecto.ensure_repo/2513514 warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)515 │516 856 │ not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->517 │ ~518 │519 └─ lib/ecto/association.ex:856:78: Ecto.Association.ManyToMany.after_compile_validation/2520 └─ lib/ecto/association.ex:860:45: Ecto.Association.ManyToMany.after_compile_validation/2521522 warning: expected a module (an atom) when invoking start_link/1 in expression:523524 repo.start_link(pool_size: pool_size)525526 where "pool_size" was given the type:527528 # type: dynamic()529 # from: lib/mix/ecto.ex:101:15530 pool_size = Keyword.get(opts, :pool_size, 1)531532 where "repo" was given the type:533534 # type: dynamic(%{..., __adapter__: atom()})535 # from: lib/mix/ecto.ex:99:36536 repo.__adapter__.ensure_all_started(repo, :temporary)537538 type warning found at:539 │540 102 │ case repo.start_link(pool_size: pool_size) do541 │ ~542 │543 └─ lib/mix/ecto.ex:102:15: Mix.Ecto.ensure_started/2544545 warning: Logger.remove_backend/1 is deprecated. Use LoggerBackends.remove/2 from :logger_backends dependency546 │547 146 │ Logger.remove_backend(:console)548 │ ~549 │550 └─ lib/mix/ecto.ex:146:12: Mix.Ecto.restart_apps_if_migrated/2551552 warning: Logger.add_backend/2 is deprecated. Use LoggerBackends.add/2 from :logger_backends dependency553 │554 155 │ Logger.add_backend(:console, flush: true)555 │ ~556 │557 └─ lib/mix/ecto.ex:155:12: Mix.Ecto.restart_apps_if_migrated/2558559 warning: incompatible types given to get_source/1:560561 get_source(repo)562563 given types:564565 -dynamic(atom())-566567 but expected one of:568569 %{..., config: empty_list() or non_empty_list(term(), term())}570571 where "repo" was given the type:572573 # type: dynamic(atom())574 # from: lib/ecto/migration/schema_migration.ex:24:13575 repo.all(576 Map.put(577 (578 query =579 (580 query = {get_source(repo), Ecto.Migration.SchemaMigration}581 Ecto.Query.Builder.From.apply(query, 1)582 )583 584 Ecto.Query.Builder.Select.apply(query, %Ecto.Query.SelectExpr{585 ...,586 expr: {{:., [], [{:&, [], [0]}, :version]}, [], []},587 file: "/work/proj/deps_x86_64/ecto/lib/ecto/migration/schema_migration.ex",588 line: 22,589 take: %{}590 })591 ),592 :prefix,593 prefix594 ), timeout: :infinity, log: false)595596 type warning found at:597 │598 22 │ from(p in {get_source(repo), __MODULE__}, select: p.version)599 │ ~600 │601 └─ lib/ecto/migration/schema_migration.ex:22:16: Ecto.Migration.SchemaMigration.migrated_versions/2602603 warning: incompatible types given to get_source/1:604605 get_source(repo)606607 given types:608609 -dynamic(atom())-610611 but expected one of:612613 %{..., config: empty_list() or non_empty_list(term(), term())}614615 where "repo" was given the type:616617 # type: dynamic(atom())618 # from: lib/ecto/migration/schema_migration.ex:30:13619 repo.insert!(620 Ecto.put_meta(%Ecto.Migration.SchemaMigration{..., version: version},621 prefix: prefix,622 source: get_source(repo)623 ), timeout: :infinity, log: false)624625 type warning found at:626 │627 29 │ |> Ecto.put_meta(prefix: prefix, source: get_source(repo))628 │ ~629 │630 └─ lib/ecto/migration/schema_migration.ex:29:46: Ecto.Migration.SchemaMigration.up/3631632 warning: incompatible types given to get_source/1:633634 get_source(repo)635636 given types:637638 -dynamic(atom())-639640 but expected one of:641642 %{..., config: empty_list() or non_empty_list(term(), term())}643644 where "repo" was given the type:645646 # type: dynamic(atom())647 # from: lib/ecto/migration/schema_migration.ex:36:13648 repo.delete_all(649 Map.put(650 (651 query =652 (653 query = {get_source(repo), Ecto.Migration.SchemaMigration}654 Ecto.Query.Builder.From.apply(query, 1)655 )656 657 Ecto.Query.Builder.Filter.apply(query, :where, %Ecto.Query.BooleanExpr{658 expr: {:==, [], [{{:., [], [{:&, [], [0]}, :version]}, [], []}, {:^, [], [0]}]},659 op: :and,660 params: [{Ecto.Query.Builder.not_nil!(version), {0, :version}}],661 file: "/work/proj/deps_x86_64/ecto/lib/ecto/migration/schema_migration.ex",662 line: 34663 })664 ),665 :prefix,666 prefix667 ), timeout: :infinity, log: false)668669 type warning found at:670 │671 34 │ from(p in {get_source(repo), __MODULE__}, where: p.version == ^version)672 │ ~673 │674 └─ lib/ecto/migration/schema_migration.ex:34:16: Ecto.Migration.SchemaMigration.down/3675676 warning: this clause of defp type_to_module/1 is never used (or it will always fail/warn when invoked)677 │678 1422 │ defp type_to_module(:naive_datetime), do: NaiveDateTime679 │ ~680 │681 └─ lib/ecto/schema.ex:1422:8: Ecto.Schema.type_to_module/1682683 warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)684 │685 715 │ not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->686 │ ~687 │688 └─ lib/ecto/association.ex:715:78: Ecto.Association.BelongsTo.after_compile_validation/2689690 warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)691 │692 1885 │ if Code.ensure_compiled?(type) and function_exported?(type, :type, 0) do693 │ ~694 │695 └─ lib/ecto/schema.ex:1885:17: Ecto.Schema.check_type!/3696697 warning: the following conditional expression:698699 is_atom(related)700701 will always evaluate to:702703 dynamic(true)704705 where "related" was given the type:706707 # type: dynamic(atom())708 # from: lib/ecto/association.ex:730:15709 related = Ecto.Association.related_from_query(queryable)710711 type warning found at:712 │713 732 │ unless is_atom(related) do714 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~715 │716 └─ lib/ecto/association.ex:732: Ecto.Association.BelongsTo.struct/3717718 warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)719 │720 430 │ not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->721 │ ~722 │723 └─ lib/ecto/association.ex:430:78: Ecto.Association.Has.after_compile_validation/2724725 warning: the following clause will never match:726727 {:error, _} = error ->728729 because it attempts to match on the result of:730731 apply(changeset, adapter, :insert, args)732733 which has type:734735 dynamic({:invalid or :ok, term()})736737 type warning found at:738 │739 219 │ {:error, _} = error ->740 │ ~741 │742 └─ lib/ecto/repo/schema.ex:219:23: Ecto.Repo.Schema.do_insert/4743744 warning: the following clause will never match:745746 {:error, _} = error ->747748 because it attempts to match on the result of:749750 apply(changeset, adapter, action, args)751752 which has type:753754 dynamic({:invalid or :ok, term()})755756 type warning found at:757 │758 297 │ {:error, _} = error ->759 │ ~760 │761 └─ lib/ecto/repo/schema.ex:297:25: Ecto.Repo.Schema.do_update/4762763 warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead764 │765 29 │ surround_many("#Ecto.Query<", list, ">", opts, fn str, _ -> str end)766 │ ~767 │768 └─ lib/ecto/query/inspect.ex:29:5: Inspect.Ecto.Query.inspect/2769770 warning: Macro.to_string/2 is deprecated. Use Macro.to_string/1 instead771 │772 144 │ Macro.to_string(expr, &expr_to_string(&1, &2, names, part))773 │ ~774 │775 └─ lib/ecto/query/inspect.ex:144:11: Inspect.Ecto.Query.expr/3776777 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead778 │779 54 │ filter_and_reraise e, System.stacktrace780 │ ~781 │782 └─ lib/ecto/repo/preloader.ex:54:36: Ecto.Repo.Preloader.normalize_and_preload_each/5783784 warning: BadStructError.exception/1 is undefined (module BadStructError is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)785 │786 228 │ raise BadStructError, struct: struct, term: data787 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~788 │789 └─ lib/ecto/repo/queryable.ex:228: Ecto.Repo.Queryable.process/5790791 warning: Map.size/1 is deprecated. Use Kernel.map_size/1 instead792 │793 44 │ index = Map.size(params)794 │ ~795 │796 └─ lib/ecto/query/builder.ex:44:18: Ecto.Query.Builder.escape/5797 └─ lib/ecto/query/builder.ex:53:17: Ecto.Query.Builder.escape/5798799 warning: Decimal.minus/1 is deprecated. Use Decimal.negate/1 instead800 │801 614 │ Decimal.minus(decimal)802 │ ~803 │804 └─ lib/ecto/query/builder.ex:614:13: Ecto.Query.Builder.negate!/1805806 warning: the following clause will never match:807808 {:error, _} ->809810 because it attempts to match on the result of:811812 NaiveDateTime.new(date, time)813814 which has type:815816 dynamic({:ok, %NaiveDateTime{}})817818 type warning found at:819 │820 803 │ {:error, _} -> :error821 │ ~~~~~~~~~~~~~~~~~~~~~822 │823 └─ lib/ecto/type.ex:803: Ecto.Type.cast_naive_datetime/1824825 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead826 │827 159 │ supervise(children, strategy: :one_for_one)828 │ ~829 │830 └─ lib/ecto/repo/supervisor.ex:159:9: Ecto.Repo.Supervisor.init/1831832 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead833 │834 214 │ filter_and_reraise e, System.stacktrace835 │ ~836 │837 └─ lib/ecto/query/planner.ex:214:36: Ecto.Query.Planner.prepare/4838 └─ lib/ecto/query/planner.ex:709:36: Ecto.Query.Planner.normalize/4839840 warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead841 │842 15 │ surround_many("dynamic(", [Macro.to_string(binding), inspected], ")", opts, fn str, _ -> str end)843 │ ~844 │845 └─ lib/ecto/query/inspect.ex:15:5: Inspect.Ecto.Query.DynamicExpr.inspect/2846847 warning: expected a map or struct when accessing .__struct__ in expression:848849 schema.__struct__850851 where "schema" was given the types:852853 # type: dynamic(atom() and not nil)854 # from: lib/ecto/query/planner.ex:1186:41855 schema856857 # type: atom()858 # from: lib/ecto/query/planner.ex:1186:61859 is_atom(schema)860861 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()862863 type warning found at:864 │865 1190 │ Map.has_key?(schema.__struct__, field) ->866 │ ~867 │868 └─ lib/ecto/query/planner.ex:1190:27: Ecto.Query.Planner.type!/6869870 warning: incompatible types given to Ecto.Migration.SchemaMigration.migrated_versions/2:871872 Ecto.Migration.SchemaMigration.migrated_versions(repo, opts[:prefix])873874 given types:875876 (877 -dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})-,878 dynamic()879 )880881 but expected one of:882883 atom(), term()884885 where "opts" was given the type:886887 # type: dynamic(888 %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or889 non_struct_map()890 )891 # from: lib/ecto/migrator.ex:44:65892 opts[:prefix]893894 where "repo" was given the type:895896 # type: dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})897 # from: lib/ecto/migrator.ex:44:23898 Ecto.Migration.SchemaMigration.ensure_schema_migrations_table!(repo, opts[:prefix])899900 type warning found at:901 │902 45 │ SchemaMigration.migrated_versions(repo, opts[:prefix])903 │ ~904 │905 └─ lib/ecto/migrator.ex:45:23: Ecto.Migrator.migrated_versions/2906907 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead908 │909 12 │ worker(Ecto.Migration.Runner, [], restart: :temporary)910 │ ~911 │912 └─ lib/ecto/migration/supervisor.ex:12:7: Ecto.Migration.Supervisor.init/1913914 warning: expected a module (an atom) when invoking transaction/2 in expression:915916 repo.transaction(fun, log: false, timeout: :infinity)917918 where "fun" was given the type:919920 # type: dynamic()921 # from: lib/ecto/migrator.ex:114:47922 fun923924 where "repo" was given the types:925926 # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: term()}})927 # from: lib/ecto/migrator.ex:118:24928 repo.__adapter__.supports_ddl_transaction?929930 # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: not false and not nil}})931 # from: lib/ecto/migrator.ex:118:24932 repo.__adapter__.supports_ddl_transaction?933934 type warning found at:935 │936 119 │ repo.transaction(fun, [log: false, timeout: :infinity])937 │ ~938 │939 └─ lib/ecto/migrator.ex:119:14: Ecto.Migrator.run_maybe_in_transaction/3940941 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead942 │943 15 │ supervise(children, strategy: :simple_one_for_one)944 │ ~945 │946 └─ lib/ecto/migration/supervisor.ex:15:5: Ecto.Migration.Supervisor.init/1947948 warning: Code.load_file/1 is deprecated. Use Code.require_file/2 or Code.compile_file/2 instead949 │950 291 │ modules = Code.load_file(file)951 │ ~952 │953 └─ lib/ecto/migrator.ex:291:20: Ecto.Migrator.extract_module/2954955 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead956 │957 321 │ reraise error, System.stacktrace958 │ ~959 │960 └─ lib/ecto/migrator.ex:321:31: Ecto.Migrator.verbose_schema_migration/3961962 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead963 │964 10 │ worker(Ecto.Registry, []),965 │ ~966 │967 └─ lib/ecto/application.ex:10:7: Ecto.Application.start/2968969 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead970 │971 11 │ supervisor(Ecto.Migration.Supervisor, [])972 │ ~973 │974 └─ lib/ecto/application.ex:11:7: Ecto.Application.start/2975976Generated ecto app977==> gandalf978Compiling 30 files (.ex)979 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead980 │981 128 │ @repo Application.get_env(:gandalf, :repo)982 │ ~983 │984 └─ lib/gandalf.ex:128:21: Gandalf (module)985986 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead987 │988 10 │ @auth_strategies Application.get_env(:gandalf, :auth_strategies)989 │ ~990 │991 └─ lib/gandalf/auth_strategies/header.ex:10:32: Gandalf.AuthStrategy.Header (module)992993 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead994 │995 8 │ @auth_strategies Application.get_env(:gandalf, :auth_strategies)996 │ ~997 │998 └─ lib/gandalf/auth_strategies/query_param.ex:8:32: Gandalf.AuthStrategy.QueryParam (module)9991000 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead1001 │1002 10 │ @auth_strategies Application.get_env(:gandalf, :auth_strategies)1003 │ ~1004 │1005 └─ lib/gandalf/auth_strategies/session.ex:10:32: Gandalf.AuthStrategy.Session (module)100610071008== Compilation error in file lib/gandalf/auth_strategies/session.ex ==1009** (BadMapError) expected a map, got:10101011 nil10121013 (elixir 1.20.3) lib/map.ex:596: Map.get(nil, :sessions, nil)1014 lib/gandalf/auth_strategies/session.ex:11: (module)1015could not compile dependency :gandalf, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile gandalf --force", update it with "mix deps.update gandalf" or clean it with "mix deps.clean gandalf"