tds_ecto

Build log

nerves_system_x86_64

tds_ecto 2.3.0 · fail · run tds_ecto-2.3.0-1791129015595
1057 of 1057 lines
1Resolving Hex dependencies...2Resolution completed in 0.124s3Unchanged:4  circular_buffer 1.1.05  connection 1.0.46  db_connection 1.1.37  decimal 1.9.0 VULNERABLE!8    EEF-CVE-2026-32686 (MEDIUM)9    aka: CVE-2026-32686, GHSA-rhv4-8758-jx7v10    Unbounded exponent in decimal enables unauthenticated DoS11    https://osv.dev/vulnerability/EEF-CVE-2026-3268612  ecto 2.2.1213  elixir_make 0.10.014  interactive_cmd 0.1.415  nerves 2.0.0-pre.216  nerves_discovery 0.1.517  nerves_logging 0.2.418  nerves_runtime 0.13.1319  nerves_system_bbb 2.30.220  nerves_system_br 1.34.421  nerves_system_mangopi_mq_pro 0.17.222  nerves_system_qemu_aarch64 0.4.223  nerves_system_rpi0 2.1.224  nerves_system_rpi4 2.1.225  nerves_system_rpi5 2.1.226  nerves_system_trellis 0.5.027  nerves_system_x86_64 1.34.228  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.129  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.130  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.131  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.132  nerves_toolchain_x86_64_nerves_linux_musl 15.3.133  nerves_uevent 0.1.734  poolboy 1.5.235  property_table 0.3.436  ring_logger 0.11.737  rustler 0.20.038  tablet 0.3.339  tds 1.2.440  tds_ecto 2.3.041  toolshed 0.5.042  uboot_env 1.0.243* Getting tds_ecto (Hex package)44* Getting nerves (Hex package)45* Getting ring_logger (Hex package)46* Getting toolshed (Hex package)47* Getting nerves_runtime (Hex package)48* Getting nerves_system_bbb (Hex package)49* Getting nerves_system_mangopi_mq_pro (Hex package)50* Getting nerves_system_qemu_aarch64 (Hex package)51* Getting nerves_system_rpi0 (Hex package)52* Getting nerves_system_rpi4 (Hex package)53* Getting nerves_system_rpi5 (Hex package)54* Getting nerves_system_trellis (Hex package)55* Getting nerves_system_x86_64 (Hex package)56* Getting nerves_system_br (Hex package)57* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)58* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)59* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)60* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)62* Getting nerves_logging (Hex package)63* Getting nerves_uevent (Hex package)64* Getting uboot_env (Hex package)65* Getting elixir_make (Hex package)66* Getting property_table (Hex package)67* Getting circular_buffer (Hex package)68* Getting interactive_cmd (Hex package)69* Getting nerves_discovery (Hex package)70* Getting tablet (Hex package)71* Getting ecto (Hex package)72* Getting tds (Hex package)73* Getting db_connection (Hex package)74* Getting decimal (Hex package)75* Getting rustler (Hex package)76* Getting connection (Hex package)77* Getting poolboy (Hex package)78Found packages with security advisories, see above for details79==> rustler80warning: in order to compile .yrl files, you must add "compilers: [:yecc] ++ Mix.compilers()" to the "def project" section of rustler's mix.exs81Compiling 1 file (.yrl)82warning: in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of rustler's mix.exs83Compiling 1 file (.xrl)84Compiling 2 files (.erl)85Compiling 6 files (.ex)86    warning: using single-quoted strings to represent charlists is deprecated.87    Use ~c"" if you indeed want a charlist or use "" instead.88    You may run "mix format --migrate" to change all single-quoted89    strings to use the ~c sigil and fix this warning.90    │91 60 │     '2.7',92    │     ~93    │94    └─ lib/rustler.ex:60:59596    warning: using single-quoted strings to represent charlists is deprecated.97    Use ~c"" if you indeed want a charlist or use "" instead.98    You may run "mix format --migrate" to change all single-quoted99    strings to use the ~c sigil and fix this warning.100    │101 61 │     '2.8',102    │     ~103    │104    └─ lib/rustler.ex:61:5105106    warning: using single-quoted strings to represent charlists is deprecated.107    Use ~c"" if you indeed want a charlist or use "" instead.108    You may run "mix format --migrate" to change all single-quoted109    strings to use the ~c sigil and fix this warning.110    │111 62 │     '2.9',112    │     ~113    │114    └─ lib/rustler.ex:62:5115116    warning: using single-quoted strings to represent charlists is deprecated.117    Use ~c"" if you indeed want a charlist or use "" instead.118    You may run "mix format --migrate" to change all single-quoted119    strings to use the ~c sigil and fix this warning.120    │121 63 │     '2.10',122    │     ~123    │124    └─ lib/rustler.ex:63:5125126    warning: using single-quoted strings to represent charlists is deprecated.127    Use ~c"" if you indeed want a charlist or use "" instead.128    You may run "mix format --migrate" to change all single-quoted129    strings to use the ~c sigil and fix this warning.130    │131 64 │     '2.11',132    │     ~133    │134    └─ lib/rustler.ex:64:5135136    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 65 │     '2.12',142    │     ~143    │144    └─ lib/rustler.ex:65:5145146    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 66 │     '2.13',152    │     ~153    │154    └─ lib/rustler.ex:66:5155156    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 67 │     '2.14',162    │     ~163    │164    └─ lib/rustler.ex:67:5165166Generated rustler app167warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"168  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2169  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1170  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5171  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2172  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4173  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2174175==> ecto176Compiling 70 files (.ex)177     warning: using single-quoted strings to represent charlists is deprecated.178     Use ~c"" if you indeed want a charlist or use "" instead.179     You may run "mix format --migrate" to change all single-quoted180     strings to use the ~c sigil and fix this warning.181     │182 166 │     defp insert_all_value(_),   do: '?'183     │                                     ~184     │185     └─ lib/ecto/adapters/mysql/connection.ex:166:37186187     warning: using single-quoted strings to represent charlists is deprecated.188     Use ~c"" if you indeed want a charlist or use "" instead.189     You may run "mix format --migrate" to change all single-quoted190     strings to use the ~c sigil and fix this warning.191     │192 354 │       '?'193     │       ~194     │195     └─ lib/ecto/adapters/mysql/connection.ex:354:7196197      warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.198199      This error happens when you have function calls without parentheses inside keywords. For example:200201          function(arg, one: nested_call a, b, c)202          function(arg, one: if expr, do: :this, else: :that)203204      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:205206          function(arg, one: if(expr, do: :this, else: :that))207          function(arg, one: nested_call(a, b, c))208209      Ambiguity found at:210      │211 2286 │     raise ArgumentError, "cannot add constraint to changeset because it does not have a source, got: #{inspect data}"212      │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~213      │214      └─ lib/ecto/changeset.ex:2286215216     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.217218     This error happens when you have function calls without parentheses inside keywords. For example:219220         function(arg, one: nested_call a, b, c)221         function(arg, one: if expr, do: :this, else: :that)222223     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:224225         function(arg, one: if(expr, do: :this, else: :that))226         function(arg, one: nested_call(a, b, c))227228     Ambiguity found at:229     │230 265 │     do: raise ArgumentError, "a constraint must have either a check or exclude option"231     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~232     │233     └─ lib/ecto/migration/runner.ex:265234235     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.236237     This error happens when you have function calls without parentheses inside keywords. For example:238239         function(arg, one: nested_call a, b, c)240         function(arg, one: if expr, do: :this, else: :that)241242     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:243244         function(arg, one: if(expr, do: :this, else: :that))245         function(arg, one: nested_call(a, b, c))246247     Ambiguity found at:248     │249 267 │     do: raise ArgumentError, "a constraint must not have both check and exclude options"250     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~251     │252     └─ lib/ecto/migration/runner.ex:267253254     warning: atom ::: must be written between quotes, as in :"::", to avoid ambiguity255     │256 136 │       {:::, _, [left, _]} -> is_integer(left) or is_binary(left)257     │        ~258     │259     └─ lib/ecto/query/builder.ex:136:8260261     warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)262     │263 643 │   def quoted_type({:datetime_add, _, [_, _, __]}, _vars), do: :naive_datetime264     │                                             ~~265     │266     └─ lib/ecto/query/builder.ex:643:45: Ecto.Query.Builder.quoted_type/2267268     warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)269     │270 644 │   def quoted_type({:date_add, _, [_, _, __]}, _vars), do: :date271     │                                         ~~272     │273     └─ lib/ecto/query/builder.ex:644:41: Ecto.Query.Builder.quoted_type/2274275     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.276277     This error happens when you have function calls without parentheses inside keywords. For example:278279         function(arg, one: nested_call a, b, c)280         function(arg, one: if expr, do: :this, else: :that)281282     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:283284         function(arg, one: if(expr, do: :this, else: :that))285         function(arg, one: nested_call(a, b, c))286287     Ambiguity found at:288     │289 454 │     do: raise ArgumentError, "a changeset with action #{inspect given} was given to #{inspect repo}.#{action}/2"290     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~291     │292     └─ lib/ecto/repo/schema.ex:454293294    warning: unused require Ecto.Query295    │296  6 │   require Ecto.Query297    │   ~298    │299    └─ lib/ecto/repo/preloader.ex:6:3300301Compiling lib/ecto.ex (it's taking more than 10s)302    warning: Module.eval_quoted/2 is deprecated. Use Code.eval_quoted/3 instead303    │304  9 │   schema "schema_migrations" do305    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~306    │307    └─ lib/ecto/migration/schema_migration.ex:9: Ecto.Migration.SchemaMigration (module)308309    warning: incompatible types given to Mix.Ecto.ensure_started/2:310311        Mix.Ecto.ensure_started(repo, opts)312313    given types:314315        -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))316317    but expected one of:318319        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())320321    where "opts" was given the type:322323        # type: dynamic(324          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or325            non_struct_map()326        )327        # from: lib/mix/tasks/ecto.rollback.ex:64:10328        opts =329          if opts[:quiet] do330            Keyword.merge(opts, log: false, log_sql: false)331          else332            opts333          end334335    where "repo" was given the type:336337        # type: dynamic(atom())338        # from: lib/mix/tasks/ecto.rollback.ex:70:7339        Mix.Ecto.ensure_repo(repo, args)340341    type warning found at:342    │343 72 │       {:ok, pid, apps} = ensure_started(repo, opts)344    │                          ~345    │346    └─ lib/mix/tasks/ecto.rollback.ex:72:26: Mix.Tasks.Ecto.Rollback.run/2347348    warning: incompatible types given to Mix.Ecto.ensure_started/2:349350        Mix.Ecto.ensure_started(repo, all: true)351352    given types:353354        -dynamic(atom())-, non_empty_list({:all, true})355356    but expected one of:357358        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())359360    where "repo" was given the type:361362        # type: dynamic(atom())363        # from: lib/mix/tasks/ecto.migrations.ex:37:7364        Mix.Ecto.ensure_repo(repo, args)365366    type warning found at:367    │368 39 │       {:ok, pid, _} = ensure_started(repo, all: true)369    │                       ~370    │371    └─ lib/mix/tasks/ecto.migrations.ex:39:23: Mix.Tasks.Ecto.Migrations.run/3372373    warning: incompatible types given to Mix.Ecto.ensure_started/2:374375        Mix.Ecto.ensure_started(repo, opts)376377    given types:378379        -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))380381    but expected one of:382383        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())384385    where "opts" was given the type:386387        # type: dynamic(388          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or389            non_struct_map()390        )391        # from: lib/mix/tasks/ecto.migrate.ex:68:10392        opts =393          if opts[:quiet] do394            Keyword.merge(opts, log: false, log_sql: false)395          else396            opts397          end398399    where "repo" was given the type:400401        # type: dynamic(atom())402        # from: lib/mix/tasks/ecto.migrate.ex:74:7403        Mix.Ecto.ensure_repo(repo, args)404405    type warning found at:406    │407 76 │       {:ok, pid, apps} = ensure_started(repo, opts)408    │                          ~409    │410    └─ lib/mix/tasks/ecto.migrate.ex:76:26: Mix.Tasks.Ecto.Migrate.run/2411412     warning: struct DBConnection.OwnershipError is undefined (module DBConnection.OwnershipError is not available or is yet to be defined)413     │414 258 │       err in DBConnection.OwnershipError ->415     │           ~416     │417     └─ lib/ecto/adapters/sql.ex:258:11: Ecto.Adapters.SQL.sql_call/6418419     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead420     │421 260 │         reraise %{err | message: message}, System.stacktrace422     │                                                   ~423     │424     └─ lib/ecto/adapters/sql.ex:260:51: Ecto.Adapters.SQL.sql_call/6425426    warning: incompatible types given to Mix.Ecto.source_repo_priv/1:427428        Mix.Ecto.source_repo_priv(repo)429430    given types:431432        -dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})-433434    but expected one of:435436        atom()437438    where "repo" was given the types:439440        # type: dynamic(%{..., config: empty_list() or non_empty_list(term(), term())})441        # from: lib/mix/tasks/ecto.load.ex:70:22442        Keyword.merge(repo.config, opts)443444        # type: dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})445        # from: lib/mix/tasks/ecto.load.ex:72:27446        repo.__adapter__.structure_load(Mix.Ecto.source_repo_priv(repo), config)447448    type warning found at:449    │450 72 │     case repo.__adapter__.structure_load(source_repo_priv(repo), config) do451    │                                          ~452    │453    └─ lib/mix/tasks/ecto.load.ex:72:42: Mix.Tasks.Ecto.Load.load_structure/2454455    warning: expected a map or struct when accessing .__adapter__ in expression:456457        repo.__adapter__458459    where "repo" was given the type:460461        # type: dynamic(atom())462        # from: lib/mix/tasks/ecto.load.ex:53:7463        Mix.Ecto.ensure_repo(repo, args)464465    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()466467    type warning found at:468    │469 54 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,470    │                              ~471    │472    └─ lib/mix/tasks/ecto.load.ex:54:30: Mix.Tasks.Ecto.Load.run/1473474      warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead475      │476 2400 │     surround_many("#Ecto.Changeset<", list, ">", opts, fn477      │     ~478      │479      └─ lib/ecto/changeset.ex:2400:5: Inspect.Ecto.Changeset.inspect/2480481    warning: expected a map or struct when accessing .__adapter__ in expression:482483        repo.__adapter__484485    where "repo" was given the type:486487        # type: dynamic(atom())488        # from: lib/mix/tasks/ecto.dump.ex:50:7489        Mix.Ecto.ensure_repo(repo, args)490491    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()492493    type warning found at:494    │495 51 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,496    │                              ~497    │498    └─ lib/mix/tasks/ecto.dump.ex:51:30: Mix.Tasks.Ecto.Dump.run/1499500     warning: the following clause will never match:501502         [{^module, :changeset, args_or_arity, _}] when args_or_arity == 2 when length(args_or_arity) == 2 ->503504     because it attempts to match on the result of:505506         System.stacktrace()507508     which has type:509510         empty_list()511512     where "args_or_arity" was given the type:513514         # type: float() or integer() or non_empty_list(term())515         # from: lib/ecto/changeset.ex516         (_() when args_or_arity == 2) when length(args_or_arity) == 2517518     where "module" was given the type:519520         # type: dynamic()521         # from: lib/ecto/changeset.ex:733:30522         module523524     type warning found at:525     │526 741 │ ...                   when length(args_or_arity) == 2 ->527     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~528     │529     └─ lib/ecto/changeset.ex:741: Ecto.Changeset.on_cast_default/2530531    warning: expected a map or struct when accessing .__adapter__ in expression:532533        repo.__adapter__534535    where "repo" was given the type:536537        # type: dynamic(atom())538        # from: lib/mix/tasks/ecto.drop.ex:39:7539        Mix.Ecto.ensure_repo(repo, args)540541    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()542543    type warning found at:544    │545 40 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,546    │                              ~547    │548    └─ lib/mix/tasks/ecto.drop.ex:40:30: Mix.Tasks.Ecto.Drop.run/1549550    warning: expected a map or struct when accessing .__adapter__ in expression:551552        repo.__adapter__553554    where "repo" was given the type:555556        # type: dynamic(atom())557        # from: lib/mix/tasks/ecto.create.ex:37:7558        Mix.Ecto.ensure_repo(repo, args)559560    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()561562    type warning found at:563    │564 38 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,565    │                              ~566    │567    └─ lib/mix/tasks/ecto.create.ex:38:30: Mix.Tasks.Ecto.Create.run/1568569     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead570     │571 739 │           case System.stacktrace do572     │                       ~573     │574     └─ lib/ecto/changeset.ex:739:23: Ecto.Changeset.on_cast_default/2575576    warning: Mix.Project.compile/1 is deprecated. Use Mix.Task.run("compile", args) instead577    │578 62 │       Mix.Project.compile(args)579    │                   ~580    │581    └─ lib/mix/ecto.ex:62:19: Mix.Ecto.ensure_repo/2582583     warning: expected a module (an atom) when invoking start_link/1 in expression:584585         repo.start_link(pool_size: pool_size)586587     where "pool_size" was given the type:588589         # type: dynamic()590         # from: lib/mix/ecto.ex:101:15591         pool_size = Keyword.get(opts, :pool_size, 1)592593     where "repo" was given the type:594595         # type: dynamic(%{..., __adapter__: atom()})596         # from: lib/mix/ecto.ex:99:36597         repo.__adapter__.ensure_all_started(repo, :temporary)598599     type warning found at:600     │601 102 │     case repo.start_link(pool_size: pool_size) do602     │               ~603     │604     └─ lib/mix/ecto.ex:102:15: Mix.Ecto.ensure_started/2605606     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)607     │608 856 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->609     │                                                                              ~610     │611     └─ lib/ecto/association.ex:856:78: Ecto.Association.ManyToMany.after_compile_validation/2612     └─ lib/ecto/association.ex:860:45: Ecto.Association.ManyToMany.after_compile_validation/2613614     warning: Logger.remove_backend/1 is deprecated. Use LoggerBackends.remove/2 from :logger_backends dependency615     │616 146 │     Logger.remove_backend(:console)617     │            ~618     │619     └─ lib/mix/ecto.ex:146:12: Mix.Ecto.restart_apps_if_migrated/2620621    warning: incompatible types given to get_source/1:622623        get_source(repo)624625    given types:626627        -dynamic(atom())-628629    but expected one of:630631        %{..., config: empty_list() or non_empty_list(term(), term())}632633    where "repo" was given the type:634635        # type: dynamic(atom())636        # from: lib/ecto/migration/schema_migration.ex:24:13637        repo.all(638          Map.put(639            (640              query =641                (642                  query = {get_source(repo), Ecto.Migration.SchemaMigration}643                  Ecto.Query.Builder.From.apply(query, 1)644                )645        646              Ecto.Query.Builder.Select.apply(query, %Ecto.Query.SelectExpr{647                ...,648                expr: {{:., [], [{:&, [], [0]}, :version]}, [], []},649                file: "/work/proj/deps_x86_64/ecto/lib/ecto/migration/schema_migration.ex",650                line: 22,651                take: %{}652              })653            ),654            :prefix,655            prefix656          ), timeout: :infinity, log: false)657658    type warning found at:659    │660 22 │     from(p in {get_source(repo), __MODULE__}, select: p.version)661    │                ~662    │663    └─ lib/ecto/migration/schema_migration.ex:22:16: Ecto.Migration.SchemaMigration.migrated_versions/2664665     warning: Logger.add_backend/2 is deprecated. Use LoggerBackends.add/2 from :logger_backends dependency666     │667 155 │     Logger.add_backend(:console, flush: true)668     │            ~669     │670     └─ lib/mix/ecto.ex:155:12: Mix.Ecto.restart_apps_if_migrated/2671672    warning: incompatible types given to get_source/1:673674        get_source(repo)675676    given types:677678        -dynamic(atom())-679680    but expected one of:681682        %{..., config: empty_list() or non_empty_list(term(), term())}683684    where "repo" was given the type:685686        # type: dynamic(atom())687        # from: lib/ecto/migration/schema_migration.ex:30:13688        repo.insert!(689          Ecto.put_meta(%Ecto.Migration.SchemaMigration{..., version: version},690            prefix: prefix,691            source: get_source(repo)692          ), timeout: :infinity, log: false)693694    type warning found at:695    │696 29 │     |> Ecto.put_meta(prefix: prefix, source: get_source(repo))697    │                                              ~698    │699    └─ lib/ecto/migration/schema_migration.ex:29:46: Ecto.Migration.SchemaMigration.up/3700701    warning: incompatible types given to get_source/1:702703        get_source(repo)704705    given types:706707        -dynamic(atom())-708709    but expected one of:710711        %{..., config: empty_list() or non_empty_list(term(), term())}712713    where "repo" was given the type:714715        # type: dynamic(atom())716        # from: lib/ecto/migration/schema_migration.ex:36:13717        repo.delete_all(718          Map.put(719            (720              query =721                (722                  query = {get_source(repo), Ecto.Migration.SchemaMigration}723                  Ecto.Query.Builder.From.apply(query, 1)724                )725        726              Ecto.Query.Builder.Filter.apply(query, :where, %Ecto.Query.BooleanExpr{727                expr: {:==, [], [{{:., [], [{:&, [], [0]}, :version]}, [], []}, {:^, [], [0]}]},728                op: :and,729                params: [{Ecto.Query.Builder.not_nil!(version), {0, :version}}],730                file: "/work/proj/deps_x86_64/ecto/lib/ecto/migration/schema_migration.ex",731                line: 34732              })733            ),734            :prefix,735            prefix736          ), timeout: :infinity, log: false)737738    type warning found at:739    │740 34 │     from(p in {get_source(repo), __MODULE__}, where: p.version == ^version)741    │                ~742    │743    └─ lib/ecto/migration/schema_migration.ex:34:16: Ecto.Migration.SchemaMigration.down/3744745      warning: this clause of defp type_to_module/1 is never used (or it will always fail/warn when invoked)746      │747 1422 │   defp type_to_module(:naive_datetime), do: NaiveDateTime748      │        ~749      │750      └─ lib/ecto/schema.ex:1422:8: Ecto.Schema.type_to_module/1751752     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)753     │754 715 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->755     │                                                                              ~756     │757     └─ lib/ecto/association.ex:715:78: Ecto.Association.BelongsTo.after_compile_validation/2758759     warning: the following conditional expression:760761         is_atom(related)762763     will always evaluate to:764765         dynamic(true)766767     where "related" was given the type:768769         # type: dynamic(atom())770         # from: lib/ecto/association.ex:730:15771         related = Ecto.Association.related_from_query(queryable)772773     type warning found at:774     │775 732 │     unless is_atom(related) do776     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~777     │778     └─ lib/ecto/association.ex:732: Ecto.Association.BelongsTo.struct/3779780      warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)781      │782 1885 │         if Code.ensure_compiled?(type) and function_exported?(type, :type, 0) do783      │                 ~784      │785      └─ lib/ecto/schema.ex:1885:17: Ecto.Schema.check_type!/3786787     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)788     │789 430 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->790     │                                                                              ~791     │792     └─ lib/ecto/association.ex:430:78: Ecto.Association.Has.after_compile_validation/2793794     warning: the following clause will never match:795796         {:error, _} = error ->797798     because it attempts to match on the result of:799800         apply(changeset, adapter, :insert, args)801802     which has type:803804         dynamic({:invalid or :ok, term()})805806     type warning found at:807     │808 219 │           {:error, _} = error ->809     │                       ~810     │811     └─ lib/ecto/repo/schema.ex:219:23: Ecto.Repo.Schema.do_insert/4812813     warning: the following clause will never match:814815         {:error, _} = error ->816817     because it attempts to match on the result of:818819         apply(changeset, adapter, action, args)820821     which has type:822823         dynamic({:invalid or :ok, term()})824825     type warning found at:826     │827 297 │             {:error, _} = error ->828     │                         ~829     │830     └─ lib/ecto/repo/schema.ex:297:25: Ecto.Repo.Schema.do_update/4831832    warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead833    │834 29 │     surround_many("#Ecto.Query<", list, ">", opts, fn str, _ -> str end)835    │     ~836    │837    └─ lib/ecto/query/inspect.ex:29:5: Inspect.Ecto.Query.inspect/2838839     warning: Macro.to_string/2 is deprecated. Use Macro.to_string/1 instead840     │841 144 │     Macro.to_string(expr, &expr_to_string(&1, &2, names, part))842     │           ~843     │844     └─ lib/ecto/query/inspect.ex:144:11: Inspect.Ecto.Query.expr/3845846    warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead847    │848 54 │       filter_and_reraise e, System.stacktrace849    │                                    ~850    │851    └─ lib/ecto/repo/preloader.ex:54:36: Ecto.Repo.Preloader.normalize_and_preload_each/5852853    warning: Map.size/1 is deprecated. Use Kernel.map_size/1 instead854    │855 44 │     index  = Map.size(params)856    │                  ~857    │858    └─ lib/ecto/query/builder.ex:44:18: Ecto.Query.Builder.escape/5859    └─ lib/ecto/query/builder.ex:53:17: Ecto.Query.Builder.escape/5860861     warning: Decimal.minus/1 is deprecated. Use Decimal.negate/1 instead862     │863 614 │     Decimal.minus(decimal)864     │             ~865     │866     └─ lib/ecto/query/builder.ex:614:13: Ecto.Query.Builder.negate!/1867868     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)869     │870 228 │         raise BadStructError, struct: struct, term: data871     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~872     │873     └─ lib/ecto/repo/queryable.ex:228: Ecto.Repo.Queryable.process/5874875     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead876     │877 214 │       filter_and_reraise e, System.stacktrace878     │                                    ~879     │880     └─ lib/ecto/query/planner.ex:214:36: Ecto.Query.Planner.prepare/4881     └─ lib/ecto/query/planner.ex:709:36: Ecto.Query.Planner.normalize/4882883     warning: the following clause will never match:884885         {:error, _} ->886887     because it attempts to match on the result of:888889         NaiveDateTime.new(date, time)890891     which has type:892893         dynamic({:ok, %NaiveDateTime{}})894895     type warning found at:896     │897 803 │         {:error, _} -> :error898     │         ~~~~~~~~~~~~~~~~~~~~~899     │900     └─ lib/ecto/type.ex:803: Ecto.Type.cast_naive_datetime/1901902      warning: expected a map or struct when accessing .__struct__ in expression:903904          schema.__struct__905906      where "schema" was given the types:907908          # type: dynamic(atom() and not nil)909          # from: lib/ecto/query/planner.ex:1186:41910          schema911912          # type: atom()913          # from: lib/ecto/query/planner.ex:1186:61914          is_atom(schema)915916      hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()917918      type warning found at:919      │920 1190 │       Map.has_key?(schema.__struct__, field) ->921      │                           ~922      │923      └─ lib/ecto/query/planner.ex:1190:27: Ecto.Query.Planner.type!/6924925     warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead926     │927 159 │         supervise(children, strategy: :one_for_one)928     │         ~929     │930     └─ lib/ecto/repo/supervisor.ex:159:9: Ecto.Repo.Supervisor.init/1931932    warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead933    │934 15 │     surround_many("dynamic(", [Macro.to_string(binding), inspected], ")", opts, fn str, _ -> str end)935    │     ~936    │937    └─ lib/ecto/query/inspect.ex:15:5: Inspect.Ecto.Query.DynamicExpr.inspect/2938939    warning: incompatible types given to Ecto.Migration.SchemaMigration.migrated_versions/2:940941        Ecto.Migration.SchemaMigration.migrated_versions(repo, opts[:prefix])942943    given types:944945        (946          -dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})-,947          dynamic()948        )949950    but expected one of:951952        atom(), term()953954    where "opts" was given the type:955956        # type: dynamic(957          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or958            non_struct_map()959        )960        # from: lib/ecto/migrator.ex:44:65961        opts[:prefix]962963    where "repo" was given the type:964965        # type: dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})966        # from: lib/ecto/migrator.ex:44:23967        Ecto.Migration.SchemaMigration.ensure_schema_migrations_table!(repo, opts[:prefix])968969    type warning found at:970    │971 45 │       SchemaMigration.migrated_versions(repo, opts[:prefix])972    │                       ~973    │974    └─ lib/ecto/migrator.ex:45:23: Ecto.Migrator.migrated_versions/2975976     warning: expected a module (an atom) when invoking transaction/2 in expression:977978         repo.transaction(fun, log: false, timeout: :infinity)979980     where "fun" was given the type:981982         # type: dynamic()983         # from: lib/ecto/migrator.ex:114:47984         fun985986     where "repo" was given the types:987988         # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: term()}})989         # from: lib/ecto/migrator.ex:118:24990         repo.__adapter__.supports_ddl_transaction?991992         # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: not false and not nil}})993         # from: lib/ecto/migrator.ex:118:24994         repo.__adapter__.supports_ddl_transaction?995996     type warning found at:997     │998 119 │         repo.transaction(fun, [log: false, timeout: :infinity])999     │              ~1000     │1001     └─ lib/ecto/migrator.ex:119:14: Ecto.Migrator.run_maybe_in_transaction/310021003     warning: Code.load_file/1 is deprecated. Use Code.require_file/2 or Code.compile_file/2 instead1004     │1005 291 │     modules = Code.load_file(file)1006     │                    ~1007     │1008     └─ lib/ecto/migrator.ex:291:20: Ecto.Migrator.extract_module/210091010     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1011     │1012 321 │         reraise error, System.stacktrace1013     │                               ~1014     │1015     └─ lib/ecto/migrator.ex:321:31: Ecto.Migrator.verbose_schema_migration/310161017    warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1018    │1019 12 │       worker(Ecto.Migration.Runner, [], restart: :temporary)1020    │       ~1021    │1022    └─ lib/ecto/migration/supervisor.ex:12:7: Ecto.Migration.Supervisor.init/110231024    warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1025    │1026 15 │     supervise(children, strategy: :simple_one_for_one)1027    │     ~1028    │1029    └─ lib/ecto/migration/supervisor.ex:15:5: Ecto.Migration.Supervisor.init/110301031    warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1032    │1033 10 │       worker(Ecto.Registry, []),1034    │       ~1035    │1036    └─ lib/ecto/application.ex:10:7: Ecto.Application.start/210371038    warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1039    │1040 11 │       supervisor(Ecto.Migration.Supervisor, [])1041    │       ~1042    │1043    └─ lib/ecto/application.ex:11:7: Ecto.Application.start/210441045Generated ecto app1046==> tds1047Compiling NIF crate :tds_encoding (native/tds_encoding)...1048could not compile dependency :tds, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile tds --force", update it with "mix deps.update tds" or clean it with "mix deps.clean tds"1049** (ErlangError) Erlang error: :enoent1050    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["rustc", "--release"], [cd: "/work/proj/deps_x86_64/tds/native/tds_encoding", stderr_to_stdout: true, env: [{"CARGO_TARGET_DIR", "/work/proj/_build/x86_64/rustler_crates/tds_encoding"}], into: %IO.Stream{device: :standard_io, raw: false, line_or_bytes: :line}])1051    (rustler 0.20.0) lib/mix/tasks/compile.rustler.ex:58: Mix.Tasks.Compile.Rustler.compile_crate/11052    (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/21053    (rustler 0.20.0) lib/mix/tasks/compile.rustler.ex:14: Mix.Tasks.Compile.Rustler.run/11054    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51055    (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21056    (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41057    (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2