api_management_console

Build log

host

api_management_console 0.2.0 · fail · run rb-api_management_console-0.2.0-1794774185183
244 of 244 lines
1Resolving Hex dependencies...2Resolution completed in 0.009s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> circular_buffer17Compiling 1 file (.ex)18Generated circular_buffer app19==> comeonin20Compiling 3 files (.ex)21Generated comeonin app22==> logger_backends23Compiling 7 files (.ex)24Generated logger_backends app25==> jose26Compiling 113 files (.erl)27Compiling 8 files (.ex)28Generated jose app29==> cubdb30Compiling 14 files (.ex)31    warning: the variable "block_rest" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator32    │33 81 │           <<prefix::binary-size(block_rest), rest::binary>> = bin34    │                                 ~35    │36    └─ lib/cubdb/store/file/blocks.ex:81:33: CubDB.Store.File.Blocks.at_block_boundary/43738    warning: the variable "data_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator39    │40 93 │       <<block::binary-size(data_size), rest::binary>> = bin41    │                            ~42    │43    └─ lib/cubdb/store/file/blocks.ex:93:28: CubDB.Store.File.Blocks.add/34445     warning: the variable "data_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator46     │47 104 │       <<_::binary-1, block::binary-size(data_size), rest::binary>> = bin48     │                                         ~49     │50     └─ lib/cubdb/store/file/blocks.ex:104:41: CubDB.Store.File.Blocks.strip/35152      warning: a struct for CubDB.State is expected on struct update:5354          %CubDB.State{state | auto_compact: setting}5556      but got type:5758          dynamic()5960      where "state" was given the type:6162          # type: dynamic()63          # from: lib/cubdb.ex:1382:5264          state6566      when defining the variable "state", you must also pattern match on "%CubDB.State{}"6768      type warning found at:69      │70 1384 │       {:ok, setting} -> {:reply, :ok, %State{state | auto_compact: setting}}71      │                                       ~72      │73      └─ lib/cubdb.ex:1384:39: CubDB.handle_call/37475      warning: a struct for CubDB.State is expected on struct update:7677          %CubDB.State{state | auto_file_sync: bool}7879      but got type:8081          dynamic()8283      where "state" was given the type:8485          # type: dynamic()86          # from: lib/cubdb.ex:1389:5187          state8889      when defining the variable "state", you must also pattern match on "%CubDB.State{}"9091      type warning found at:92      │93 1390 │     {:reply, :ok, %State{state | auto_file_sync: bool}}94      │                   ~95      │96      └─ lib/cubdb.ex:1390:19: CubDB.handle_call/39798      warning: comparison between distinct types found:99100          pid != nil101102      given types:103104          dynamic(not nil) != nil105106      where "pid" was given the type:107108          # type: dynamic(not nil)109          # from: lib/cubdb.ex:1579:33110          state = %CubDB.State{compactor: pid}111112      While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false113114      type warning found at:115      │116 1580 │     if pid != nil do117      │            ~118      │119      └─ lib/cubdb.ex:1580:12: CubDB.do_halt_compaction/1120121      warning: a struct for CubDB.State is expected on struct update:122123          %CubDB.State{state | clean_up_pending: true}124125      but got type:126127          dynamic()128129      where "state" was given the type:130131          # type: dynamic()132          # from: lib/cubdb.ex:1620:31133          state134135      when defining the variable "state", you must also pattern match on "%CubDB.State{}"136137      type warning found at:138      │139 1621 │     %State{state | clean_up_pending: true}140      │     ~141      │142      └─ lib/cubdb.ex:1621:5: CubDB.clean_up_when_possible/1143144Generated cubdb app145==> elixir_make146Compiling 8 files (.ex)147Generated elixir_make app148==> nerves_logging149 CC kmsg_tailer.o150 LD kmsg_tailer151Not crosscompiling. To test locally, the port binary needs extra permissions.152Set SUDO=sudo to set permissions. The default is to skip this step.153SUDO_ASKPASS=/usr/bin/ssh-askpass154SUDO=true155Compiling 5 files (.ex)156Generated nerves_logging app157==> bcrypt_elixir158mkdir -p "/work/proj/_build/host/lib/bcrypt_elixir/priv"159cc -g -O3 -Wall -Wno-format-truncation -I"/usr/local/lib/erlang/erts-17.1.1/include" -Ic_src -fPIC -shared  c_src/bcrypt_nif.c c_src/blowfish.c -o "/work/proj/_build/host/lib/bcrypt_elixir/priv/bcrypt_nif.so"160Compiling 3 files (.ex)161Generated bcrypt_elixir app162==> ring_logger163Compiling 7 files (.ex)164Generated ring_logger app165==> joken166Compiling 8 files (.ex)167Generated joken app168==> api_management_console169Compiling 22 files (.ex)170    warning: unused require Logger171    │172  4 │   require Logger173    │   ~174    │175    └─ lib/api_management_console_v2/audit_log/store.ex:4:3176177    warning: unused require Logger178    │179  4 │   require Logger180    │   ~181    │182    └─ lib/api_management_console_v2/route_policies/store.ex:4:3183184    warning: unused require Logger185    │186 17 │   require Logger187    │   ~188    │189    └─ lib/api_management_console_v2/route_policies.ex:17:3190191    error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module192    │193  6 │   import Plug.Conn194    │   ^195    │196    └─ lib/api_management_console_v2_web/plugs/logout.ex:6:3: ApiManagementConsoleV2Web.Plugs.Logout (module)197198    error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module199    │200  6 │   import Plug.Conn201    │   ^202    │203    └─ lib/api_management_console_v2_web/plugs/audit_download.ex:6:3: ApiManagementConsoleV2Web.Plugs.AuditDownload (module)204205    error: module Phoenix.LiveView is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module206    │207 18 │   use Phoenix.LiveView208    │   ^^^^^^^^^^^^^^^^^^^^209    │210    └─ lib/api_management_console_v2_web/route_console_live.ex:18: ApiManagementConsoleV2Web.RouteConsoleLive (module)211212    error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module213    │214 16 │   import Plug.Conn215    │   ^216    │217    └─ lib/api_management_console_v2_web/plugs/require_admin.ex:16:3: ApiManagementConsoleV2Web.Plugs.RequireAdmin (module)218219    error: module Phoenix.Controller is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module220    │221 12 │   use Phoenix.Controller, formats: [:html]222    │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^223    │224    └─ lib/api_management_console_v2_web/dead_console_controller.ex:12: ApiManagementConsoleV2Web.DeadConsoleController (module)225226    error: module Phoenix.Controller is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module227    │228  4 │   use Phoenix.Controller, formats: [:html]229    │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^230    │231    └─ lib/api_management_console_v2_web/login_controller.ex:4: ApiManagementConsoleV2Web.LoginController (module)232233    error: module Plug.Conn is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module234    │235 22 │   import Plug.Conn236    │   ^237    │238    └─ lib/api_management_console_v2/plugs/route_guard.ex:22:3: ApiManagementConsoleV2.Plugs.RouteGuard (module)239240241== Compilation error in file lib/api_management_console_v2_web/plugs/logout.ex ==242** (CompileError) lib/api_management_console_v2_web/plugs/logout.ex: cannot compile module ApiManagementConsoleV2Web.Plugs.Logout (errors have been logged)243244could not compile dependency :api_management_console, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile api_management_console --force", update it with "mix deps.update api_management_console" or clean it with "mix deps.clean api_management_console"