Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the project! #3

Open
LeaveNhA opened this issue Jan 23, 2021 · 0 comments
Open

Can't run the project! #3

LeaveNhA opened this issue Jan 23, 2021 · 0 comments

Comments

@LeaveNhA
Copy link

Hi, here is what I do with my system;

System:
MacOS Catalina (Latest).
Erlang/OTP 23 [erts-11.1.5] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.11.3 (compiled with Erlang/OTP 23)
npm: 7.4.0
node: v15.6.0

Nothing changed in the base project.
Here is full output of the problem:

    ~/projects/workouts  git clone https://github.com/elixirscript/todo-elixirscript.git                                            ✔  at 18:45:51 
Cloning into 'todo-elixirscript'...
remote: Enumerating objects: 365, done.
remote: Total 365 (delta 0), reused 0 (delta 0), pack-reused 365
Receiving objects: 100% (365/365), 159.75 KiB | 329.00 KiB/s, done.
Resolving deltas: 100% (151/151), done.
    ~/projects/workouts  todo-elixirscript                                                                                          ✔  at 18:45:58 
    ~/p/workouts/todo-elixirscript  on   master  mix deps.get                                                                    ✔  at 18:46:01 
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  cowboy 1.1.2
  cowlib 1.0.2
  elixir_script 0.32.1
  elixir_script_react 16.2.0
  elixir_script_web 0.2.0
  estree 2.6.1
  file_system 0.2.4
  fs 2.12.0
  gettext 0.15.0
  mime 1.2.0
  phoenix 1.3.2
  phoenix_html 2.11.0
  phoenix_live_reload 1.1.3
  phoenix_pubsub 1.0.2
  plug 1.5.0
  poison 3.1.0
  ranch 1.3.2
* Getting phoenix (Hex package)
* Getting phoenix_pubsub (Hex package)
* Getting phoenix_html (Hex package)
* Getting phoenix_live_reload (Hex package)
* Getting gettext (Hex package)
* Getting cowboy (Hex package)
* Getting elixir_script (Hex package)
* Getting fs (Hex package)
* Getting elixir_script_react (Hex package)
* Getting elixir_script_web (Hex package)
* Getting estree (Hex package)
* Getting cowlib (Hex package)
* Getting ranch (Hex package)
* Getting file_system (Hex package)
* Getting plug (Hex package)
* Getting mime (Hex package)
* Getting poison (Hex package)
    ~/p/w/todo-elixirscript  on   master !1  (cd assets && npm install && cd ..)                                     ✔  took 7s   at 18:46:15 

added 531 packages, and audited 534 packages in 15s

46 vulnerabilities (23 low, 13 moderate, 9 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
    ~/p/w/todo-elixirscript  on   master !2  mix phx.server                                                         ✔  took 16s   at 18:46:32 

18:46:45.585 [info]  Compiling file system watcher for Mac...

18:46:46.820 [info]  Done.
==> file_system
Compiling 7 files (.ex)
Generated file_system app
===> Fetching pc v1.11.0
===> Version cached at /Users/sckn/.cache/rebar3/hex/hexpm/packages/pc-1.11.0.tar is up to date, reusing it
===> Compiling pc
===> Fetching rebar3_hex v6.10.2
===> Version cached at /Users/sckn/.cache/rebar3/hex/hexpm/packages/rebar3_hex-6.10.2.tar is up to date, reusing it
===> Fetching hex_core v0.7.1
===> Version cached at /Users/sckn/.cache/rebar3/hex/hexpm/packages/hex_core-0.7.1.tar is up to date, reusing it
===> Fetching verl v1.0.2
===> Version cached at /Users/sckn/.cache/rebar3/hex/hexpm/packages/verl-1.0.2.tar is up to date, reusing it
===> Compiling verl
===> Compiling hex_core
===> Compiling rebar3_hex
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling fs
===> Compiling c_src/mac/cli.c
===> Compiling c_src/mac/compat.c
===> Compiling c_src/mac/main.c
===> Linking /Users/sckn/projects/workouts/todo-elixirscript/deps/fs/priv/mac_listener
==> gettext
Compiling 1 file (.yrl)
Compiling 1 file (.erl)
Compiling 20 files (.ex)
warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/gettext/application.ex:7: Gettext.Application.start/2

Generated gettext app
===> Compiling ranch
src/ranch_ssl.erl:128: Warning: ssl:ssl_accept/2 is deprecated and will be removed in OTP 24; use use ssl_handshake/1,2,3 instead
src/ranch_ssl.erl:233: Warning: ssl:cipher_suites/0 is deprecated and will be removed in OTP 24; use use cipher_suites/2,3 instead
src/ranch_ssl.erl:235: Warning: ssl:cipher_suites/0 is deprecated and will be removed in OTP 24; use use cipher_suites/2,3 instead

warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /Users/sckn/projects/workouts/todo-elixirscript/deps/poison/mix.exs:4: Poison.Mixfile

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173: Poison.Encoder.BitString.seq/1

Generated poison app
==> phoenix_pubsub
Compiling 12 files (.ex)
warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/pg2.ex:46: Phoenix.PubSub.PG2.init/1

warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/local_supervisor.ex:42: Phoenix.PubSub.LocalSupervisor.init/1

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/pg2.ex:42: Phoenix.PubSub.PG2.init/1

warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/local_supervisor.ex:39: Phoenix.PubSub.LocalSupervisor.init/1

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/pg2.ex:43: Phoenix.PubSub.PG2.init/1

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
Found at 2 locations:
  lib/phoenix/pubsub/local_supervisor.ex:35: Phoenix.PubSub.LocalSupervisor.init/1
  lib/phoenix/pubsub/local_supervisor.ex:36: Phoenix.PubSub.LocalSupervisor.init/1

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/pubsub/supervisor.ex:7: Phoenix.PubSub.Supervisor.start/2

Generated phoenix_pubsub app
===> Compiling cowlib
src/cow_multipart.erl:392: Warning: crypto:rand_bytes/1 is removed; use crypto:strong_rand_bytes/1 instead

===> Compiling cowboy
src/cowboy_handler.erl:87: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_handler.erl:116: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_handler.erl:235: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_handler.erl:290: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace

src/cowboy_rest.erl:69: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_rest.erl:1006: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace

src/cowboy_websocket.erl:147: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_websocket.erl:645: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/cowboy_websocket.erl:755: Warning: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace

==> mime
Compiling 1 file (.ex)
Generated mime app
==> estree
Compiling 93 files (.ex)
Generated estree app
==> elixir_script
Compiling 47 files (.ex)
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions
  lib/elixir_script/passes/translate/forms/pattern.ex:210

warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions
  lib/elixir_script/passes/translate/forms/pattern.ex:214

warning: module attribute @manifest_vsn was set but never used
  lib/mix/tasks/compile.elixir_script.ex:8

warning: Kernel.ParallelCompiler.files/2 is deprecated. Use Kernel.ParallelCompiler.compile/2 instead
  lib/elixir_script/compiler.ex:59: ElixirScript.Compiler.compile/2

Generated elixir_script app
==> elixir_script_react
Compiling 3 files (.ex)
Generated elixir_script_react app
==> elixir_script_web
Compiling 8 files (.ex)
Generated elixir_script_web app
==> plug
Compiling 1 file (.erl)
Compiling 48 files (.ex)
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy/handler.ex:22

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy/handler.ex:28

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy/handler.ex:33

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/parsers/multipart.ex:38

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/parsers/multipart.ex:42

warning: calling super for GenServer callback handle_info/2 is deprecated
  lib/plug/upload.ex:176: Plug.Upload.handle_info/2

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/conn/wrapper_error.ex:22

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/conn/wrapper_error.ex:28

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/error_handler.ex:82

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy2/handler.ex:18

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy2/handler.ex:24

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/adapters/cowboy2/handler.ex:29

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/plug/debugger.ex:118

warning: EEx.compile_file/2 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx]]] to your "def project" in mix.exs

Found at 2 locations:
  lib/plug/debugger.ex:149: Plug.Debugger
  lib/plug/debugger.ex:152: Plug.Debugger

warning: EEx.function_from_file/4 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx]]] to your "def project" in mix.exs

Found at 2 locations:
  lib/plug/debugger.ex:149: Plug.Debugger
  lib/plug/debugger.ex:152: Plug.Debugger

warning: EEx.Engine.fetch_assign!/2 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

Found at 62 locations:
  lib/plug/templates/debugger.html.eex:5: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:21: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:46: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:80: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:95: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:140: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:145: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:164: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:260: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:265: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:266: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:280: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:305: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:313: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:317: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:321: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:365: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:371: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:372: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:373: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:374: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:378: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:379: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:380: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:381: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:385: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:394: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:403: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:421: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:496: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:519: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:533: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:546: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:551: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:565: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:592: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:614: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:621: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:629: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:651: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:656: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:658: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:659: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:660: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:670: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:727: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:750: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:753: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:767: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:772: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:777: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:783: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:791: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.html.eex:794: Plug.Debugger.template_html/1
  lib/plug/templates/debugger.md.eex:1: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:5: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:11: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:15: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:16: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:17: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:20: Plug.Debugger.template_markdown/1
  lib/plug/templates/debugger.md.eex:25: Plug.Debugger.template_markdown/1

warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/plug/supervisor.ex:16: Plug.Supervisor.init/1

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/plug/supervisor.ex:12: Plug.Supervisor.init/1

warning: Code.ensure_compiled?/1 is deprecated. Use Code.ensure_compiled/1 instead (see the proper disclaimers in its docs)
  lib/plug/parsers.ex:214: Plug.Parsers.convert_parsers/2

warning: Code.get_docs/2 is deprecated. Code.get_docs/2 always returns nil as its outdated documentation is no longer stored on BEAM files. Use Code.fetch_docs/1 instead
  lib/plug/debugger.ex:298: Plug.Debugger.get_doc/4

Generated plug app
==> phoenix_html
Compiling 8 files (.ex)
warning: EEx.compile_string/2 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx]]] to your "def project" in mix.exs

  lib/phoenix_html.ex:98: Phoenix.HTML.handle_sigil/3

warning: EEx.Engine.__using__/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine

warning: EEx.Engine.handle_begin/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.handle_begin/1

warning: EEx.Engine.handle_body/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.handle_body/1

warning: EEx.Engine.handle_end/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.handle_end/1

warning: EEx.Engine.handle_expr/3 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.handle_expr/3

warning: EEx.Engine.handle_text/2 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.handle_text/2

warning: EEx.Engine.init/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:

  1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :eex, you may optionally skip this warning by adding [xref: [exclude: [EEx.Engine]]] to your "def project" in mix.exs

  lib/phoenix_html/engine.ex:13: Phoenix.HTML.Engine.init/1

Generated phoenix_html app
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of ASCII letters, numbers, and underscore do not require quotes
  /Users/sckn/projects/workouts/todo-elixirscript/deps/phoenix/mix.exs:183

==> phoenix
Compiling 74 files (.ex)
warning: redefining @doc attribute previously set at line 574.

Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head:

    @doc """
    new docs
    """
    def resources(...)

  lib/phoenix/router.ex:581: Phoenix.Router.resources/3

warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions
  lib/phoenix/router/helpers.ex:181

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/phoenix/endpoint/cowboy_websocket.ex:23

warning: duplicate key :route found in struct
  (elixir 1.11.3) lib/kernel/utils.ex:119: Kernel.Utils.warn_on_duplicate_struct_key/1
  (elixir 1.11.3) lib/kernel/utils.ex:98: Kernel.Utils.defstruct/2
  lib/phoenix/router/resource.ex:24: (module)
  (elixir 1.11.3) src/elixir_compiler.erl:75: :elixir_compiler.dispatch/4
  (elixir 1.11.3) src/elixir_compiler.erl:60: :elixir_compiler.compile/3
  (elixir 1.11.3) src/elixir_module.erl:334: :elixir_module.eval_form/6

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/phoenix/test/conn_test.ex:647

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/phoenix/code_reloader/server.ex:61

warning: invalid type annotation. When using the | operator to represent the union of types, make sure to wrap type annotations in parentheses: {:ok, pid()} | {:error, reason :: term()} :: :ignore
  lib/phoenix/presence.ex:110

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/phoenix/endpoint/render_errors.ex:51

warning: :cowboy_req.compact/1 defined in application :cowboy is used by the current application but the current application does not depend on :cowboy. To fix this, you must do one of:

  1. If :cowboy is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :cowboy is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :cowboy, you may optionally skip this warning by adding [xref: [exclude: [:cowboy_req]]] to your "def project" in mix.exs

  lib/phoenix/endpoint/cowboy_websocket.ex:73: Phoenix.Endpoint.CowboyWebSocket.websocket_init/3

warning: IEx.started?/0 defined in application :iex is used by the current application but the current application does not depend on :iex. To fix this, you must do one of:

  1. If :iex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :iex is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :iex, you may optionally skip this warning by adding [xref: [exclude: [IEx]]] to your "def project" in mix.exs

  lib/mix/tasks/phx.server.ex:33: Mix.Tasks.Phx.Server.iex_running?/0

warning: :ranch.get_addr/1 defined in application :ranch is used by the current application but the current application does not depend on :ranch. To fix this, you must do one of:

  1. If :ranch is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :ranch is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :ranch, you may optionally skip this warning by adding [xref: [exclude: [:ranch]]] to your "def project" in mix.exs

  lib/phoenix/endpoint/cowboy_handler.ex:113: Phoenix.Endpoint.CowboyHandler.info/3

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/presence.ex:198: Phoenix.Presence.start_link/4

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/presence.ex:199: Phoenix.Presence.start_link/4

warning: Enum.partition/2 is deprecated. Use Enum.split_with/2 instead
  lib/mix/phoenix/schema.ex:234: Mix.Phoenix.Schema.partition_attrs_and_assocs/2

warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/transports/long_poll_server.ex:14: Phoenix.Transports.LongPoll.Supervisor.init/1

warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/transports/long_poll_server.ex:12: Phoenix.Transports.LongPoll.Supervisor.init/1

warning: Enum.partition/2 is deprecated. Use Enum.split_with/2 instead
  lib/mix/tasks/phoenix.gen.model.ex:155: Mix.Tasks.Phoenix.Gen.Model.partition_attrs_and_assocs/1

warning: Enum.partition/2 is deprecated. Use Enum.split_with/2 instead
  lib/phoenix/endpoint/handler.ex:39: Phoenix.Endpoint.Handler.default/3

warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/endpoint/handler.ex:35: Phoenix.Endpoint.Handler.init/1

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix.ex:51: Phoenix.start/2

warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/endpoint/supervisor.ex:71: Phoenix.Endpoint.Supervisor.init/1

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
Found at 3 locations:
  lib/phoenix/endpoint/supervisor.ex:84: Phoenix.Endpoint.Supervisor.pubsub_children/2
  lib/phoenix/endpoint/supervisor.ex:96: Phoenix.Endpoint.Supervisor.server_children/3
  lib/phoenix/endpoint/supervisor.ex:97: Phoenix.Endpoint.Supervisor.server_children/3

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/endpoint/supervisor.ex:76: Phoenix.Endpoint.Supervisor.config_children/3

warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix/endpoint/supervisor.ex:106: Phoenix.Endpoint.Supervisor.watcher_children/3

warning: incompatible types:

    map() !~ atom()

in expression:

    # lib/phoenix/router/helpers.ex:25
    endpoint.url

where "endpoint" was given the type atom() in:

    # lib/phoenix/router/helpers.ex:24
    is_atom(endpoint)

where "endpoint" was given the type map() (due to calling var.field) in:

    # lib/phoenix/router/helpers.ex:25
    endpoint.url

HINT: "var.field" (without parentheses) implies "var" is a map() while "var.fun()" (with parentheses) implies "var" is an atom()

Conflict found at
  lib/phoenix/router/helpers.ex:25: Phoenix.Router.Helpers.url/2

Generated phoenix app
==> phoenix_live_reload
Compiling 4 files (.ex)
warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/phoenix_live_reload/application.ex:8: Phoenix.LiveReloader.Application.start/2

Generated phoenix_live_reload app
==> todo
Compiling 16 files (.ex)
warning: variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo/store.ex:9: Todo.Store.list/0

warning: variable "event" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo_frontend/main.ex:79: Todo.Main.view/1

warning: variable "checked" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo_frontend/main.ex:57: Todo.Main.view/1

warning: variable "response" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo_frontend/data.ex:31: Todo.Data.add/1

warning: variable "response" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo_frontend/data.ex:42: Todo.Data.remove/1

warning: variable "response" is unused (if the variable is not meant to be used, prefix it with an underscore)
  lib/todo_frontend/data.ex:62: Todo.Data.update/2

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/todo_web/controllers/todo_controller.ex:1

warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
  lib/todo_web/controllers/page_controller.ex:1

warning: ElixirScript.JS.map_to_object/1 defined in application :elixir_script is used by the current application but the current application does not depend on :elixir_script. To fix this, you must do one of:

  1. If :elixir_script is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.JS]]] to your "def project" in mix.exs

Found at 5 locations:
  lib/todo_frontend/data.ex:23: Todo.Data.add/1
  lib/todo_frontend/data.ex:29: Todo.Data.add/1
  lib/todo_frontend/data.ex:41: Todo.Data.remove/1
  lib/todo_frontend/data.ex:52: Todo.Data.update/2
  lib/todo_frontend/data.ex:59: Todo.Data.update/2

warning: ElixirScript.JS.mutate/3 defined in application :elixir_script is used by the current application but the current application does not depend on :elixir_script. To fix this, you must do one of:

  1. If :elixir_script is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.JS]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:105: Todo.Main.process_event/1

warning: React.createElement/3 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React]]] to your "def project" in mix.exs

Found at 13 locations:
  lib/todo_frontend/main.ex:39: Todo.Main.view/1
  lib/todo_frontend/main.ex:40: Todo.Main.view/1
  lib/todo_frontend/main.ex:41: Todo.Main.view/1
  lib/todo_frontend/main.ex:42: Todo.Main.view/1
  lib/todo_frontend/main.ex:46: Todo.Main.view/1
  lib/todo_frontend/main.ex:54: Todo.Main.view/1
  lib/todo_frontend/main.ex:55: Todo.Main.view/1
  lib/todo_frontend/main.ex:64: Todo.Main.view/1
  lib/todo_frontend/main.ex:65: Todo.Main.view/1
  lib/todo_frontend/main.ex:66: Todo.Main.view/1
  lib/todo_frontend/main.ex:73: Todo.Main.view/1
  lib/todo_frontend/main.ex:77: Todo.Main.view/1
  lib/todo_frontend/main.ex:89: Todo.Main.view/1

warning: React.HTML.__using__/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:2: Todo.Main

warning: React.HTML.button/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:77: Todo.Main.view/1

warning: React.HTML.div/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:39: Todo.Main.view/1

warning: React.HTML.div/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:65: Todo.Main.view/1

warning: React.HTML.footer/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:89: Todo.Main.view/1

warning: React.HTML.h1/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:42: Todo.Main.view/1

warning: React.HTML.header/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:41: Todo.Main.view/1

warning: React.HTML.input/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

Found at 2 locations:
  lib/todo_frontend/main.ex:46: Todo.Main.view/1
  lib/todo_frontend/main.ex:66: Todo.Main.view/1

warning: React.HTML.label/1 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:73: Todo.Main.view/1

warning: React.HTML.li/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:64: Todo.Main.view/1

warning: React.HTML.section/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

Found at 2 locations:
  lib/todo_frontend/main.ex:40: Todo.Main.view/1
  lib/todo_frontend/main.ex:54: Todo.Main.view/1

warning: React.HTML.ul/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [React.HTML]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:55: Todo.Main.view/1

warning: ReactDOM.render/2 defined in application :elixir_script_react is used by the current application but the current application does not depend on :elixir_script_react. To fix this, you must do one of:

  1. If :elixir_script_react is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_react is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_react, you may optionally skip this warning by adding [xref: [exclude: [ReactDOM]]] to your "def project" in mix.exs

  lib/todo_frontend/main.ex:35: Todo.Main.render/0

warning: ElixirScript.Web.Console.log/1 defined in application :elixir_script_web is used by the current application but the current application does not depend on :elixir_script_web. To fix this, you must do one of:

  1. If :elixir_script_web is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_web is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_web, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.Web.Console]]] to your "def project" in mix.exs

Found at 5 locations:
  lib/todo_frontend/data.ex:16: Todo.Data.list/0
  lib/todo_frontend/data.ex:34: Todo.Data.add/1
  lib/todo_frontend/data.ex:45: Todo.Data.remove/1
  lib/todo_frontend/data.ex:65: Todo.Data.update/2
  lib/todo_frontend/main.ex:107: Todo.Main.process_event/1

warning: ElixirScript.Web.JSON.stringify/1 defined in application :elixir_script_web is used by the current application but the current application does not depend on :elixir_script_web. To fix this, you must do one of:

  1. If :elixir_script_web is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_web is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_web, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.Web.JSON]]] to your "def project" in mix.exs

Found at 2 locations:
  lib/todo_frontend/data.ex:29: Todo.Data.add/1
  lib/todo_frontend/data.ex:58: Todo.Data.update/2

warning: ElixirScript.Web.Window.fetch/1 defined in application :elixir_script_web is used by the current application but the current application does not depend on :elixir_script_web. To fix this, you must do one of:

  1. If :elixir_script_web is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_web is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_web, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.Web.Window]]] to your "def project" in mix.exs

  lib/todo_frontend/data.ex:9: Todo.Data.list/0

warning: ElixirScript.Web.Window.fetch/2 defined in application :elixir_script_web is used by the current application but the current application does not depend on :elixir_script_web. To fix this, you must do one of:

  1. If :elixir_script_web is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :elixir_script_web is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :elixir_script_web, you may optionally skip this warning by adding [xref: [exclude: [ElixirScript.Web.Window]]] to your "def project" in mix.exs

Found at 3 locations:
  lib/todo_frontend/data.ex:21: Todo.Data.add/1
  lib/todo_frontend/data.ex:39: Todo.Data.remove/1
  lib/todo_frontend/data.ex:50: Todo.Data.update/2

warning: Phoenix.LiveReloader.call/2 defined in application :phoenix_live_reload is used by the current application but the current application does not depend on :phoenix_live_reload. To fix this, you must do one of:

  1. If :phoenix_live_reload is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :phoenix_live_reload is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :phoenix_live_reload, you may optionally skip this warning by adding [xref: [exclude: [Phoenix.LiveReloader]]] to your "def project" in mix.exs

  lib/todo_web/endpoint.ex:1: TodoWeb.Endpoint.plug_builder_call/2

warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/todo.ex:12: Todo.start/2

warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/todo.ex:13: Todo.start/2

warning: incompatible types:

    map() !~ atom()

in expression:

    # lib/todo_web/router.ex:1
    endpoint.static_url

where "endpoint" was given the type atom() in:

    # lib/todo_web/router.ex:1
    is_atom(endpoint)

where "endpoint" was given the type map() (due to calling var.field) in:

    # lib/todo_web/router.ex:1
    endpoint.static_url

HINT: "var.field" (without parentheses) implies "var" is a map() while "var.fun()" (with parentheses) implies "var" is an atom()

Conflict found at
  lib/todo_web/router.ex:1: TodoWeb.Router.Helpers.static_url/2

Generated todo app

18:47:38.588 [warn]  ElixirScript: Plug.MissingAdapter is missing or unavailable

18:47:38.590 [warn]  ElixirScript: Plug.MissingAdapter is missing or unavailable

18:47:40.526 [error] Task #PID<0.2824.0> started from #PID<0.94.0> terminating
** (ArgumentError) argument error
    :erlang.abs({Inspect.Map, 19})
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:246: ElixirScript.Translate.Forms.Pattern.get_counter/1
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:252: ElixirScript.Translate.Forms.Pattern.make_identifier/1
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:219: ElixirScript.Translate.Forms.Pattern.process_pattern/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:23: anonymous fn/3 in ElixirScript.Translate.Forms.Pattern.do_compile/2
    (elixir 1.11.3) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:16: ElixirScript.Translate.Forms.Pattern.compile/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/clause.ex:13: ElixirScript.Translate.Clause.compile/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: anonymous fn/2 in ElixirScript.Translate.Form.compile/2
    (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: ElixirScript.Translate.Form.compile/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:15: ElixirScript.Translate.Form.compile!/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:170: ElixirScript.Translate.Function.compile_block/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:138: ElixirScript.Translate.Function.compile_clause/2
    (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:100: ElixirScript.Translate.Function.compile_clauses/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:60: ElixirScript.Translate.Function.compile/2
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/module.ex:98: ElixirScript.Translate.Module.compile/3
Function: &:erlang.apply/2
    Args: [#Function<0.95266767/1 in ElixirScript.Translate.execute/2>, [{Inspect.Map, %{attributes: [behaviour: Inspect, protocol_impl: [protocol: Inspect, for: Map]], beam_path: '/usr/local/Cellar/elixir/1.11.3/bin/../lib/elixir/ebin/Elixir.Inspect.Map.beam', compile_opts: [], definitions: [{{:traverse_fun, 2}, :defp, [line: 264], [{[line: 264], [{:list, [version: 0, line: 264], nil}, {:opts, [version: 1, line: 264], nil}], [], {:case, [line: 265, optimize_boolean: true], [{{:., [line: 265], [Inspect.List, :keyword?]}, [line: 265], [{:list, [version: 0, line: 265], nil}]}, [do: [{:->, [generated: true, line: 265], [[{:when, [line: 265], [{:x, [version: 2, line: 265, counter: {Inspect.Map, 19}], Kernel}, {{:., [line: 265], [:erlang, :orelse]}, [line: 265], [{{:., [line: 265], [:erlang, :"=:="]}, [line: 265], [{:x, [version: 2, line: 265, counter: {Inspect.Map, ...}], Kernel}, false]}, {{:., [line: 265], [:erlang, :"=:="]}, [line: 265], [{:x, [version: 2, line: 265, counter: {...}], Kernel}, nil]}]}]}], {:__block__, [line: 251], [{:=, [line: 268], [{:sep, [version: 3, line: 268], nil}, {{:., [line: 268], [Inspect.Algebra, :color]}, [line: 268], [" => ", :map, {:opts, [version: 1, line: 268], nil}]}]}, {:fn, [line: 269], [{:->, [line: 269], [[{:x1, [version: 4], :elixir_fn}, {:x2, [version: 5], :elixir_fn}], {:to_map, [line: 269], [{:x1, ...}, {...}, ...]}]}]}]}]}, {:->, [generated: true, line: 265], [[{:_, [line: 265], Kernel}], {:&, [line: 266], [{:/, [], [{{:., [], [Inspect.List, :keyword]}, [], []}, 2]}]}]}]]]}}]}, {{:to_map, 3}, :defp, [line: 273], [{[line: 273], [{{:key, [version: 0, line: 273], nil}, {:value, [version: 1, line: 273], nil}}, {:opts, [version: 2, line: 273], nil}, {:sep, [version: 3, line: 273], nil}], [], {{:., [line: 274], [Inspect.Algebra, :concat]}, [line: 274], [{{:., [line: 274], [Inspect.Algebra, :concat]}, [line: 274], [{{:., [line: 274], [Inspect.Algebra, :to_doc]}, [line: 274], [{:key, [version: 0, line: 274], nil}, {:opts, [version: 2, line: 274], nil}]}, {:sep, [version: 3, line: 274], nil}]}, {{:., [line: 274], [Inspect.Algebra, :to_doc]}, [line: 274], [{:value, [version: 1, line: 274], nil}, {:opts, [version: 2, line: 274], nil}]}]}}]}, {{:inspect, 3}, :def, [line: 256], [{[line: 256], [{:map, [version: 0, line: 256], nil}, {:name, [version: 1, line: 256], nil}, {:opts, [version: 2, line: 256], nil}], [], {:__block__, [line: 251], [{:=, [line: 257], [{:map, [version: 3, line: 257], nil}, {{:., [line: 257], [:maps, :to_list]}, [line: 257], [{:map, [version: 0, line: 257], nil}]}]}, {:=, [line: 258], [{:open, [version: 4, line: 258], nil}, {{:., [line: 258], [Inspect.Algebra, :color]}, [line: 258], [{:<<>>, [alignment: 0, line: 258], [{:"::", [inferred_bitstring_spec: true, line: 258], ["%", {:binary, [line: 258], []}]}, {:"::", [line: 258], [{:name, [version: 1, line: 258], nil}, {:binary, [], []}]}, {:"::", [inferred_bitstring_spec: true, line: 258], ["{", {:binary, [line: 258], []}]}]}, :map, {:opts, [version: 2, line: 258], nil}]}]}, {:=, [line: 259], [{:sep, [version: 5, line: 259], nil}, {{:., [line: 259], [Inspect.Algebra, :color]}, [line: 259], [",", :map, {:opts, [version: 2, line: 259], nil}]}]}, {:=, [line: 260], [{:close, [version: 6, line: 260], nil}, {{:., [line: 260], [Inspect.Algebra, :color]}, [line: 260], ["}", :map, {:opts, [version: 2, line: 260], nil}]}]}, {{:., [line: 261], [Inspect.Algebra, :container_doc]}, [line: 261], [{:open, [version: 4, line: 261], nil}, {:map, [version: 3, line: 261], nil}, {:close, [version: 6, line: 261], nil}, {:opts, [version: 2, line: 261], nil}, {:traverse_fun, [line: 261], [{:map, [version: 3, line: 261], nil}, {:opts, [version: 2, line: 261], nil}]}, [separator: {:sep, [version: 5, line: 261], nil}, break: :strict]]}]}}]}, {{:inspect, 2}, :def, [line: 252], [{[line: 252], [{:map, [version: 0, line: 252], nil}, {:opts, [version: 1, line: 252], nil}], [], {:inspect, [line: 253], [{:map, [version: 0, line: 253], nil}, "", {:opts, [version: 1, line: 253], nil}]}}]}, {{:__impl__, 1}, :def, [line: 251, context: Protocol], [{[line: 251, context: Protocol], [:for], [], Map}, {[line: 251, context: Protocol], [:target], [], Inspect.Map}, {[line: 251, context: Protocol], [:protocol], [], Inspect}]}], deprecated: [], file: "/private/tmp/elixir-20210104-95371-sm79va/elixir-1.11.3/lib/elixir/lib/inspect.ex", is_behaviour: false, last_modified: 1609775238, line: 251, module: Inspect.Map, relative_file: "lib/inspect.ex", struct: nil, unreachable: [], used: [__impl__: 1, inspect: 2, inspect: 3, to_map: 3, traverse_fun: 2, to_map: 3, traverse_fun: 2, inspect: 3, inspect: 2], used_modules: [Inspect, Inspect.Map, Map, Inspect.Algebra, Inspect.List]}}]]

18:47:40.532 [error] Task #PID<0.2826.0> started from #PID<0.94.0> terminating
** (ArgumentError) argument error
    :erlang.abs({Inspect.BitString, 26})
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:246: ElixirScript.Translate.Forms.Pattern.get_counter/1
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:252: ElixirScript.Translate.Forms.Pattern.make_identifier/1
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:219: ElixirScript.Translate.Forms.Pattern.process_pattern/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:23: anonymous fn/3 in ElixirScript.Translate.Forms.Pattern.do_compile/2
    (elixir 1.11.3) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:16: ElixirScript.Translate.Forms.Pattern.compile/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/clause.ex:13: ElixirScri** (EXIT from #PID<0.94.0>) an exception was raised:
    ** (ArgumentError) argument error
        :erlang.abs({Inspect.Map, 19})
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:246: ElixirScript.Translate.Forms.Pattern.get_counter/1
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:252: ElixirScript.Translate.Forms.Pattern.make_identifier/1
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:219: ElixirScript.Translate.Forms.Pattern.process_pattern/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:23: anonymous fn/3 in ElixirScript.Translate.Forms.Pattern.do_compile/2
        (elixir 1.11.3) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/forms/pattern.ex:16: ElixirScript.Translate.Forms.Pattern.compile/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/clause.ex:13: ElixirScript.Translate.Clause.compile/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: anonymous fn/2 in ElixirScript.Translate.Form.compile/2
        (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: ElixirScript.Translate.Form.compile/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:15: ElixirScript.Translate.Form.compile!/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:170: ElixirScript.Translate.Function.compile_block/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:138: ElixirScript.Translate.Function.compile_clause/2
        (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:100: ElixirScript.Translate.Function.compile_clauses/2
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:60: ElixirScript.Translate.Function.compile/2
        (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
        (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
        (elixir_script 0.32.1) lib/elixir_script/passes/translate/module.ex:98: ElixirScript.Translate.Module.compile/3

pt.Translate.Clause.compile/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: anonymous fn/2 in ElixirScript.Translate.Form.compile/2
    (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/form.ex:167: ElixirScript.Translate.Form.compile/2
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:167: ElixirScript.Translate.Function.compile_block/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:138: ElixirScript.Translate.Function.compile_clause/2
    (elixir 1.11.3) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:100: ElixirScript.Translate.Function.compile_clauses/2
    (elixir_script 0.32.1) lib/elixir_script/passes/translate/function.ex:60: ElixirScript.Translate.Function.compile/2
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir 1.11.3) lib/enum.ex:1533: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
Function: &:erlang.apply/2
    Args: [#Function<0.95266767/1 in ElixirScript.Translate.execute/2>, [{Inspect.BitString, %{attributes: [behaviour: Inspect, protocol_impl: [protocol: Inspect, for: BitString]], beam_path: '/usr/local/Cellar/elixir/1.11.3/bin/../lib/elixir/ebin/Elixir.Inspect.BitString.beam', compile_opts: [inline: [decrement: 1]], definitions: [{{:inspect_bitstring, 2}, :defp, [line: 127], [{[line: 127], ["", {:opts, [version: 0, line: 127], nil}], [], {{:., [line: 128], [Inspect.Algebra, :color]}, [line: 128], ["<<>>", :binary, {:opts, [version: 0, line: 128], nil}]}}, {[line: 131], [{:bitstring, [version: 0, line: 131], nil}, {:opts, [version: 1, line: 131], nil}], [], {:__block__, [line: 105], [{:=, [line: 132], [{:left, [version: 2, line: 132], nil}, {{:., [line: 132], [Inspect.Algebra, :color]}, [line: 132], ["<<", :binary, {:opts, [version: 1, line: 132], nil}]}]}, {:=, [line: 133], [{:right, [version: 3, line: 133], nil}, {{:., [line: 133], [Inspect.Algebra, :color]}, [line: 133], [">>", :binary, {:opts, [version: 1, line: 133], nil}]}]}, {:=, [line: 134], [{:inner, [version: 4, line: 134], nil}, {:each_bit, [line: 134], [{:bitstring, [version: 0, line: 134], nil}, {{:., [line: 134], [{:opts, [version: 1, line: 134], nil}, :limit]}, [no_parens: true, line: 134], []}, {:opts, [version: 1, line: 134], nil}]}]}, {{:., [line: 135], [Inspect.Algebra, :group]}, [line: 135], [{{:., [line: 135], [Inspect.Algebra, :concat]}, [line: 135], [{{:., [line: 135], [Inspect.Algebra, :concat]}, [line: 135], [{:left, [version: 2, line: 135], nil}, {{:., [line: 135], [Inspect.Algebra, :nest]}, [line: 135], [{:inner, [version: 4, line: 135], nil}, 2]}]}, {:right, [version: 3, line: 135], nil}]}]}]}}]}, {{:inspect, 2}, :def, [line: 106], [{[line: 106], [{:term, [version: 0, line: 106], nil}, {:opts, [version: 1, line: 106], nil}], [{{:., [line: 106], [:erlang, :is_binary]}, [line: 106], [{:term, [version: 0, line: 106], nil}]}], {:__block__, [line: 105], [{:=, [line: 107], [{:%, [line: 107], [Inspect.Opts, {:%{}, [line: 107], [binaries: {:bins, [version: 2, line: 107], nil}, base: {:base, [version: 3, line: 107], nil}, printable_limit: {:printable_limit, [version: 4, line: 107], nil}]}]}, {:opts, [version: 1, line: 107], nil}]}, {:case, [line: 109, optimize_boolean: true], [{:case, [line: 109, optimize_boolean: true], [{{:., [line: 109], [:erlang, :==]}, [line: 109], [{:base, [version: 3, line: 109], nil}, :decimal]}, [do: [{:->, [generated: true, line: 109], [[false], false]}, {:->, [generated: true, line: 109], [[true], {:case, [line: 110, optimize_boolean: true], [{{:., [line: 110], [...]}, [line: 110], [{...}, ...]}, [do: [{:->, ...}, {...}]]]}]}]]]}, [do: [{:->, [generated: true, line: 109], [[{:when, [line: 109], [{:x, [version: 5, line: 109, counter: {Inspect.BitString, 26}], Kernel}, {{:., [line: 109], [:erlang, :orelse]}, [line: 109], [{{:., [line: 109], [...]}, [line: 109], [{...}, ...]}, {{:., [...], ...}, [line: 109], [...]}]}]}], {:inspect_bitstring, [line: 119], [{:term, [version: 0, line: 119], nil}, {:opts, [version: 1, line: 119], nil}]}]}, {:->, [generated: true, line: 109], [[{:_, [line: 109], Kernel}], {:__block__, [line: 105], [{:=, [line: 111], [{:inspected, [version: 8, line: 111], nil}, {:case, [line: 112], [...]}]}, {{:., [line: 117], [Inspect.Algebra, :color]}, [line: 117], [{{:., [...], ...}, [line: 117], [...]}, :string, {:opts, ...}]}]}]}]]]}]}}, {[line: 123], [{:term, [version: 0, line: 123], nil}, {:opts, [version: 1, line: 123], nil}], [], {:inspect_bitstring, [line: 124], [{:term, [version: 0, line: 124], nil}, {:opts, [version: 1, line: 124], nil}]}}]}, {{:each_bit, 3}, :defp, [line: 138], [{[line: 138], [{:_, [line: 138], nil}, 0, {:_, [line: 138], nil}], [], "..."}, {[line: 142], [{:<<>>, [alignment: 0, line: 142], []}, {:_counter, [version: 0, line: 142], nil}, {:_opts, [version: 1, line: 142], nil}], [], :doc_nil}, {[line: 146], [{:<<>>, [alignment: 0, line: 146], [{:"::", [line: 146], [{:h, [version: 0, line: 146], nil}, {:-, [line: 146], [{:integer, [], []}, {:size, [], '\b'}]}]}]}, {:_counter, [version: 1, line: 146], nil}, {:opts, [version: 2, line: 146], nil}], [], {{:., [line: 147], [Inspect.Integer, :inspect]}, [line: 147], [{:h, [version: 0, line: 147], nil}, {:opts, [version: 2, line: 147], nil}]}}, {[line: 150], [{:<<>>, [alignment: :unknown, line: 150], [{:"::", [inferred_bitstring_spec: true, line: 150], [{:h, [version: 0, line: 150], nil}, {:integer, [line: 150], []}]}, {:"::", [line: 150], [{:t, [version: 1, line: 150], nil}, {:bitstring, [], []}]}]}, {:counter, [version: 2, line: 150], nil}, {:opts, [version: 3, line: 150], nil}], [], {{:., [line: 151], [Inspect.Algebra, :flex_glue]}, [line: 151], [{{:., [line: 152], [Inspect.Algebra, :concat]}, [line: 152], [{{:., [line: 152], [Inspect.Integer, :inspect]}, [line: 152], [{:h, [version: 0, line: 152], nil}, {:opts, [version: 3, line: 152], nil}]}, ","]}, {:each_bit, [line: 153], [{:t, [version: 1, line: 153], nil}, {:decrement, [line: 153], [{:counter, [version: 2, line: 153], nil}]}, {:opts, [version: 3, line: 153], nil}]}]}}, {[line: 157], [{:bitstring, [version: 0, line: 157], nil}, {:_counter, [version: 1, line: 157], nil}, {:opts, [version: 2, line: 157], nil}], [], {:__block__, [line: 105], [{:=, [line: 158], [{:size, [version: 3, line: 158], nil}, {{:., [line: 158], [:erlang, :bit_size]}, [line: 158], [{:bitstring, [version: 0, line: 158], nil}]}]}, {:=, [line: 159], [{:<<>>, [alignment: :unknown, line: 159], [{:"::", [line: 159], [{:h, [version: 4, line: 159], nil}, {:-, [line: 159], [{:integer, [], []}, {:size, [], ...}]}]}]}, {:bitstring, [version: 0, line: 159], nil}]}, {:<<>>, [alignment: 0, line: 160], [{:"::", [line: 160], [{{:., [line: 160], [Inspect.Integer, :inspect]}, [line: 160], [{:h, [version: 4, line: 160], nil}, {:opts, [version: 2, lin (truncated)
    ~/p/w/todo-elixirscript  on   master !2                                                                       1 ✘  took 58s   at 18:47:40 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant