Build log
host
auth_shield 0.0.4 · fail · run rb-auth_shield-0.0.4-1794774651913
196 of 196 lines
1Resolving Hex dependencies...2Resolution completed in 0.014s3All 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==> mime17Compiling 1 file (.ex)18Generated mime app19==> delx20Compiling 7 files (.ex)21Generated delx app22==> circular_buffer23Compiling 1 file (.ex)24Generated circular_buffer app25==> comeonin26Compiling 3 files (.ex)27Generated comeonin app28==> logger_backends29Compiling 7 files (.ex)30Generated logger_backends app31==> plug_crypto32Compiling 5 files (.ex)33Generated plug_crypto app34==> nerves_compatibility_test35===> Analyzing applications...36===> Compiling ranch37==> elixir_make38Compiling 8 files (.ex)39Generated elixir_make app40==> nerves_logging41 CC kmsg_tailer.o42 LD kmsg_tailer43Not crosscompiling. To test locally, the port binary needs extra permissions.44Set SUDO=sudo to set permissions. The default is to skip this step.45SUDO_ASKPASS=/usr/bin/ssh-askpass46SUDO=true47Compiling 5 files (.ex)48Generated nerves_logging app49==> argon2_elixir50mkdir -p /work/proj/_build/host/lib/argon2_elixir/priv51cc -g -O3 -pthread -Wall -Wno-format-truncation -I"/usr/local/lib/erlang/erts-17.1.1/include" -Iargon2/include -Iargon2/src -Ic_src -shared -fPIC -fvisibility=hidden -Wl,-soname,libargon2.so.0 argon2/src/argon2.c argon2/src/core.c argon2/src/blake2/blake2b.c argon2/src/thread.c argon2/src/encoding.c argon2/src/ref.c c_src/argon2_nif.c -o /work/proj/_build/host/lib/argon2_elixir/priv/argon2_nif.so52Compiling 3 files (.ex)53 warning: using single-quoted strings to represent charlists is deprecated.54 Use ~c"" if you indeed want a charlist or use "" instead.55 You may run "mix format --migrate" to change all single-quoted56 strings to use the ~c sigil and fix this warning.57 │58 119 │ path = :filename.join(:code.priv_dir(:argon2_elixir), 'argon2_nif')59 │ ~60 │61 └─ lib/argon2/base.ex:119:596263 warning: incompatible types given to ArgumentError.exception/1:6465 ArgumentError.exception(Argon2.Base.handle_error(error))6667 given types:6869 -none()-7071 the 1st argument is empty (often represented as none()), most likely because it is the result of an expression that always fails, such as a `raise` or a previous invalid call. This causes any function called with this value to fail7273 where "error" was given the type:7475 # type: dynamic()76 # from: lib/argon2.ex:104:777 error7879 type warning found at:80 │81 104 │ error -> raise ArgumentError, Base.handle_error(error)82 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~83 │84 └─ lib/argon2.ex:104: Argon2.verify_pass/28586Generated argon2_elixir app87==> nerves_compatibility_test88===> Analyzing applications...89===> Compiling cowlib90==> ring_logger91Compiling 7 files (.ex)92Generated ring_logger app93==> decimal94Compiling 4 files (.ex)95Generated decimal app96==> nerves_compatibility_test97===> Analyzing applications...98===> Compiling telemetry99==> db_connection100Compiling 18 files (.ex)101Generated db_connection app102==> ecto103Compiling 56 files (.ex)104Generated ecto app105==> ecto_sql106Compiling 25 files (.ex)107Generated ecto_sql app108==> nerves_compatibility_test109===> Analyzing applications...110===> Compiling cowboy111==> plug112Compiling 1 file (.erl)113Compiling 42 files (.ex)114Generated plug app115==> eqrcode116Compiling 10 files (.ex)117 warning: the variable "n1" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator118 │119 55 │ <<_::binary-size(n1), mask::binary-size(n2), _::binary>> = @mask0120 │ ~121 │122 └─ lib/eqrcode/encode.ex:55:22: EQRCode.Encode.encode/3123124 warning: the variable "n2" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator125 │126 55 │ <<_::binary-size(n1), mask::binary-size(n2), _::binary>> = @mask0127 │ ~128 │129 └─ lib/eqrcode/encode.ex:55:45: EQRCode.Encode.encode/3130131 warning: Tuple.append/2 is deprecated. Use insert_at instead132 │133 378 │ |> Tuple.append(0)134 │ ~135 │136 └─ lib/eqrcode/matrix.ex:378:20: EQRCode.Matrix.draw_quite_zone/1137 └─ lib/eqrcode/matrix.ex:379:20: EQRCode.Matrix.draw_quite_zone/1138 └─ lib/eqrcode/matrix.ex:384:16: EQRCode.Matrix.draw_quite_zone/1139 └─ lib/eqrcode/matrix.ex:385:16: EQRCode.Matrix.draw_quite_zone/1140141Generated eqrcode app142==> uboot_env143Compiling 5 files (.ex)144Generated uboot_env app145==> property_table146Compiling 8 files (.ex)147Generated property_table app148==> nerves_uevent149 CC uevent.o150 LD uevent151Not 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_uevent app157==> nerves_runtime158Compiling 14 files (.ex)159Generated nerves_runtime app160==> toolshed161Compiling 5 files (.ex)162Generated toolshed app163==> nerves_compatibility_test164===> Analyzing applications...165===> Compiling cowboy_telemetry166==> plug_cowboy167Compiling 5 files (.ex)168Generated plug_cowboy app169==> auth_shield170Compiling 31 files (.ex)171 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead172 │173 11 │ use Delx, otp_app: :auth_shield174 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~175 │176 └─ lib/auth_shield/authentication.ex:11: AuthShield.Authentication (module)177178 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead179 │180 16 │ use Delx, otp_app: :auth_shield181 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~182 │183 └─ lib/auth_shield/credentials.ex:16: AuthShield.Credentials (module)184185186== Compilation error in file lib/auth_shield/authentication.ex ==187** (UndefinedFunctionError) function Kernel.Utils.defdelegate/2 is undefined or private. Did you mean:188189 * defdelegate_all/3190 * defdelegate_each/2191192 (elixir 1.20.3) Kernel.Utils.defdelegate({:create_session, [stop_generated: true, line: 24, column: 15], [{:params, [line: 24, column: 30], nil}]}, [to: AuthShield.Authentication.Sessions, as: :insert])193 lib/auth_shield/authentication.ex:24: anonymous fn/2 in :elixir_compiler_471.__MODULE__/1194 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2195 lib/auth_shield/authentication.ex:24: (module)196could not compile dependency :auth_shield, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile auth_shield --force", update it with "mix deps.update auth_shield" or clean it with "mix deps.clean auth_shield"