tds_ecto

Build log

host

tds_ecto 2.3.0 · fail · run tds_ecto-2.3.0-1791129015595
1022 of 1022 lines
1Resolving Hex dependencies...2Resolution completed in 0.121s3Unchanged: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.243Found packages with security advisories, see above for details44All dependencies have been fetched45==> rustler46warning: in order to compile .yrl files, you must add "compilers: [:yecc] ++ Mix.compilers()" to the "def project" section of rustler's mix.exs47Compiling 1 file (.yrl)48warning: in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of rustler's mix.exs49Compiling 1 file (.xrl)50Compiling 2 files (.erl)51Compiling 6 files (.ex)52    warning: using single-quoted strings to represent charlists is deprecated.53    Use ~c"" if you indeed want a charlist or use "" instead.54    You may run "mix format --migrate" to change all single-quoted55    strings to use the ~c sigil and fix this warning.56    │57 60 │     '2.7',58    │     ~59    │60    └─ lib/rustler.ex:60:56162    warning: using single-quoted strings to represent charlists is deprecated.63    Use ~c"" if you indeed want a charlist or use "" instead.64    You may run "mix format --migrate" to change all single-quoted65    strings to use the ~c sigil and fix this warning.66    │67 61 │     '2.8',68    │     ~69    │70    └─ lib/rustler.ex:61:57172    warning: using single-quoted strings to represent charlists is deprecated.73    Use ~c"" if you indeed want a charlist or use "" instead.74    You may run "mix format --migrate" to change all single-quoted75    strings to use the ~c sigil and fix this warning.76    │77 62 │     '2.9',78    │     ~79    │80    └─ lib/rustler.ex:62:58182    warning: using single-quoted strings to represent charlists is deprecated.83    Use ~c"" if you indeed want a charlist or use "" instead.84    You may run "mix format --migrate" to change all single-quoted85    strings to use the ~c sigil and fix this warning.86    │87 63 │     '2.10',88    │     ~89    │90    └─ lib/rustler.ex:63:59192    warning: using single-quoted strings to represent charlists is deprecated.93    Use ~c"" if you indeed want a charlist or use "" instead.94    You may run "mix format --migrate" to change all single-quoted95    strings to use the ~c sigil and fix this warning.96    │97 64 │     '2.11',98    │     ~99    │100    └─ lib/rustler.ex:64:5101102    warning: using single-quoted strings to represent charlists is deprecated.103    Use ~c"" if you indeed want a charlist or use "" instead.104    You may run "mix format --migrate" to change all single-quoted105    strings to use the ~c sigil and fix this warning.106    │107 65 │     '2.12',108    │     ~109    │110    └─ lib/rustler.ex:65:5111112    warning: using single-quoted strings to represent charlists is deprecated.113    Use ~c"" if you indeed want a charlist or use "" instead.114    You may run "mix format --migrate" to change all single-quoted115    strings to use the ~c sigil and fix this warning.116    │117 66 │     '2.13',118    │     ~119    │120    └─ lib/rustler.ex:66:5121122    warning: using single-quoted strings to represent charlists is deprecated.123    Use ~c"" if you indeed want a charlist or use "" instead.124    You may run "mix format --migrate" to change all single-quoted125    strings to use the ~c sigil and fix this warning.126    │127 67 │     '2.14',128    │     ~129    │130    └─ lib/rustler.ex:67:5131132Generated rustler app133warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"134  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2135  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1136  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5137  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2138  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4139  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2140141==> ecto142Compiling 70 files (.ex)143     warning: using single-quoted strings to represent charlists is deprecated.144     Use ~c"" if you indeed want a charlist or use "" instead.145     You may run "mix format --migrate" to change all single-quoted146     strings to use the ~c sigil and fix this warning.147     │148 166 │     defp insert_all_value(_),   do: '?'149     │                                     ~150     │151     └─ lib/ecto/adapters/mysql/connection.ex:166:37152153     warning: using single-quoted strings to represent charlists is deprecated.154     Use ~c"" if you indeed want a charlist or use "" instead.155     You may run "mix format --migrate" to change all single-quoted156     strings to use the ~c sigil and fix this warning.157     │158 354 │       '?'159     │       ~160     │161     └─ lib/ecto/adapters/mysql/connection.ex:354:7162163      warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.164165      This error happens when you have function calls without parentheses inside keywords. For example:166167          function(arg, one: nested_call a, b, c)168          function(arg, one: if expr, do: :this, else: :that)169170      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:171172          function(arg, one: if(expr, do: :this, else: :that))173          function(arg, one: nested_call(a, b, c))174175      Ambiguity found at:176      │177 2286 │     raise ArgumentError, "cannot add constraint to changeset because it does not have a source, got: #{inspect data}"178      │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~179      │180      └─ lib/ecto/changeset.ex:2286181182     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.183184     This error happens when you have function calls without parentheses inside keywords. For example:185186         function(arg, one: nested_call a, b, c)187         function(arg, one: if expr, do: :this, else: :that)188189     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:190191         function(arg, one: if(expr, do: :this, else: :that))192         function(arg, one: nested_call(a, b, c))193194     Ambiguity found at:195     │196 265 │     do: raise ArgumentError, "a constraint must have either a check or exclude option"197     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~198     │199     └─ lib/ecto/migration/runner.ex:265200201     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.202203     This error happens when you have function calls without parentheses inside keywords. For example:204205         function(arg, one: nested_call a, b, c)206         function(arg, one: if expr, do: :this, else: :that)207208     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:209210         function(arg, one: if(expr, do: :this, else: :that))211         function(arg, one: nested_call(a, b, c))212213     Ambiguity found at:214     │215 267 │     do: raise ArgumentError, "a constraint must not have both check and exclude options"216     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~217     │218     └─ lib/ecto/migration/runner.ex:267219220     warning: atom ::: must be written between quotes, as in :"::", to avoid ambiguity221     │222 136 │       {:::, _, [left, _]} -> is_integer(left) or is_binary(left)223     │        ~224     │225     └─ lib/ecto/query/builder.ex:136:8226227     warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)228     │229 643 │   def quoted_type({:datetime_add, _, [_, _, __]}, _vars), do: :naive_datetime230     │                                             ~~231     │232     └─ lib/ecto/query/builder.ex:643:45: Ecto.Query.Builder.quoted_type/2233234     warning: unknown compiler variable "__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)235     │236 644 │   def quoted_type({:date_add, _, [_, _, __]}, _vars), do: :date237     │                                         ~~238     │239     └─ lib/ecto/query/builder.ex:644:41: Ecto.Query.Builder.quoted_type/2240241     warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.242243     This error happens when you have function calls without parentheses inside keywords. For example:244245         function(arg, one: nested_call a, b, c)246         function(arg, one: if expr, do: :this, else: :that)247248     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:249250         function(arg, one: if(expr, do: :this, else: :that))251         function(arg, one: nested_call(a, b, c))252253     Ambiguity found at:254     │255 454 │     do: raise ArgumentError, "a changeset with action #{inspect given} was given to #{inspect repo}.#{action}/2"256     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~257     │258     └─ lib/ecto/repo/schema.ex:454259260    warning: unused require Ecto.Query261    │262  6 │   require Ecto.Query263    │   ~264    │265    └─ lib/ecto/repo/preloader.ex:6:3266267    warning: Module.eval_quoted/2 is deprecated. Use Code.eval_quoted/3 instead268    │269  9 │   schema "schema_migrations" do270    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~271    │272    └─ lib/ecto/migration/schema_migration.ex:9: Ecto.Migration.SchemaMigration (module)273274     warning: struct DBConnection.OwnershipError is undefined (module DBConnection.OwnershipError is not available or is yet to be defined)275     │276 258 │       err in DBConnection.OwnershipError ->277     │           ~278     │279     └─ lib/ecto/adapters/sql.ex:258:11: Ecto.Adapters.SQL.sql_call/6280281     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead282     │283 260 │         reraise %{err | message: message}, System.stacktrace284     │                                                   ~285     │286     └─ lib/ecto/adapters/sql.ex:260:51: Ecto.Adapters.SQL.sql_call/6287288      warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead289      │290 2400 │     surround_many("#Ecto.Changeset<", list, ">", opts, fn291      │     ~292      │293      └─ lib/ecto/changeset.ex:2400:5: Inspect.Ecto.Changeset.inspect/2294295    warning: incompatible types given to Mix.Ecto.ensure_started/2:296297        Mix.Ecto.ensure_started(repo, opts)298299    given types:300301        -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))302303    but expected one of:304305        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())306307    where "opts" was given the type:308309        # type: dynamic(310          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or311            non_struct_map()312        )313        # from: lib/mix/tasks/ecto.rollback.ex:64:10314        opts =315          if opts[:quiet] do316            Keyword.merge(opts, log: false, log_sql: false)317          else318            opts319          end320321    where "repo" was given the type:322323        # type: dynamic(atom())324        # from: lib/mix/tasks/ecto.rollback.ex:70:7325        Mix.Ecto.ensure_repo(repo, args)326327    type warning found at:328    │329 72 │       {:ok, pid, apps} = ensure_started(repo, opts)330    │                          ~331    │332    └─ lib/mix/tasks/ecto.rollback.ex:72:26: Mix.Tasks.Ecto.Rollback.run/2333334    warning: incompatible types given to Mix.Ecto.ensure_started/2:335336        Mix.Ecto.ensure_started(repo, all: true)337338    given types:339340        -dynamic(atom())-, non_empty_list({:all, true})341342    but expected one of:343344        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())345346    where "repo" was given the type:347348        # type: dynamic(atom())349        # from: lib/mix/tasks/ecto.migrations.ex:37:7350        Mix.Ecto.ensure_repo(repo, args)351352    type warning found at:353    │354 39 │       {:ok, pid, _} = ensure_started(repo, all: true)355    │                       ~356    │357    └─ lib/mix/tasks/ecto.migrations.ex:39:23: Mix.Tasks.Ecto.Migrations.run/3358359     warning: the following clause will never match:360361         [{^module, :changeset, args_or_arity, _}] when args_or_arity == 2 when length(args_or_arity) == 2 ->362363     because it attempts to match on the result of:364365         System.stacktrace()366367     which has type:368369         empty_list()370371     where "args_or_arity" was given the type:372373         # type: float() or integer() or non_empty_list(term())374         # from: lib/ecto/changeset.ex375         (_() when args_or_arity == 2) when length(args_or_arity) == 2376377     where "module" was given the type:378379         # type: dynamic()380         # from: lib/ecto/changeset.ex:733:30381         module382383     type warning found at:384     │385 741 │ ...                   when length(args_or_arity) == 2 ->386     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~387     │388     └─ lib/ecto/changeset.ex:741: Ecto.Changeset.on_cast_default/2389390    warning: incompatible types given to Mix.Ecto.ensure_started/2:391392        Mix.Ecto.ensure_started(repo, opts)393394    given types:395396        -dynamic(atom())-, dynamic(empty_list() or non_empty_list(term(), term()))397398    but expected one of:399400        %{..., __adapter__: atom()}, empty_list() or non_empty_list(term(), term())401402    where "opts" was given the type:403404        # type: dynamic(405          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or406            non_struct_map()407        )408        # from: lib/mix/tasks/ecto.migrate.ex:68:10409        opts =410          if opts[:quiet] do411            Keyword.merge(opts, log: false, log_sql: false)412          else413            opts414          end415416    where "repo" was given the type:417418        # type: dynamic(atom())419        # from: lib/mix/tasks/ecto.migrate.ex:74:7420        Mix.Ecto.ensure_repo(repo, args)421422    type warning found at:423    │424 76 │       {:ok, pid, apps} = ensure_started(repo, opts)425    │                          ~426    │427    └─ lib/mix/tasks/ecto.migrate.ex:76:26: Mix.Tasks.Ecto.Migrate.run/2428429     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead430     │431 739 │           case System.stacktrace do432     │                       ~433     │434     └─ lib/ecto/changeset.ex:739:23: Ecto.Changeset.on_cast_default/2435436    warning: incompatible types given to Mix.Ecto.source_repo_priv/1:437438        Mix.Ecto.source_repo_priv(repo)439440    given types:441442        -dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})-443444    but expected one of:445446        atom()447448    where "repo" was given the types:449450        # type: dynamic(%{..., config: empty_list() or non_empty_list(term(), term())})451        # from: lib/mix/tasks/ecto.load.ex:70:22452        Keyword.merge(repo.config, opts)453454        # type: dynamic(%{..., __adapter__: atom(), config: empty_list() or non_empty_list(term(), term())})455        # from: lib/mix/tasks/ecto.load.ex:72:27456        repo.__adapter__.structure_load(Mix.Ecto.source_repo_priv(repo), config)457458    type warning found at:459    │460 72 │     case repo.__adapter__.structure_load(source_repo_priv(repo), config) do461    │                                          ~462    │463    └─ lib/mix/tasks/ecto.load.ex:72:42: Mix.Tasks.Ecto.Load.load_structure/2464465    warning: expected a map or struct when accessing .__adapter__ in expression:466467        repo.__adapter__468469    where "repo" was given the type:470471        # type: dynamic(atom())472        # from: lib/mix/tasks/ecto.load.ex:53:7473        Mix.Ecto.ensure_repo(repo, args)474475    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()476477    type warning found at:478    │479 54 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,480    │                              ~481    │482    └─ lib/mix/tasks/ecto.load.ex:54:30: Mix.Tasks.Ecto.Load.run/1483484    warning: expected a map or struct when accessing .__adapter__ in expression:485486        repo.__adapter__487488    where "repo" was given the type:489490        # type: dynamic(atom())491        # from: lib/mix/tasks/ecto.dump.ex:50:7492        Mix.Ecto.ensure_repo(repo, args)493494    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()495496    type warning found at:497    │498 51 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Structure,499    │                              ~500    │501    └─ lib/mix/tasks/ecto.dump.ex:51:30: Mix.Tasks.Ecto.Dump.run/1502503    warning: expected a map or struct when accessing .__adapter__ in expression:504505        repo.__adapter__506507    where "repo" was given the type:508509        # type: dynamic(atom())510        # from: lib/mix/tasks/ecto.drop.ex:39:7511        Mix.Ecto.ensure_repo(repo, args)512513    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()514515    type warning found at:516    │517 40 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,518    │                              ~519    │520    └─ lib/mix/tasks/ecto.drop.ex:40:30: Mix.Tasks.Ecto.Drop.run/1521522    warning: expected a map or struct when accessing .__adapter__ in expression:523524        repo.__adapter__525526    where "repo" was given the type:527528        # type: dynamic(atom())529        # from: lib/mix/tasks/ecto.create.ex:37:7530        Mix.Ecto.ensure_repo(repo, args)531532    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()533534    type warning found at:535    │536 38 │       ensure_implements(repo.__adapter__, Ecto.Adapter.Storage,537    │                              ~538    │539    └─ lib/mix/tasks/ecto.create.ex:38:30: Mix.Tasks.Ecto.Create.run/1540541    warning: Mix.Project.compile/1 is deprecated. Use Mix.Task.run("compile", args) instead542    │543 62 │       Mix.Project.compile(args)544    │                   ~545    │546    └─ lib/mix/ecto.ex:62:19: Mix.Ecto.ensure_repo/2547548    warning: incompatible types given to get_source/1:549550        get_source(repo)551552    given types:553554        -dynamic(atom())-555556    but expected one of:557558        %{..., config: empty_list() or non_empty_list(term(), term())}559560    where "repo" was given the type:561562        # type: dynamic(atom())563        # from: lib/ecto/migration/schema_migration.ex:24:13564        repo.all(565          Map.put(566            (567              query =568                (569                  query = {get_source(repo), Ecto.Migration.SchemaMigration}570                  Ecto.Query.Builder.From.apply(query, 1)571                )572        573              Ecto.Query.Builder.Select.apply(query, %Ecto.Query.SelectExpr{574                ...,575                expr: {{:., [], [{:&, [], [0]}, :version]}, [], []},576                file: "/work/proj/deps/ecto/lib/ecto/migration/schema_migration.ex",577                line: 22,578                take: %{}579              })580            ),581            :prefix,582            prefix583          ), timeout: :infinity, log: false)584585    type warning found at:586    │587 22 │     from(p in {get_source(repo), __MODULE__}, select: p.version)588    │                ~589    │590    └─ lib/ecto/migration/schema_migration.ex:22:16: Ecto.Migration.SchemaMigration.migrated_versions/2591592     warning: expected a module (an atom) when invoking start_link/1 in expression:593594         repo.start_link(pool_size: pool_size)595596     where "pool_size" was given the type:597598         # type: dynamic()599         # from: lib/mix/ecto.ex:101:15600         pool_size = Keyword.get(opts, :pool_size, 1)601602     where "repo" was given the type:603604         # type: dynamic(%{..., __adapter__: atom()})605         # from: lib/mix/ecto.ex:99:36606         repo.__adapter__.ensure_all_started(repo, :temporary)607608     type warning found at:609     │610 102 │     case repo.start_link(pool_size: pool_size) do611     │               ~612     │613     └─ lib/mix/ecto.ex:102:15: Mix.Ecto.ensure_started/2614615    warning: incompatible types given to get_source/1:616617        get_source(repo)618619    given types:620621        -dynamic(atom())-622623    but expected one of:624625        %{..., config: empty_list() or non_empty_list(term(), term())}626627    where "repo" was given the type:628629        # type: dynamic(atom())630        # from: lib/ecto/migration/schema_migration.ex:30:13631        repo.insert!(632          Ecto.put_meta(%Ecto.Migration.SchemaMigration{..., version: version},633            prefix: prefix,634            source: get_source(repo)635          ), timeout: :infinity, log: false)636637    type warning found at:638    │639 29 │     |> Ecto.put_meta(prefix: prefix, source: get_source(repo))640    │                                              ~641    │642    └─ lib/ecto/migration/schema_migration.ex:29:46: Ecto.Migration.SchemaMigration.up/3643644     warning: Logger.remove_backend/1 is deprecated. Use LoggerBackends.remove/2 from :logger_backends dependency645     │646 146 │     Logger.remove_backend(:console)647     │            ~648     │649     └─ lib/mix/ecto.ex:146:12: Mix.Ecto.restart_apps_if_migrated/2650651    warning: incompatible types given to get_source/1:652653        get_source(repo)654655    given types:656657        -dynamic(atom())-658659    but expected one of:660661        %{..., config: empty_list() or non_empty_list(term(), term())}662663    where "repo" was given the type:664665        # type: dynamic(atom())666        # from: lib/ecto/migration/schema_migration.ex:36:13667        repo.delete_all(668          Map.put(669            (670              query =671                (672                  query = {get_source(repo), Ecto.Migration.SchemaMigration}673                  Ecto.Query.Builder.From.apply(query, 1)674                )675        676              Ecto.Query.Builder.Filter.apply(query, :where, %Ecto.Query.BooleanExpr{677                expr: {:==, [], [{{:., [], [{:&, [], [0]}, :version]}, [], []}, {:^, [], [0]}]},678                op: :and,679                params: [{Ecto.Query.Builder.not_nil!(version), {0, :version}}],680                file: "/work/proj/deps/ecto/lib/ecto/migration/schema_migration.ex",681                line: 34682              })683            ),684            :prefix,685            prefix686          ), timeout: :infinity, log: false)687688    type warning found at:689    │690 34 │     from(p in {get_source(repo), __MODULE__}, where: p.version == ^version)691    │                ~692    │693    └─ lib/ecto/migration/schema_migration.ex:34:16: Ecto.Migration.SchemaMigration.down/3694695     warning: Logger.add_backend/2 is deprecated. Use LoggerBackends.add/2 from :logger_backends dependency696     │697 155 │     Logger.add_backend(:console, flush: true)698     │            ~699     │700     └─ lib/mix/ecto.ex:155:12: Mix.Ecto.restart_apps_if_migrated/2701702     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)703     │704 856 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->705     │                                                                              ~706     │707     └─ lib/ecto/association.ex:856:78: Ecto.Association.ManyToMany.after_compile_validation/2708     └─ lib/ecto/association.ex:860:45: Ecto.Association.ManyToMany.after_compile_validation/2709710     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)711     │712 715 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->713     │                                                                              ~714     │715     └─ lib/ecto/association.ex:715:78: Ecto.Association.BelongsTo.after_compile_validation/2716717      warning: this clause of defp type_to_module/1 is never used (or it will always fail/warn when invoked)718      │719 1422 │   defp type_to_module(:naive_datetime), do: NaiveDateTime720      │        ~721      │722      └─ lib/ecto/schema.ex:1422:8: Ecto.Schema.type_to_module/1723724     warning: the following conditional expression:725726         is_atom(related)727728     will always evaluate to:729730         dynamic(true)731732     where "related" was given the type:733734         # type: dynamic(atom())735         # from: lib/ecto/association.ex:730:15736         related = Ecto.Association.related_from_query(queryable)737738     type warning found at:739     │740 732 │     unless is_atom(related) do741     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~742     │743     └─ lib/ecto/association.ex:732: Ecto.Association.BelongsTo.struct/3744745     warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)746     │747 430 │       not is_atom(queryable) or queryable in env.context_modules or not Code.ensure_compiled?(queryable) ->748     │                                                                              ~749     │750     └─ lib/ecto/association.ex:430:78: Ecto.Association.Has.after_compile_validation/2751752      warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)753      │754 1885 │         if Code.ensure_compiled?(type) and function_exported?(type, :type, 0) do755      │                 ~756      │757      └─ lib/ecto/schema.ex:1885:17: Ecto.Schema.check_type!/3758759     warning: the following clause will never match:760761         {:error, _} = error ->762763     because it attempts to match on the result of:764765         apply(changeset, adapter, :insert, args)766767     which has type:768769         dynamic({:invalid or :ok, term()})770771     type warning found at:772     │773 219 │           {:error, _} = error ->774     │                       ~775     │776     └─ lib/ecto/repo/schema.ex:219:23: Ecto.Repo.Schema.do_insert/4777778    warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead779    │780 29 │     surround_many("#Ecto.Query<", list, ">", opts, fn str, _ -> str end)781    │     ~782    │783    └─ lib/ecto/query/inspect.ex:29:5: Inspect.Ecto.Query.inspect/2784785     warning: the following clause will never match:786787         {:error, _} = error ->788789     because it attempts to match on the result of:790791         apply(changeset, adapter, action, args)792793     which has type:794795         dynamic({:invalid or :ok, term()})796797     type warning found at:798     │799 297 │             {:error, _} = error ->800     │                         ~801     │802     └─ lib/ecto/repo/schema.ex:297:25: Ecto.Repo.Schema.do_update/4803804     warning: Macro.to_string/2 is deprecated. Use Macro.to_string/1 instead805     │806 144 │     Macro.to_string(expr, &expr_to_string(&1, &2, names, part))807     │           ~808     │809     └─ lib/ecto/query/inspect.ex:144:11: Inspect.Ecto.Query.expr/3810811    warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead812    │813 54 │       filter_and_reraise e, System.stacktrace814    │                                    ~815    │816    └─ lib/ecto/repo/preloader.ex:54:36: Ecto.Repo.Preloader.normalize_and_preload_each/5817818     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)819     │820 228 │         raise BadStructError, struct: struct, term: data821     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~822     │823     └─ lib/ecto/repo/queryable.ex:228: Ecto.Repo.Queryable.process/5824825    warning: Map.size/1 is deprecated. Use Kernel.map_size/1 instead826    │827 44 │     index  = Map.size(params)828    │                  ~829    │830    └─ lib/ecto/query/builder.ex:44:18: Ecto.Query.Builder.escape/5831    └─ lib/ecto/query/builder.ex:53:17: Ecto.Query.Builder.escape/5832833     warning: Decimal.minus/1 is deprecated. Use Decimal.negate/1 instead834     │835 614 │     Decimal.minus(decimal)836     │             ~837     │838     └─ lib/ecto/query/builder.ex:614:13: Ecto.Query.Builder.negate!/1839840     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead841     │842 214 │       filter_and_reraise e, System.stacktrace843     │                                    ~844     │845     └─ lib/ecto/query/planner.ex:214:36: Ecto.Query.Planner.prepare/4846     └─ lib/ecto/query/planner.ex:709:36: Ecto.Query.Planner.normalize/4847848      warning: expected a map or struct when accessing .__struct__ in expression:849850          schema.__struct__851852      where "schema" was given the types:853854          # type: dynamic(atom() and not nil)855          # from: lib/ecto/query/planner.ex:1186:41856          schema857858          # type: atom()859          # from: lib/ecto/query/planner.ex:1186:61860          is_atom(schema)861862      hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()863864      type warning found at:865      │866 1190 │       Map.has_key?(schema.__struct__, field) ->867      │                           ~868      │869      └─ lib/ecto/query/planner.ex:1190:27: Ecto.Query.Planner.type!/6870871     warning: the following clause will never match:872873         {:error, _} ->874875     because it attempts to match on the result of:876877         NaiveDateTime.new(date, time)878879     which has type:880881         dynamic({:ok, %NaiveDateTime{}})882883     type warning found at:884     │885 803 │         {:error, _} -> :error886     │         ~~~~~~~~~~~~~~~~~~~~~887     │888     └─ lib/ecto/type.ex:803: Ecto.Type.cast_naive_datetime/1889890     warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead891     │892 159 │         supervise(children, strategy: :one_for_one)893     │         ~894     │895     └─ lib/ecto/repo/supervisor.ex:159:9: Ecto.Repo.Supervisor.init/1896897    warning: Inspect.Algebra.surround_many/5 is deprecated. Use Inspect.Algebra.container_doc/6 instead898    │899 15 │     surround_many("dynamic(", [Macro.to_string(binding), inspected], ")", opts, fn str, _ -> str end)900    │     ~901    │902    └─ lib/ecto/query/inspect.ex:15:5: Inspect.Ecto.Query.DynamicExpr.inspect/2903904    warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead905    │906 12 │       worker(Ecto.Migration.Runner, [], restart: :temporary)907    │       ~908    │909    └─ lib/ecto/migration/supervisor.ex:12:7: Ecto.Migration.Supervisor.init/1910911    warning: incompatible types given to Ecto.Migration.SchemaMigration.migrated_versions/2:912913        Ecto.Migration.SchemaMigration.migrated_versions(repo, opts[:prefix])914915    given types:916917        (918          -dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})-,919          dynamic()920        )921922    but expected one of:923924        atom(), term()925926    where "opts" was given the type:927928        # type: dynamic(929          %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or930            non_struct_map()931        )932        # from: lib/ecto/migrator.ex:44:65933        opts[:prefix]934935    where "repo" was given the type:936937        # type: dynamic(%{..., __adapter__: term(), config: empty_list() or non_empty_list(term(), term())})938        # from: lib/ecto/migrator.ex:44:23939        Ecto.Migration.SchemaMigration.ensure_schema_migrations_table!(repo, opts[:prefix])940941    type warning found at:942    │943 45 │       SchemaMigration.migrated_versions(repo, opts[:prefix])944    │                       ~945    │946    └─ lib/ecto/migrator.ex:45:23: Ecto.Migrator.migrated_versions/2947948    warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead949    │950 15 │     supervise(children, strategy: :simple_one_for_one)951    │     ~952    │953    └─ lib/ecto/migration/supervisor.ex:15:5: Ecto.Migration.Supervisor.init/1954955     warning: expected a module (an atom) when invoking transaction/2 in expression:956957         repo.transaction(fun, log: false, timeout: :infinity)958959     where "fun" was given the type:960961         # type: dynamic()962         # from: lib/ecto/migrator.ex:114:47963         fun964965     where "repo" was given the types:966967         # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: term()}})968         # from: lib/ecto/migrator.ex:118:24969         repo.__adapter__.supports_ddl_transaction?970971         # type: dynamic(%{..., __adapter__: %{..., supports_ddl_transaction?: not false and not nil}})972         # from: lib/ecto/migrator.ex:118:24973         repo.__adapter__.supports_ddl_transaction?974975     type warning found at:976     │977 119 │         repo.transaction(fun, [log: false, timeout: :infinity])978     │              ~979     │980     └─ lib/ecto/migrator.ex:119:14: Ecto.Migrator.run_maybe_in_transaction/3981982     warning: Code.load_file/1 is deprecated. Use Code.require_file/2 or Code.compile_file/2 instead983     │984 291 │     modules = Code.load_file(file)985     │                    ~986     │987     └─ lib/ecto/migrator.ex:291:20: Ecto.Migrator.extract_module/2988989    warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead990    │991 10 │       worker(Ecto.Registry, []),992    │       ~993    │994    └─ lib/ecto/application.ex:10:7: Ecto.Application.start/2995996    warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead997    │998 11 │       supervisor(Ecto.Migration.Supervisor, [])999    │       ~1000    │1001    └─ lib/ecto/application.ex:11:7: Ecto.Application.start/210021003     warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1004     │1005 321 │         reraise error, System.stacktrace1006     │                               ~1007     │1008     └─ lib/ecto/migrator.ex:321:31: Ecto.Migrator.verbose_schema_migration/310091010Generated ecto app1011==> tds1012Compiling NIF crate :tds_encoding (native/tds_encoding)...1013could 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"1014** (ErlangError) Erlang error: :enoent1015    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["rustc", "--release"], [cd: "/work/proj/deps/tds/native/tds_encoding", stderr_to_stdout: true, env: [{"CARGO_TARGET_DIR", "/work/proj/_build/host/rustler_crates/tds_encoding"}], into: %IO.Stream{device: :standard_io, raw: false, line_or_bytes: :line}])1016    (rustler 0.20.0) lib/mix/tasks/compile.rustler.ex:58: Mix.Tasks.Compile.Rustler.compile_crate/11017    (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/21018    (rustler 0.20.0) lib/mix/tasks/compile.rustler.ex:14: Mix.Tasks.Compile.Rustler.run/11019    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51020    (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21021    (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41022    (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2