Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save CaioCesarLima/d44729f2e290febc529162187d389a48 to your computer and use it in GitHub Desktop.

Select an option

Save CaioCesarLima/d44729f2e290febc529162187d389a48 to your computer and use it in GitHub Desktop.
git push gigalixir
Enumerating objects: 2601, done.
remote: Compiling code and generating slug.
remote: Setting environment variables.
remote: * LIBCLUSTER_KUBERNETES_SELECTOR
remote: * LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: * APP_NAME
remote: * SECRET_KEY_BASE
remote: * PORT
remote: * SOURCE_VERSION
remote: * POOL_SIZE
remote: * DATABASE_URL
remote: -----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
remote: Detected buildpacks: elixir nodejs
remote: -----> Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in custom directory
remote: Elixir+Phoenix app detected
remote: Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in custom directory
remote: =====> Downloading Buildpack: https://github.com/HashNuke/heroku-buildpack-elixir.git
remote: =====> Detected Framework: Elixir
remote: -----> Will export the following config vars:
remote: APP_NAME
remote: DATABASE_URL
remote: LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: LIBCLUSTER_KUBERNETES_SELECTOR
remote: POOL_SIZE
remote: PORT
remote: SECRET_KEY_BASE
remote: SOURCE_VERSION
remote: * MIX_ENV=prod
remote: -----> Checking Erlang and Elixir versions
remote: Will use the following versions:
remote: * Stack heroku-20
remote: * Erlang 24.0
remote: * Elixir v1.12
remote: -----> Using cached Erlang 24.0
remote: -----> Installing Erlang 24.0
remote:
remote: -----> Using cached Elixir v1.12
remote: -----> Installing Elixir v1.12
remote: -----> Installing Hex
remote: * creating /tmp/build/.mix/archives/hex-2.0.6
remote: -----> Installing rebar
remote: * creating /tmp/build/.mix/rebar
remote: * creating /tmp/build/.mix/rebar3
remote: -----> Fetching app dependencies with mix
remote: Resolving Hex dependencies...
remote: Resolution completed in 0.392s
remote: Unchanged:
remote: argon2_elixir 3.0.0
remote: bcrypt_elixir 3.0.1
remote: castore 0.1.20
remote: certifi 2.9.0
remote: comeonin 5.3.3
remote: connection 1.1.0
remote: cowboy 2.9.0
remote: cowboy_telemetry 0.4.0
remote: cowlib 2.11.0
remote: db_connection 2.4.3
remote: decimal 2.0.0
remote: ecto 3.9.4
remote: ecto_sql 3.9.2
remote: elixir_make 0.7.3
remote: esbuild 0.6.0
remote: gettext 0.20.0
remote: guardian 2.3.1
remote: hackney 1.18.1
remote: httpoison 1.8.2
remote: idna 6.1.1
remote: jason 1.4.0
remote: jose 1.11.5
remote: metrics 1.0.1
remote: mime 2.0.3
remote: mimerl 1.2.0
remote: parse_trans 3.3.1
remote: phoenix 1.6.15
remote: phoenix_ecto 4.4.0
remote: phoenix_html 3.2.0
remote: phoenix_live_dashboard 0.7.2
remote: phoenix_live_view 0.18.3
remote: phoenix_pubsub 2.1.1
remote: phoenix_template 1.0.0
remote: phoenix_view 2.0.2
remote: plug 1.14.0
remote: plug_cowboy 2.6.0
remote: plug_crypto 1.2.3
remote: postgrex 0.16.5
remote: ranch 1.8.0
remote: ssl_verify_fun 1.1.6
remote: swoosh 1.9.1
remote: tailwind 0.2.0
remote: telemetry 1.1.0
remote: telemetry_metrics 0.6.1
remote: telemetry_poller 1.0.0
remote: unicode_util_compat 0.7.0
remote: * Getting phoenix (Hex package)
remote: * Getting phoenix_ecto (Hex package)
remote: * Getting ecto_sql (Hex package)
remote: * Getting postgrex (Hex package)
remote: * Getting phoenix_live_dashboard (Hex package)
remote: * Getting esbuild (Hex package)
remote: * Getting swoosh (Hex package)
remote: * Getting telemetry_metrics (Hex package)
remote: * Getting telemetry_poller (Hex package)
remote: * Getting gettext (Hex package)
remote: * Getting jason (Hex package)
remote: * Getting plug_cowboy (Hex package)
remote: * Getting bcrypt_elixir (Hex package)
remote: * Getting argon2_elixir (Hex package)
remote: * Getting guardian (Hex package)
remote: * Getting httpoison (Hex package)
remote: * Getting phoenix_live_view (Hex package)
remote: * Getting tailwind (Hex package)
remote: * Getting castore (Hex package)
remote: * Getting phoenix_html (Hex package)
remote: * Getting phoenix_template (Hex package)
remote: * Getting telemetry (Hex package)
remote: * Getting hackney (Hex package)
remote: * Getting certifi (Hex package)
remote: * Getting idna (Hex package)
remote: * Getting metrics (Hex package)
remote: * Getting mimerl (Hex package)
remote: * Getting parse_trans (Hex package)
remote: * Getting ssl_verify_fun (Hex package)
remote: * Getting unicode_util_compat (Hex package)
remote: * Getting jose (Hex package)
remote: * Getting comeonin (Hex package)
remote: * Getting elixir_make (Hex package)
remote: * Getting cowboy (Hex package)
remote: * Getting cowboy_telemetry (Hex package)
remote: * Getting plug (Hex package)
remote: * Getting mime (Hex package)
remote: * Getting plug_crypto (Hex package)
remote: * Getting cowlib (Hex package)
remote: * Getting ranch (Hex package)
remote: * Getting connection (Hex package)
remote: * Getting db_connection (Hex package)
remote: * Getting decimal (Hex package)
remote: * Getting ecto (Hex package)
remote: * Getting phoenix_pubsub (Hex package)
remote: * Getting phoenix_view (Hex package)
remote: You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more
remote: -----> Copying hex from /tmp/build/.hex
remote: -----> Compiling
remote: ===> Analyzing applications...
remote: ===> Compiling parse_trans
remote: ===> Analyzing applications...
remote: ===> Compiling mimerl
remote: ==> connection
remote: Compiling 1 file (.ex)
remote: Generated connection app
remote: ===> Analyzing applications...
remote: ===> Compiling metrics
remote: ===> Analyzing applications...
remote: ===> Compiling unicode_util_compat
remote: ===> Analyzing applications...
remote: ===> Compiling idna
remote: ==> gettext
remote: Compiling 1 file (.yrl)
remote: Compiling 1 file (.erl)
remote: Compiling 21 files (.ex)
remote: Generated gettext app
remote: ==> jose
remote: warning: the dependency :jose requires Elixir "~> 1.13" but you are running on v1.12.3
remote: Compiling 112 files (.erl)
remote: Compiling 8 files (.ex)
remote: Generated jose app
remote: ===> Analyzing applications...
remote: ===> Compiling ranch
remote: ===> Analyzing applications...
remote: ===> Compiling telemetry
remote: ==> telemetry_metrics
remote: Compiling 7 files (.ex)
remote: Generated telemetry_metrics app
remote: ===> Analyzing applications...
remote: ===> Compiling telemetry_poller
remote: ==> decimal
remote: Compiling 4 files (.ex)
remote: Generated decimal app
remote: ==> jason
remote: Compiling 10 files (.ex)
remote: Generated jason app
remote: ==> comeonin
remote: Compiling 4 files (.ex)
remote: Generated comeonin app
remote: ==> ssl_verify_fun
remote: Compiling 7 files (.erl)
remote: Generated ssl_verify_fun app
remote: ==> castore
remote: Compiling 1 file (.ex)
remote: Generated castore app
remote: ==> esbuild
remote: Compiling 3 files (.ex)
remote: Generated esbuild app
remote: ==> tailwind
remote: Compiling 3 files (.ex)
remote: Generated tailwind app
remote: ==> elixir_make
remote: Compiling 6 files (.ex)
remote: Generated elixir_make app
remote: ==> bcrypt_elixir
remote: mkdir -p "/tmp/build/_build/prod/lib/bcrypt_elixir/priv"
remote: cc -g -O3 -Wall -Wno-format-truncation -I"/app/.platform_tools/erlang/erts-12.0/include" -Ic_src -fPIC -shared c_src/bcrypt_nif.c c_src/blowfish.c -o "/tmp/build/_build/prod/lib/bcrypt_elixir/priv/bcrypt_nif.so"
remote: Compiling 3 files (.ex)
remote: Generated bcrypt_elixir app
remote: ==> argon2_elixir
remote: mkdir -p /tmp/build/_build/prod/lib/argon2_elixir/priv
remote: cc -g -O3 -pthread -Wall -Wno-format-truncation -I"/app/.platform_tools/erlang/erts-12.0/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 /tmp/build/_build/prod/lib/argon2_elixir/priv/argon2_nif.so
remote: Compiling 3 files (.ex)
remote: Generated argon2_elixir app
remote: ===> Analyzing applications...
remote: ===> Compiling certifi
remote: ===> Analyzing applications...
remote: ===> Compiling hackney
remote: ==> db_connection
remote: Compiling 14 files (.ex)
remote: Generated db_connection app
remote: ==> httpoison
remote: Compiling 3 files (.ex)
remote: Generated httpoison app
remote: ==> ecto
remote: Compiling 56 files (.ex)
remote: Generated ecto app
remote: ==> phoenix_pubsub
remote: Compiling 11 files (.ex)
remote: Generated phoenix_pubsub app
remote: ===> Analyzing applications...
remote: ===> Compiling cowlib
remote: ===> Analyzing applications...
remote: ===> Compiling cowboy
remote: ===> Analyzing applications...
remote: ===> Compiling cowboy_telemetry
remote: ==> mime
remote: Compiling 1 file (.ex)
remote: Generated mime app
remote: ==> postgrex
remote: Compiling 64 files (.ex)
remote: Generated postgrex app
remote: ==> ecto_sql
remote: Compiling 25 files (.ex)
remote: Generated ecto_sql app
remote: ==> plug_crypto
remote: Compiling 5 files (.ex)
remote: Generated plug_crypto app
remote: ==> plug
remote: Compiling 1 file (.erl)
remote: Compiling 41 files (.ex)
remote: Generated plug app
remote: ==> plug_cowboy
remote: Compiling 5 files (.ex)
remote: Generated plug_cowboy app
remote: ==> swoosh
remote: Compiling 42 files (.ex)
remote: Generated swoosh app
remote: warning: the dependency :guardian requires Elixir "~> 1.13" but you are running on v1.12.3
remote: ==> guardian
remote: Compiling 25 files (.ex)
remote: Generated guardian app
remote: ==> phoenix_html
remote: Compiling 8 files (.ex)
remote: Generated phoenix_html app
remote: ==> phoenix_template
remote: Compiling 4 files (.ex)
remote: Generated phoenix_template app
remote: ==> phoenix_view
remote: Compiling 1 file (.ex)
remote: Generated phoenix_view app
remote: ==> phoenix
remote: Compiling 69 files (.ex)
remote: Generated phoenix app
remote: ==> phoenix_live_view
remote: Compiling 33 files (.ex)
remote: warning: incompatible types:
remote:
remote: tuple() !~ {dynamic(), var1}
remote:
remote: in expression:
remote:
remote: # lib/phoenix_component/declarative.ex:1141
remote: {_, attr_value} = type_value
remote:
remote: where "type_value" was given the type tuple() in:
remote:
remote: # lib/phoenix_component/declarative.ex:1140
remote: is_tuple(type_value)
remote:
remote: where "type_value" was given the type tuple() in:
remote:
remote: # lib/phoenix_component/declarative.ex:1140
remote: tuple_size(type_value)
remote:
remote: where "type_value" was given the type {dynamic(), var1} in:
remote:
remote: # lib/phoenix_component/declarative.ex:1141
remote: {_, attr_value} = type_value
remote:
remote: Conflict found at
remote: lib/phoenix_component/declarative.ex:1141: Phoenix.Component.Declarative.verify/3
remote:
remote: Generated phoenix_live_view app
remote: ==> phoenix_live_dashboard
remote: Compiling 40 files (.ex)
remote: Generated phoenix_live_dashboard app
remote: ==> phoenix_ecto
remote: Compiling 7 files (.ex)
remote: Generated phoenix_ecto app
remote: ==> igrejoteca
remote: Compiling 85 files (.ex)
remote:
remote: == Compilation error in file lib/igrejoteca/accounts/guardian/guardian.ex ==
remote: [{:__MODULE__, [line: 2, counter: {Igrejoteca.Accounts.Guardian, 2}], Guardian}, :permissions]
remote:
remote: # 4
remote: nil
remote:
remote: (elixir 1.12.3) lib/application.ex:505: Application."MACRO-compile_env"/4
remote: (elixir 1.12.3) expanding macro: Application.compile_env/2
remote: lib/igrejoteca/accounts/guardian/guardian.ex:2: Igrejoteca.Accounts.Guardian (module)
remote: (elixir 1.12.3) expanding macro: Kernel.||/2
remote: lib/igrejoteca/accounts/guardian/guardian.ex:2: Igrejoteca.Accounts.Guardian (module)
remote: (elixir 1.12.3) expanding macro: Kernel.@/1
remote: lib/igrejoteca/accounts/guardian/guardian.ex:2: Igrejoteca.Accounts.Guardian (module)
remote: (guardian 2.3.1) expanding macro: Guardian.__using__/1
remote: 2023/05/26 00:00:14 exit status 1
remote: Deploy aborted
To https://git.gigalixir.com/igrejotecaapi.git/
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.gigalixir.com/igrejotecaapi.git/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment