Skip to content

Instantly share code, notes, and snippets.

@hamzakc
Created May 2, 2023 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamzakc/83bb554490afcb564c677a22cc85b1df to your computer and use it in GitHub Desktop.
Save hamzakc/83bb554490afcb564c677a22cc85b1df to your computer and use it in GitHub Desktop.
===> Load global config file /home/hamza/.config/rebar3/rebar.config
===> Evaluating config script "/home/hamza/.cache/rebar3/plugins/lfe/rebar.config.script"
===> 25.2.3 satisfies the requirement for minimum OTP version 18
===> Evaluating config script "/home/hamza/.cache/rebar3/plugins/hex_core/rebar.config.script"
===> 25.2.3 satisfies the requirement for minimum OTP version 19.3
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Evaluating config script "/home/hamza/.cache/rebar3/plugins/lfe/rebar.config.script"
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Intializing rebar3_lfe plugin ...
===> Default eunit options help: [{app,undefined,"app",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{application,undefined,
"application",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{cover,99,"cover",boolean,
"Generate cover data. Defaults to false."},
{cover_export_name,undefined,
"cover_export_name",string,
"Base name of the coverdata file to write"},
{profile,112,"profile",boolean,
"Show the slowest tests. Defaults to false."},
{dir,100,"dir",string,
"Comma separated list of dirs to load tests from. Equivalent to `[{dir, Dir}]`."},
{file,102,"file",string,
"Comma separated list of files to load tests from. Equivalent to `[{file, File}]`."},
{module,109,"module",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{test,116,"test",string,
"Comma separated list of tests to run. The format is `Module:Func1+Func2`. Equivalent to `[{test, Module, Function}]`."},
{suite,115,"suite",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{generator,103,"generator",string,
"Comma separated list of generators to load tests from. The format is `Module:Func1+Func2`. Equivalent to `[{generator, Module, Function}]`."},
{verbose,118,"verbose",boolean,
"Verbose output. Defaults to false."},
{name,undefined,"name",atom,
"Gives a long name to the node"},
{sname,undefined,"sname",atom,
"Gives a short name to the node"},
{sys_config,undefined,"sys_config",
string,
"List of application config files"},
{setcookie,undefined,"setcookie",
atom,
"Sets the cookie if the node is distributed"}]
===> Found local plugins: []
using config: {project_plugin_dirs, ["plugins/*"]}
===> Evaluating config script "/home/hamza/workspaces/casting-spels/code/_build/default/plugins/lfe/rebar.config.script"
===> Found local plugins: []
using config: {project_plugin_dirs, ["plugins/*"]}
===> Found local plugins: []
using config: {project_plugin_dirs, ["plugins/*"]}
===> 25.2.3 satisfies the requirement for minimum OTP version 18
===> Evaluating config script "/home/hamza/workspaces/casting-spels/code/_build/default/plugins/hex_core/rebar.config.script"
===> 25.2.3 satisfies the requirement for minimum OTP version 19.3
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Not adding provider hex user from module rebar3_hex_user because it already exists from module rebar3_hex_user
===> Not adding provider hex build from module rebar3_hex_build because it already exists from module rebar3_hex_build
===> Not adding provider hex cut from module rebar3_hex_cut because it already exists from module rebar3_hex_cut
===> Not adding provider hex owner from module rebar3_hex_owner because it already exists from module rebar3_hex_owner
===> Not adding provider hex organization from module rebar3_hex_organization because it already exists from module rebar3_hex_organization
===> Not adding provider hex search from module rebar3_hex_search because it already exists from module rebar3_hex_search
===> Not adding provider hex retire from module rebar3_hex_retire because it already exists from module rebar3_hex_retire
===> Not adding provider hex publish from module rebar3_hex_publish because it already exists from module rebar3_hex_publish
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Not adding provider default cmd from module rebar_cmd_prv because it already exists from module rebar_cmd_prv
===> Evaluating config script "/home/hamza/workspaces/casting-spels/code/_build/default/plugins/lfe/rebar.config.script"
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Intializing rebar3_lfe plugin ...
===> Not adding provider lfe clean from module rebar3_lfe_prv_clean because it already exists from module rebar3_lfe_prv_clean
===> Not adding provider lfe clean-all from module rebar3_lfe_prv_clean_all because it already exists from module rebar3_lfe_prv_clean_all
===> Not adding provider lfe clean-build from module rebar3_lfe_prv_clean_build because it already exists from module rebar3_lfe_prv_clean_build
===> Not adding provider lfe clean-cache from module rebar3_lfe_prv_clean_cache because it already exists from module rebar3_lfe_prv_clean_cache
===> Not adding provider lfe compile from module rebar3_lfe_prv_compile because it already exists from module rebar3_lfe_prv_compile
===> Not adding provider lfe confabulate from module rebar3_lfe_prv_confabulate because it already exists from module rebar3_lfe_prv_confabulate
===> Not adding provider lfe escriptize from module rebar3_lfe_prv_escriptize because it already exists from module rebar3_lfe_prv_escriptize
===> Default eunit options help: [{app,undefined,"app",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{application,undefined,
"application",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{cover,99,"cover",boolean,
"Generate cover data. Defaults to false."},
{cover_export_name,undefined,
"cover_export_name",string,
"Base name of the coverdata file to write"},
{profile,112,"profile",boolean,
"Show the slowest tests. Defaults to false."},
{dir,100,"dir",string,
"Comma separated list of dirs to load tests from. Equivalent to `[{dir, Dir}]`."},
{file,102,"file",string,
"Comma separated list of files to load tests from. Equivalent to `[{file, File}]`."},
{module,109,"module",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{test,116,"test",string,
"Comma separated list of tests to run. The format is `Module:Func1+Func2`. Equivalent to `[{test, Module, Function}]`."},
{suite,115,"suite",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{generator,103,"generator",string,
"Comma separated list of generators to load tests from. The format is `Module:Func1+Func2`. Equivalent to `[{generator, Module, Function}]`."},
{verbose,118,"verbose",boolean,
"Verbose output. Defaults to false."},
{name,undefined,"name",atom,
"Gives a long name to the node"},
{sname,undefined,"sname",atom,
"Gives a short name to the node"},
{sys_config,undefined,"sys_config",
string,
"List of application config files"},
{setcookie,undefined,"setcookie",
atom,
"Sets the cookie if the node is distributed"}]
===> Not adding provider lfe ltest from module rebar3_lfe_prv_ltest because it already exists from module rebar3_lfe_prv_ltest
===> Not adding provider lfe release from module rebar3_lfe_prv_release because it already exists from module rebar3_lfe_prv_release
===> Not adding provider lfe repl from module rebar3_lfe_prv_repl because it already exists from module rebar3_lfe_prv_repl
===> Not adding provider lfe run from module rebar3_lfe_prv_run because it already exists from module rebar3_lfe_prv_run
===> Not adding provider lfe run-escript from module rebar3_lfe_prv_run_escript because it already exists from module rebar3_lfe_prv_run_escript
===> Not adding provider lfe run-release from module rebar3_lfe_prv_run_release because it already exists from module rebar3_lfe_prv_run_release
===> Not adding provider lfe versions from module rebar3_lfe_prv_versions because it already exists from module rebar3_lfe_prv_versions
===> Expanded command sequence to be run: []
===> Running provider: do
===> Expanded command sequence to be run: [app_discovery,install_deps,lock,{lfe,compile},{lfe,repl}]
===> Running provider: app_discovery
===> Found top-level apps: [simple,spels]
using config: [{src_dirs,["src"]},{lib_dirs,["apps/*","lib/*","."]}]
===> Evaluating config script "/home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe/rebar.config.script"
===> Running provider: install_deps
===> Verifying dependencies...
===> sh info:
cwd: "/home/hamza/workspaces/casting-spels/code"
cmd: git --version
===> opts: []
===> Port Cmd: git --version
Port Opts: [exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide,eof,binary]
===> sh info:
cwd: "/home/hamza/workspaces/casting-spels/code"
cmd: git rev-parse --short=7 -q HEAD
===> opts: [{cd,"/home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe"}]
===> Port Cmd: git rev-parse --short=7 -q HEAD
Port Opts: [{cd,"/home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe"},
exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide,eof,binary]
===> Comparing git ref 52201c7 with 52201c7
===> Running provider: lock
===> sh info:
cwd: "/home/hamza/workspaces/casting-spels/code"
cmd: git -C '/home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe' rev-parse --verify HEAD
===> opts: [{use_stdout,false},
{debug_abort_on_error,
"Locking of git dependency failed in /home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe"}]
===> Port Cmd: git -C '/home/hamza/workspaces/casting-spels/code/_build/default/lib/lfe' rev-parse --verify HEAD
Port Opts: [exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide,eof,binary]
===> Running provider: {lfe,compile}
===> Setting paths to [deps,plugins]
===> Compiling LFE apps ...
===> Setting paths to [deps]
===> Current app state is undefined ...
===> Compiling simple
===> Entered copy_app_src/1 ...
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: undef
===> Stack trace to the error location:
[{rebar_app_utils,app_src_to_app,
["/home/hamza/workspaces/casting-spels/code/_build/default/lib/simple",
"/home/hamza/workspaces/casting-spels/code/apps/simple/src/simple.app.src"],
[]},
{rebar3_lfe_utils,copy_app_src,1,
[{file,"/home/hamza/workspaces/casting-spels/code/_build/default/plugins/rebar3_lfe/src/rebar3_lfe_utils.erl"},
{line,35}]},
{rebar3_lfe_prv_compile,compile_app,1,
[{file,"/home/hamza/workspaces/casting-spels/code/_build/default/plugins/rebar3_lfe/src/rebar3_lfe_prv_compile.erl"},
{line,59}]},
{rebar3_lfe_prv_compile,'-compile/1-lc$^0/1-0-',1,
[{file,"/home/hamza/workspaces/casting-spels/code/_build/default/plugins/rebar3_lfe/src/rebar3_lfe_prv_compile.erl"},
{line,54}]},
{rebar3_lfe_prv_compile,compile,1,
[{file,"/home/hamza/workspaces/casting-spels/code/_build/default/plugins/rebar3_lfe/src/rebar3_lfe_prv_compile.erl"},
{line,54}]},
{rebar_core,do,2,
[{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_core.erl"},
{line,155}]},
{rebar_prv_do,do_task,5,
[{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_prv_do.erl"},
{line,87}]},
{rebar_core,do,2,
[{file,"/home/runner/work/rebar3/rebar3/apps/rebar/src/rebar_core.erl"},
{line,155}]}]
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment