api_management_console

Build log

nerves_system_rpi4

api_management_console 0.2.0 · fail · run rb-api_management_console-0.2.0-1794774185183
281 of 281 lines
1Resolving Hex dependencies...2Resolution completed in 0.013s3* Getting api_management_console (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting bcrypt_elixir (Hex package)34* Getting cubdb (Hex package)35* Getting joken (Hex package)36* Getting jose (Hex package)37* Getting comeonin (Hex package)38==> tablet39Compiling 2 files (.ex)40Generated tablet app41==> nerves_discovery42Compiling 5 files (.ex)43Generated nerves_discovery app44==> interactive_cmd45Compiling 1 file (.ex)46Generated interactive_cmd app47==> nerves48Compiling 65 files (.ex)49Generated nerves app50==> nerves_system_br51Generated nerves_system_br app52==> circular_buffer53Compiling 1 file (.ex)54Generated circular_buffer app55==> comeonin56Compiling 3 files (.ex)57Generated comeonin app58==> logger_backends59Compiling 7 files (.ex)60Generated logger_backends app61==> jose62Compiling 113 files (.erl)63Compiling 8 files (.ex)64Generated jose app65==> cubdb66Compiling 14 files (.ex)67    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 operator68    │69 81 │           <<prefix::binary-size(block_rest), rest::binary>> = bin70    │                                 ~71    │72    └─ lib/cubdb/store/file/blocks.ex:81:33: CubDB.Store.File.Blocks.at_block_boundary/47374    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 operator75    │76 93 │       <<block::binary-size(data_size), rest::binary>> = bin77    │                            ~78    │79    └─ lib/cubdb/store/file/blocks.ex:93:28: CubDB.Store.File.Blocks.add/38081     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 operator82     │83 104 │       <<_::binary-1, block::binary-size(data_size), rest::binary>> = bin84     │                                         ~85     │86     └─ lib/cubdb/store/file/blocks.ex:104:41: CubDB.Store.File.Blocks.strip/38788      warning: a struct for CubDB.State is expected on struct update:8990          %CubDB.State{state | auto_compact: setting}9192      but got type:9394          dynamic()9596      where "state" was given the type:9798          # type: dynamic()99          # from: lib/cubdb.ex:1382:52100          state101102      when defining the variable "state", you must also pattern match on "%CubDB.State{}"103104      type warning found at:105      │106 1384 │       {:ok, setting} -> {:reply, :ok, %State{state | auto_compact: setting}}107      │                                       ~108      │109      └─ lib/cubdb.ex:1384:39: CubDB.handle_call/3110111      warning: a struct for CubDB.State is expected on struct update:112113          %CubDB.State{state | auto_file_sync: bool}114115      but got type:116117          dynamic()118119      where "state" was given the type:120121          # type: dynamic()122          # from: lib/cubdb.ex:1389:51123          state124125      when defining the variable "state", you must also pattern match on "%CubDB.State{}"126127      type warning found at:128      │129 1390 │     {:reply, :ok, %State{state | auto_file_sync: bool}}130      │                   ~131      │132      └─ lib/cubdb.ex:1390:19: CubDB.handle_call/3133134      warning: comparison between distinct types found:135136          pid != nil137138      given types:139140          dynamic(not nil) != nil141142      where "pid" was given the type:143144          # type: dynamic(not nil)145          # from: lib/cubdb.ex:1579:33146          state = %CubDB.State{compactor: pid}147148      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 false149150      type warning found at:151      │152 1580 │     if pid != nil do153      │            ~154      │155      └─ lib/cubdb.ex:1580:12: CubDB.do_halt_compaction/1156157      warning: a struct for CubDB.State is expected on struct update:158159          %CubDB.State{state | clean_up_pending: true}160161      but got type:162163          dynamic()164165      where "state" was given the type:166167          # type: dynamic()168          # from: lib/cubdb.ex:1620:31169          state170171      when defining the variable "state", you must also pattern match on "%CubDB.State{}"172173      type warning found at:174      │175 1621 │     %State{state | clean_up_pending: true}176      │     ~177      │178      └─ lib/cubdb.ex:1621:5: CubDB.clean_up_when_possible/1179180Generated cubdb app181==> elixir_make182Compiling 8 files (.ex)183Generated elixir_make app184==> nerves_logging185 CC kmsg_tailer.o186 LD kmsg_tailer187Compiling 5 files (.ex)188Generated nerves_logging app189==> bcrypt_elixir190mkdir -p "/work/proj/_build/rpi4/lib/bcrypt_elixir/priv"191/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging -Wall -Wno-format-truncation -I"/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/erlang/erts-17.1.1/include" -Ic_src -fPIC -shared --sysroot=/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging c_src/bcrypt_nif.c c_src/blowfish.c -o "/work/proj/_build/rpi4/lib/bcrypt_elixir/priv/bcrypt_nif.so"192Compiling 3 files (.ex)193Generated bcrypt_elixir app194==> ring_logger195Compiling 7 files (.ex)196Generated ring_logger app197==> nerves_toolchain_aarch64_nerves_linux_gnu198Compiling 1 file (.ex)199Generated nerves_toolchain_aarch64_nerves_linux_gnu app200==> nerves_system_rpi4201Generated nerves_system_rpi4 app202==> joken203Compiling 8 files (.ex)204Generated joken app205==> api_management_console206Compiling 22 files (.ex)207    warning: unused require Logger208    │209  4 │   require Logger210    │   ~211    │212    └─ lib/api_management_console_v2/audit_log/store.ex:4:3213214    warning: unused require Logger215    │216  4 │   require Logger217    │   ~218    │219    └─ lib/api_management_console_v2/route_policies/store.ex:4:3220221    warning: unused require Logger222    │223 17 │   require Logger224    │   ~225    │226    └─ lib/api_management_console_v2/route_policies.ex:17:3227228    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 module229    │230  4 │   use Phoenix.Controller, formats: [:html]231    │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^232    │233    └─ lib/api_management_console_v2_web/login_controller.ex:4: ApiManagementConsoleV2Web.LoginController (module)234235    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 module236    │237  6 │   import Plug.Conn238    │   ^239    │240    └─ lib/api_management_console_v2_web/plugs/logout.ex:6:3: ApiManagementConsoleV2Web.Plugs.Logout (module)241242    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 module243    │244 16 │   import Plug.Conn245    │   ^246    │247    └─ lib/api_management_console_v2_web/plugs/require_admin.ex:16:3: ApiManagementConsoleV2Web.Plugs.RequireAdmin (module)248249    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 module250    │251  6 │   import Plug.Conn252    │   ^253    │254    └─ lib/api_management_console_v2_web/plugs/audit_download.ex:6:3: ApiManagementConsoleV2Web.Plugs.AuditDownload (module)255256    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 module257    │258 18 │   use Phoenix.LiveView259    │   ^^^^^^^^^^^^^^^^^^^^260    │261    └─ lib/api_management_console_v2_web/route_console_live.ex:18: ApiManagementConsoleV2Web.RouteConsoleLive (module)262263    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 module264    │265 12 │   use Phoenix.Controller, formats: [:html]266    │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^267    │268    └─ lib/api_management_console_v2_web/dead_console_controller.ex:12: ApiManagementConsoleV2Web.DeadConsoleController (module)269270    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 module271    │272 22 │   import Plug.Conn273    │   ^274    │275    └─ lib/api_management_console_v2/plugs/route_guard.ex:22:3: ApiManagementConsoleV2.Plugs.RouteGuard (module)276277278== Compilation error in file lib/api_management_console_v2_web/plugs/require_admin.ex ==279** (CompileError) lib/api_management_console_v2_web/plugs/require_admin.ex: cannot compile module ApiManagementConsoleV2Web.Plugs.RequireAdmin (errors have been logged)280281could 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"