Skip to content

compile failure #2

@ToddG

Description

@ToddG

Multiple warnings and one build error...

SYSTEM
Erlang/OTP 22 [erts-10.4.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Eshell V10.4.2 (abort with ^G)

REPRO
$ rebar3 compile

OUTPUT
===> Verifying dependencies...
===> Fetching elli ({pkg,<<"elli">>,<<"2.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/elli-2.0.1.tar
===> Fetching elli_date ({pkg,<<"elli_date">>,<<"1.1.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/elli_date-1.1.1.tar
===> Fetching elli_prometheus ({pkg,<<"elli_prometheus">>,<<"0.1.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/elli_prometheus-0.1.1.tar
===> Fetching erleans ({git,
"https://github.com/SpaceTime-IoT/erleans.git",
{ref,
"ade7731234798ae8eb1ed16155ec4b8a334b65ec"}})
===> Fetching rebar_alias ({pkg,<<"rebar_alias">>,<<"0.2.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/rebar_alias-0.2.0.tar
===> Compiling rebar_alias
===> Fetching jsx ({pkg,<<"jsx">>,<<"2.8.2">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/jsx-2.8.2.tar
===> Fetching pgsql ({pkg,<<"pgsql">>,<<"26.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/pgsql-26.0.1.tar
===> Fetching prometheus ({pkg,<<"prometheus">>,<<"3.4.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/prometheus-3.4.0.tar
===> Fetching prometheus_process_collector ({pkg,
<<"prometheus_process_collector">>,
<<"1.0.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/prometheus_process_collector-1.0.3.tar
===> Fetching rebar3_archive_plugin ({pkg,<<"rebar3_archive_plugin">>,
<<"0.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/rebar3_archive_plugin-0.0.1.tar
===> Fetching rebar3_elvis_plugin ({git,
"https://github.com/deadtrickster/rebar3_elvis_plugin.git",
"master"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Fetching katana_code ({pkg,<<"katana_code">>,<<"0.1.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/katana_code-0.1.0.tar
===> Fetching zipper ({pkg,<<"zipper">>,<<"1.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/zipper-1.0.1.tar
===> Fetching aleppo ({pkg,<<"inaka_aleppo">>,<<"1.0.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/inaka_aleppo-1.0.0.tar
===> Compiling aleppo
_build/default/plugins/aleppo/src/aleppo.erl:6: Warning: record ale_context has field(s) without type information
_build/default/plugins/aleppo/src/aleppo.erl:12: Warning: missing specification for function process_file/1
_build/default/plugins/aleppo/src/aleppo.erl:15: Warning: missing specification for function process_file/2
_build/default/plugins/aleppo/src/aleppo.erl:25: Warning: missing specification for function process_tokens/1
_build/default/plugins/aleppo/src/aleppo.erl:32: Warning: missing specification for function process_tokens/2
_build/default/plugins/aleppo/src/aleppo.erl:307: Warning: missing specification for function scan_file/1

===> Compiling zipper
===> Compiling katana_code
===> Compiling rebar3_elvis_plugin
===> Compiling rebar3_archive_plugin
===> Fetching accept ({pkg,<<"accept">>,<<"0.3.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/accept-0.3.0.tar
===> Fetching coveralls ({git,"https://github.com/markusn/coveralls-erl",
"master"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Compiling coveralls
===> Fetching backoff ({pkg,<<"backoff">>,<<"1.1.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/backoff-1.1.3.tar
===> Fetching rebar3_proper ({pkg,<<"rebar3_proper">>,<<"0.5.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/rebar3_proper-0.5.0.tar
===> Fetching proper ({pkg,<<"proper">>,<<"1.1.1-beta">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/proper-1.1.1-beta.tar
===> Compiling proper
./write_compile_flags include/compile_flags.hrl
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:216: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:235: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:262: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:280: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:288: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:295: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_arith.erl:302: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:216: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:235: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:262: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:280: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:288: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:295: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead
_build/default/plugins/proper/src/proper_arith.erl:302: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead

/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_typeserver.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_typeserver.erl:556: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper_typeserver.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper_typeserver.erl:556: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_statem.erl:563: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_statem.erl:572: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_statem.erl:582: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper_statem.erl:563: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper_statem.erl:572: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper_statem.erl:582: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper.erl:1358: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper.erl:1374: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper.erl:1358: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/plugins/proper/src/proper.erl:1374: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

/home/toddg/repos/personal/presence-sample/_build/default/plugins/proper/src/proper_queue.erl:167: Warning: queue:lait/1 is deprecated and will be removed in a future release; use queue:liat/1
_build/default/plugins/proper/src/proper_queue.erl:167: Warning: queue:lait/1 is deprecated and will be removed in a future release; use queue:liat/1

===> Compiling rebar3_proper
===> Fetching eql ({pkg,<<"eql">>,<<"0.1.2">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/eql-0.1.2.tar
===> Fetching erlware_commons ({pkg,<<"erlware_commons">>,<<"1.0.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/erlware_commons-1.0.0.tar
===> Fetching gproc ({pkg,<<"gproc">>,<<"0.6.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/gproc-0.6.1.tar
===> Fetching jch ({pkg,<<"jch">>,<<"0.2.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/jch-0.2.3.tar
===> Fetching pc ({pkg,<<"pc">>,<<"1.10.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/pc-1.10.0.tar
===> Compiling pc
===> Fetching lager ({pkg,<<"lager">>,<<"3.4.2">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/lager-3.4.2.tar
===> Fetching lasp ({pkg,<<"lasp">>,<<"0.2.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/lasp-0.2.0.tar
===> Fetching lasp_pg ({pkg,<<"lasp_pg">>,<<"0.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/lasp_pg-0.0.1.tar
===> Fetching sbroker ({pkg,<<"sbroker">>,<<"1.0.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/sbroker-1.0.0.tar
===> Fetching types ({pkg,<<"types">>,<<"0.1.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/types-0.1.3.tar
===> Fetching uuid ({pkg,<<"uuid_erl">>,<<"1.7.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/uuid_erl-1.7.0.tar
===> Fetching vonnegut ({git,
"https://github.com/spacetime-iot/vonnegut.git",
{ref,
"f81fd2f22e1a46ca855a2755a3114f918e20b3b5"}})
===> Fetching acceptor_pool ({pkg,<<"acceptor_pool">>,<<"1.0.0-rc.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/acceptor_pool-1.0.0-rc.0.tar
===> Fetching cf ({pkg,<<"cf">>,<<"0.2.2">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/cf-0.2.2.tar
===> Fetching gen_flow ({pkg,<<"gen_flow">>,<<"0.0.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/gen_flow-0.0.3.tar
===> Fetching goldrush ({pkg,<<"goldrush">>,<<"0.1.9">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/goldrush-0.1.9.tar
===> Fetching lasp_support ({pkg,<<"lasp_support">>,<<"0.0.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/lasp_support-0.0.3.tar
===> Fetching partisan ({pkg,<<"partisan">>,<<"0.3.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/partisan-0.3.0.tar
===> Fetching plumtree ({pkg,<<"plumtree">>,<<"0.3.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/plumtree-0.3.0.tar
===> Fetching quickrand ({pkg,<<"quickrand">>,<<"1.7.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/quickrand-1.7.1.tar
===> Fetching rand_compat ({pkg,<<"rand_compat">>,<<"0.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/rand_compat-0.0.1.tar
===> Fetching sext ({pkg,<<"sext">>,<<"1.4.0">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/sext-1.4.0.tar
===> Fetching shackle ({pkg,<<"shackle">>,<<"0.4.3">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/shackle-0.4.3.tar
===> Fetching time_compat ({pkg,<<"time_compat">>,<<"0.0.1">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/time_compat-0.0.1.tar
===> Fetching granderl ({pkg,<<"granderl">>,<<"0.1.5">>})
===> Downloaded package, caching at /home/toddg/.cache/rebar3/hex/hexpm/packages/granderl-0.1.5.tar
===> Compiling accept
===> Compiling time_compat
===> Compiling rand_compat
===> Compiling types
===> Compiling goldrush
===> Compiling lager
===> Compiling acceptor_pool
_build/default/lib/acceptor_pool/src/acceptor.erl:166: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
_build/default/lib/acceptor_pool/src/acceptor.erl:270: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

===> Compiling partisan

ERROR
===> Compiling _build/default/lib/partisan/src/partisan_peer_connection.erl failed
_build/default/lib/partisan/src/partisan_peer_connection.erl:63: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions