Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-422190-72918/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/elixir.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/elixir-1.14.3-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-422190-72918/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/elixir.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XBcme3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elixir-1.14.3/docs + /usr/bin/mkdir -p elixir-1.14.3/docs + cd elixir-1.14.3/docs + /usr/bin/unzip -qq /builddir/build/SOURCES/elixir-1.14.3-doc.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name .build -exec rm '{}' ';' + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/elixir-1.14.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elixir-1.14.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.bat' -exec rm '{}' ';' + rm lib/elixir/test/elixir/io/ansi_test.exs + find . -name .gitignore -delete + find . -name .gitkeep -delete + sed -i '/^Q\s*:=/d' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MptalQ + umask 022 + cd /builddir/build/BUILD + cd elixir-1.14.3 + export LANG=C.UTF-8 + LANG=C.UTF-8 + export REBAR=/usr/bin/rebar + REBAR=/usr/bin/rebar + export ERL_LIBS=/usr/share/erlang/lib/ + ERL_LIBS=/usr/share/erlang/lib/ + make compile erlc -o lib/elixir/src/elixir_parser.erl +'{verbose,true}' +'{report,true}' lib/elixir/src/elixir_parser.yrl if [ ! -f lib/elixir/ebin/elixir.app ]; then erl -noshell -eval '{V,_} = string:to_integer(erlang:system_info(otp_release)), io:fwrite("~s", [is_integer(V) and (V >= 23)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 23.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && if [ -n "" ]; then ERL_COMPILER_OPTIONS= erl -make; else erl -make; fi Recompile: src/elixir_utils Recompile: src/elixir_tokenizer Recompile: src/elixir_sup Recompile: src/elixir_rewrite Recompile: src/elixir_quote Recompile: src/elixir_parser Recompile: src/elixir_overridable Recompile: src/elixir_module Recompile: src/elixir_map Recompile: src/elixir_locals Recompile: src/elixir_lexical Recompile: src/elixir_interpolation Recompile: src/elixir_import Recompile: src/elixir_fn Recompile: src/elixir_expand Recompile: src/elixir_errors Recompile: src/elixir_erl_var Recompile: src/elixir_erl_try Recompile: src/elixir_erl_pass Recompile: src/elixir_erl_for Recompile: src/elixir_erl_compiler Recompile: src/elixir_erl_clauses Recompile: src/elixir_erl Recompile: src/elixir_env Recompile: src/elixir_dispatch Recompile: src/elixir_def Recompile: src/elixir_config Recompile: src/elixir_compiler Recompile: src/elixir_code_server Recompile: src/elixir_clauses Recompile: src/elixir_bootstrap Recompile: src/elixir_bitstring Recompile: src/elixir_aliases Recompile: src/elixir /builddir/build/BUILD/elixir-1.14.3/lib/elixir/generate_app.escript lib/elixir/src/elixir.app.src lib/elixir/ebin/elixir.app 1.14.3 Generated elixir app if [ ! -f lib/elixir/ebin/Elixir.Kernel.beam ]; then \ echo "==> bootstrap (compile)"; \ erl -I lib/elixir/include -noshell -pa lib/elixir/ebin -s elixir_compiler bootstrap -s erlang halt; \ fi ==> bootstrap (compile) Compiled kernel.ex Compiled kernel/utils.ex Compiled macro/env.ex Compiled keyword.ex Compiled module.ex Compiled list.ex Compiled macro.ex Compiled kernel/typespec.ex Compiled code.ex Compiled code/identifier.ex Compiled protocol.ex Compiled stream/reducers.ex Compiled enum.ex Compiled regex.ex Compiled inspect/algebra.ex Compiled inspect.ex Compiled string.ex Compiled string/chars.ex Compiled kernel.ex Compiled list/chars.ex Compiled module/locals_tracker.ex Compiled module/parallel_checker.ex Compiled module/types/helpers.ex Compiled module/types/unify.ex Compiled module/types/of.ex Compiled module/types/pattern.ex Compiled module/types/expr.ex Compiled module/types.ex Compiled exception.ex Compiled path.ex Compiled file.ex Compiled map.ex Compiled range.ex Compiled access.ex Compiled io.ex Compiled system.ex Compiled code/formatter.ex Compiled code/normalizer.ex Compiled kernel/cli.ex Compiled kernel/error_handler.ex Compiled kernel/parallel_compiler.ex Compiled kernel/lexical_tracker.ex "make" unicode make[1]: Entering directory '/builddir/build/BUILD/elixir-1.14.3' ==> unicode (compile) bin/elixirc --ignore-module-conflict lib/elixir/unicode/unicode.ex -o lib/elixir/ebin; [Unicode] Break on 25 whitespace codepoints bin/elixirc --ignore-module-conflict lib/elixir/unicode/security.ex -o lib/elixir/ebin; bin/elixirc --ignore-module-conflict lib/elixir/unicode/tokenizer.ex -o lib/elixir/ebin; [Unicode] Tokenizing 107876 non-ascii codepoints [Unicode] Tokenizing 44 scriptsets make[1]: Leaving directory '/builddir/build/BUILD/elixir-1.14.3' ==> elixir (compile) cd lib/elixir && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin; "make" app make[1]: Entering directory '/builddir/build/BUILD/elixir-1.14.3' /builddir/build/BUILD/elixir-1.14.3/lib/elixir/generate_app.escript lib/elixir/src/elixir.app.src lib/elixir/ebin/elixir.app 1.14.3 Generated elixir app make[1]: Leaving directory '/builddir/build/BUILD/elixir-1.14.3' ==> eex (compile) cd lib/eex && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin ==> mix (compile) cd lib/mix && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin cd lib/mix && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated mix app ==> ex_unit (compile) cd lib/ex_unit && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin cd lib/ex_unit && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated ex_unit app ==> logger (compile) cd lib/logger && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin cd lib/logger && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated logger app cd lib/eex && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated eex app ==> iex (compile) cd lib/iex && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin cd lib/iex && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated iex app + make build_man cp man/iex.1.in man/iex.1 sed -i.bak "/{COMMON}/r man/common" man/iex.1 sed -i.bak "/{COMMON}/d" man/iex.1 rm -f man/iex.1.bak cp man/elixir.1.in man/elixir.1 sed -i.bak "/{COMMON}/r man/common" man/elixir.1 sed -i.bak "/{COMMON}/d" man/elixir.1 rm -f man/elixir.1.bak + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PSbvHw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64 ++ dirname /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64 + cd elixir-1.14.3 + mkdir -p /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/share/elixir/1.14.3 + cp -ra bin lib /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/share/elixir/1.14.3 + mkdir -p /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/bin + ln -s /usr/share/elixir/1.14.3/bin/elixir /usr/share/elixir/1.14.3/bin/elixirc /usr/share/elixir/1.14.3/bin/iex /usr/share/elixir/1.14.3/bin/mix /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/bin/ + mkdir -p /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/share/man/man1 + cp -a man/elixir.1 man/elixirc.1 man/iex.1 man/mix.1 /builddir/build/BUILDROOT/elixir-1.14.3-1.an8.aarch64//usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/elixir/1.14.3/bin/mix from /usr/bin/env elixir to #!/usr/bin/elixir mangling shebang in /usr/share/elixir/1.14.3/lib/elixir/generate_app.escript from /usr/bin/env escript to #!/usr/bin/escript Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fTKzhU + umask 022 + cd /builddir/build/BUILD + cd elixir-1.14.3 + rm -f ./lib/mix/test/fixtures/rebar + export REBAR=/usr/bin/rebar + REBAR=/usr/bin/rebar + export LANG=C.UTF-8 + LANG=C.UTF-8 + export ERL_LIBS=/usr/share/erlang/lib/ + ERL_LIBS=/usr/share/erlang/lib/ + make test if [ ! -f lib/elixir/ebin/elixir.app ]; then erl -noshell -eval '{V,_} = string:to_integer(erlang:system_info(otp_release)), io:fwrite("~s", [is_integer(V) and (V >= 23)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 23.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && if [ -n "" ]; then ERL_COMPILER_OPTIONS= erl -make; else erl -make; fi if [ "" = "Windows_NT" ]; then cmd //C call ./bin/mix.bat format --check-formatted; else bin/elixir bin/mix format --check-formatted; fi mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/test_helper.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/function_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/tokenizer_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/control_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/atom_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/string_test.erl ==> elixir (eunit) erl -I lib/elixir/include -noshell -pa lib/elixir/ebin -pa lib/elixir/test/ebin -s test_helper test; All 131 tests passed. ==> elixir (ex_unit) exec epmd & exit if [ "" = "Windows_NT" ]; then \ cd lib/elixir && cmd //C call ../../bin/elixir.bat -r "test/elixir/test_helper.exs" -pr "test/elixir/**/"*_test.exs""; \ else \ cd lib/elixir && ../../bin/elixir -r "test/elixir/test_helper.exs" -pr "test/elixir/**/"*_test.exs""; \ fi Excluding tags: [windows: true] .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1) test patterns struct (Module.Types.PatternTest) test/elixir/module/types/pattern_test.exs:142 Assertion with == failed code: assert quoted_pattern(%Module.Types.PatternTest.Struct{}) == {:ok, {:map, [ {:required, {:atom, :__struct__}, {:atom, Module.Types.PatternTest.Struct}}, {:required, {:atom, :bar}, :dynamic}, {:required, {:atom, :baz}, :dynamic}, {:required, {:atom, :foo}, :dynamic} ]}} left: {:ok, {:map, [ {:required, {:atom, :__struct__}, {:atom, Module.Types.PatternTest.Struct}}, {:required, {:atom, :foo}, :dynamic}, {:required, {:atom, :bar}, :dynamic}, {:required, {:atom, :baz}, :dynamic} ]}} right: {:ok, {:map, [ {:required, {:atom, :__struct__}, {:atom, Module.Types.PatternTest.Struct}}, {:required, {:atom, :bar}, :dynamic}, {:required, {:atom, :baz}, :dynamic}, {:required, {:atom, :foo}, :dynamic} ]}} stacktrace: test/elixir/module/types/pattern_test.exs:143: (test) ........................................................... 2) test replace!/3 (MapTest) test/elixir/map_test.exs:204 Wrong message for KeyError expected: "key :x not found in: %{a: 1, b: 2, c: 3}" actual: "key :x not found in: %{c: 3, a: 1, b: 2}" code: assert_raise KeyError, "key :x not found in: %{a: 1, b: 2, c: 3}", fn -> stacktrace: test/elixir/map_test.exs:209: (test) ................................................................. 3) test struct (Module.Types.MapTest) test/elixir/module/types/map_test.exs:22 Assertion with == failed code: assert quoted_expr(%Module.Types.MapTest.Struct{}) == {:ok, {:map, [ {:required, {:atom, :bar}, :integer}, {:required, {:atom, :baz}, {:map, []}}, {:required, {:atom, :foo}, {:atom, :atom}}, {:required, {:atom, :__struct__}, {:atom, Module.Types.MapTest.Struct}} ]}} left: {:ok, {:map, [ {:required, {:atom, :foo}, {:atom, :atom}}, {:required, {:atom, :bar}, :integer}, {:required, {:atom, :baz}, {:map, []}}, {:required, {:atom, :__struct__}, {:atom, Module.Types.MapTest.Struct}} ]}} right: {:ok, {:map, [ {:required, {:atom, :bar}, :integer}, {:required, {:atom, :baz}, {:map, []}}, {:required, {:atom, :foo}, {:atom, :atom}}, {:required, {:atom, :__struct__}, {:atom, Module.Types.MapTest.Struct}} ]}} stacktrace: test/elixir/module/types/map_test.exs:23: (test) ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 4) test random/1 (EnumTest.Map) test/elixir/enum_test.exs:2397 Assertion with == failed code: assert Enum.random(map) == {:c, 3} left: {:b, 2} right: {:c, 3} stacktrace: test/elixir/enum_test.exs:2402: (test) 5) test fetch/2 (EnumTest.Map) test/elixir/enum_test.exs:2457 Assertion with == failed code: assert Enum.fetch(map, 0) == {:ok, {:a, 1}} left: {:ok, {:c, 3}} right: {:ok, {:a, 1}} stacktrace: test/elixir/enum_test.exs:2459: (test) 6) test slice/3 (EnumTest.Map) test/elixir/enum_test.exs:2484 Assertion with == failed code: assert Enum.slice(map, 1, 2) == [b: 2, c: 3] left: [a: 1, d: 4] right: [b: 2, c: 3] stacktrace: test/elixir/enum_test.exs:2486: (test) 7) test take_random/2 (EnumTest.Map) test/elixir/enum_test.exs:2411 Assertion with == failed code: assert Enum.take_random(map, 1) == [c: 3] left: [b: 2] right: [c: 3] stacktrace: test/elixir/enum_test.exs:2424: (test) 8) test reverse/2 (EnumTest.Map) test/elixir/enum_test.exs:2447 Assertion with == failed code: assert Enum.reverse([a: 1, b: 2, c: 3, a: 1], %{x: 1, y: 2, z: 3}) == [ a: 1, c: 3, b: 2, a: 1, x: 1, y: 2, z: 3 ] left: [a: 1, c: 3, b: 2, a: 1, y: 2, x: 1, z: 3] right: [a: 1, c: 3, b: 2, a: 1, x: 1, y: 2, z: 3] stacktrace: test/elixir/enum_test.exs:2448: (test) 9) test slice/2 (EnumTest.Map) test/elixir/enum_test.exs:2477 Assertion with == failed code: assert Enum.slice(map, 0..0) == [a: 1] left: [c: 3] right: [a: 1] stacktrace: test/elixir/enum_test.exs:2479: (test) .............................................................. 10) test reverse/1 (EnumTest.Map) test/elixir/enum_test.exs:2441 Assertion with == failed code: assert Enum.reverse(%{a: 1, b: 2, c: 3}) == [c: 3, b: 2, a: 1] left: [b: 2, a: 1, c: 3] right: [c: 3, b: 2, a: 1] stacktrace: test/elixir/enum_test.exs:2444: (test) 11) test map_intersperse/3 (EnumTest.Map) test/elixir/enum_test.exs:2469 Assertion with == failed code: assert Enum.map_intersperse(%{foo: :bar, baz: :bat}, :a, & &1) == [{:baz, :bat}, :a, foo: :bar] left: [{:foo, :bar}, :a, {:baz, :bat}] right: [{:baz, :bat}, :a, {:foo, :bar}] stacktrace: test/elixir/enum_test.exs:2473: (test) .................................................................................... 12) test structs expanded as arguments (Kernel.ExpansionTest) test/elixir/kernel/expansion_test.exs:525 Assertion with == failed code: assert expand( quote do %User{} end ) == quote do %Kernel.ExpansionTest.User{age: 0, name: ""} end left: {:%, [], [ Kernel.ExpansionTest.User, {:%{}, [], [name: "", age: 0]} ]} right: {:%, [], [ Kernel.ExpansionTest.User, {:%{}, [], [age: 0, name: ""]} ]} stacktrace: test/elixir/kernel/expansion_test.exs:526: (test) ................................................................................................ 13) test Exception.message/1 with bad implementation (Inspect.MapTest) test/elixir/inspect_test.exs:587 Assertion with =~ failed code: assert inspect(%Failing{name: "Foo"}) =~ message left: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{name: \"Foo\", __struct__: Inspect.MapTest.Failing}\n\n Stacktrace:\n\n test/elixir/inspect_test.exs:22: MyArgumentError.culprit/0\n (elixir 1.14.3) lib/inspect/algebra.ex:341: Inspect.Algebra.to_doc/2\n (elixir 1.14.3) lib/kernel.ex:2254: Kernel.inspect/2\n test/elixir/inspect_test.exs:620: Inspect.MapTest.\"test Exception.message/1 with bad implementation\"/1\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:512: ExUnit.Runner.exec_test/1\n (stdlib 5.1) timer.erl:270: :timer.tc/2\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:463: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4\n\n>" right: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{__struct__: Inspect.MapTest.Failing, name: \"Foo\"}\n" stacktrace: test/elixir/inspect_test.exs:620: (test) ..................................................................................................................................................................... 14) doctest Enum.split_with/2 (128) (EnumTest) test/elixir/enum_test.exs:5 Doctest failed doctest: iex> Enum.split_with(%{a: 1, b: -2, c: 1, d: -3}, fn {_k, v} -> v < 0 end) {[b: -2, d: -3], [a: 1, c: 1]} code: Enum.split_with(%{a: 1, b: -2, c: 1, d: -3}, fn {_k, v} -> v < 0 end) === {[b: -2, d: -3], [a: 1, c: 1]} left: {[d: -3, b: -2], [c: 1, a: 1]} right: {[b: -2, d: -3], [a: 1, c: 1]} stacktrace: lib/enum.ex:2279: Enum (module) ...................................... 15) doctest Enum.split_with/2 (129) (EnumTest) test/elixir/enum_test.exs:5 Doctest failed doctest: iex> Enum.split_with(%{a: 1, b: -2, c: 1, d: -3}, fn {_k, v} -> v > 50 end) {[], [a: 1, b: -2, c: 1, d: -3]} code: Enum.split_with(%{a: 1, b: -2, c: 1, d: -3}, fn {_k, v} -> v > 50 end) === {[], [a: 1, b: -2, c: 1, d: -3]} left: {[], [c: 1, a: 1, d: -3, b: -2]} right: {[], [a: 1, b: -2, c: 1, d: -3]} stacktrace: lib/enum.ex:2282: Enum (module) ................. 16) test zip_with/2 (EnumTest) test/elixir/enum_test.exs:1516 Assertion with == failed code: assert lots == [{:a, 1, "foo", {:a, :b}}, {:b, 2, "bar", {:c, :d}}] left: [{:a, 1, "foo", {:c, :d}}, {:b, 2, "bar", {:a, :b}}] right: [{:a, 1, "foo", {:a, :b}}, {:b, 2, "bar", {:c, :d}}] stacktrace: test/elixir/enum_test.exs:1522: (test) ................................................................................ 17) test public modified struct (Inspect.MapTest) test/elixir/inspect_test.exs:446 Assertion with == failed code: assert inspect(Map.put(public, :foo, :bar)) == "%{__struct__: Inspect.MapTest.Public, foo: :bar, key: 1}" left: "%{key: 1, __struct__: Inspect.MapTest.Public, foo: :bar}" right: "%{__struct__: Inspect.MapTest.Public, foo: :bar, key: 1}" stacktrace: test/elixir/inspect_test.exs:449: (test) . 18) test raise when trying to inspect with a bad implementation from inside another exception that is being raised (Inspect.MapTest) test/elixir/inspect_test.exs:540 Assertion with =~ failed code: assert Exception.message(exception) =~ exception_message left: "protocol Enumerable not implemented for #Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{name: \"Foo\", __struct__: Inspect.MapTest.Failing}\n\n Stacktrace:\n\n test/elixir/inspect_test.exs:22: MyArgumentError.culprit/0\n (elixir 1.14.3) lib/inspect/algebra.ex:341: Inspect.Algebra.to_doc/2\n (elixir 1.14.3) lib/kernel.ex:2254: Kernel.inspect/2\n (elixir 1.14.3) lib/exception.ex:1354: Protocol.UndefinedError.message/1\n (elixir 1.14.3) lib/exception.ex:66: Exception.message/1\n test/elixir/inspect_test.exs:562: Inspect.MapTest.\"test raise when trying to inspect with a bad implementation from inside another exception that is being raised\"/1\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:512: ExUnit.Runner.exec_test/1\n (stdlib 5.1) timer.erl:270: :timer.tc/2\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:463: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4\n\n> of type Inspect.MapTest.Failing (a struct)" right: "protocol Enumerable not implemented for #Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{__struct__: Inspect.MapTest.Failing, name: \"Foo\"}\n" stacktrace: test/elixir/inspect_test.exs:562: (test) ................................................................................................................................................................................................................................................................................ 19) test safely inspect bad implementation disables colors (Inspect.MapTest) test/elixir/inspect_test.exs:492 Assertion with =~ failed code: assert inspect(%Failing{name: "Foo"}, syntax_colors: [atom: [:green]]) =~ message left: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{name: \"Foo\", __struct__: Inspect.MapTest.Failing}\n\n Stacktrace:\n\n test/elixir/inspect_test.exs:22: MyArgumentError.culprit/0\n (elixir 1.14.3) lib/inspect/algebra.ex:341: Inspect.Algebra.to_doc/2\n (elixir 1.14.3) lib/kernel.ex:2254: Kernel.inspect/2\n test/elixir/inspect_test.exs:508: Inspect.MapTest.\"test safely inspect bad implementation disables colors\"/1\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:512: ExUnit.Runner.exec_test/1\n (stdlib 5.1) timer.erl:270: :timer.tc/2\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:463: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4\n\n>" right: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{__struct__: Inspect.MapTest.Failing, name: \"Foo\"}\n" stacktrace: test/elixir/inspect_test.exs:508: (test) . 20) test keyword (Inspect.MapTest) test/elixir/inspect_test.exs:424 Assertion with == failed code: assert inspect(%{a: 1, b: 2, c: 3}) == "%{a: 1, b: 2, c: 3}" left: "%{c: 3, a: 1, b: 2}" right: "%{a: 1, b: 2, c: 3}" stacktrace: test/elixir/inspect_test.exs:427: (test) ................. 21) test zip_with/3 (EnumTest) test/elixir/enum_test.exs:1479 Assertion with == failed code: assert result == [a: 10, c: 13] left: [c: 12, a: 11] right: [a: 10, c: 13] stacktrace: test/elixir/enum_test.exs:1507: (test) ............................................................................................... 22) test split_with/2 (EnumTest) test/elixir/enum_test.exs:728 Assertion with == failed code: assert Enum.split_with(%{a: 1, b: 2, c: 3}, fn {_k, v} -> rem(v, 2) == 0 end) == {[b: 2], a: 1, c: 3} left: {[b: 2], [c: 3, a: 1]} right: {[b: 2], [a: 1, c: 3]} stacktrace: test/elixir/enum_test.exs:738: (test) .......................................................................................................................................... 23) test safely inspect bad implementation (Inspect.MapTest) test/elixir/inspect_test.exs:469 Assertion with =~ failed code: assert inspect(%Failing{name: "Foo"}) =~ message left: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{name: \"Foo\", __struct__: Inspect.MapTest.Failing}\n\n Stacktrace:\n\n test/elixir/inspect_test.exs:22: MyArgumentError.culprit/0\n (elixir 1.14.3) lib/inspect/algebra.ex:341: Inspect.Algebra.to_doc/2\n (elixir 1.14.3) lib/kernel.ex:2254: Kernel.inspect/2\n test/elixir/inspect_test.exs:489: Inspect.MapTest.\"test safely inspect bad implementation\"/1\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:512: ExUnit.Runner.exec_test/1\n (stdlib 5.1) timer.erl:270: :timer.tc/2\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:463: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4\n\n>" right: "#Inspect.Error<\n got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\n while inspecting:\n\n %{__struct__: Inspect.MapTest.Failing, name: \"Foo\"}\n" stacktrace: test/elixir/inspect_test.exs:489: (test) .. 24) test unsafely inspect bad implementation (Inspect.MapTest) test/elixir/inspect_test.exs:511 Assertion with =~ failed code: assert Exception.message(exception) =~ exception_message left: "got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\nwhile inspecting:\n\n %{name: \"Foo\", __struct__: Inspect.MapTest.Failing}\n" right: "got MyArgumentError with message:\n\n \"\"\"\n errors were found at the given arguments:\n\n * 1st argument: not an atom\n \"\"\"\n\nwhile inspecting:\n\n %{__struct__: Inspect.MapTest.Failing, name: \"Foo\"}\n" stacktrace: test/elixir/inspect_test.exs:530: (test) . 25) test private struct (Inspect.MapTest) test/elixir/inspect_test.exs:453 Assertion with == failed code: assert inspect(%{__struct__: Private, key: 1}) == "%{__struct__: Inspect.MapTest.Private, key: 1}" left: "%{key: 1, __struct__: Inspect.MapTest.Private}" right: "%{__struct__: Inspect.MapTest.Private, key: 1}" stacktrace: test/elixir/inspect_test.exs:454: (test) ........................................................................................................................................ 26) test metadata is formatted (IO.ANSI.DocsTest) test/elixir/io/ansi/docs_test.exs:43 Assertion with == failed code: assert result == "\e[33mdelegate_to:\e[0m Foo.bar/3\n\e[33mdeprecated:\e[0m Use that other one\n\e[33msince:\e[0m 1.2.3\n\n" left: "\e[33mdeprecated:\e[0m Use that other one\n\e[33mdelegate_to:\e[0m Foo.bar/3\n\e[33msince:\e[0m 1.2.3\n\n" right: "\e[33mdelegate_to:\e[0m Foo.bar/3\n\e[33mdeprecated:\e[0m Use that other one\n\e[33msince:\e[0m 1.2.3\n\n" stacktrace: test/elixir/io/ansi/docs_test.exs:52: (test) ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 27) test message/1 (ExceptionTest) test/elixir/exception_test.exs:12 Assertion with =~ failed code: assert Exception.message(%{__struct__: BadException, __exception__: true, raise: true}) =~ "got RuntimeError with message \"oops\" while retrieving Exception.message/1 " <> "for %{__exception__: true, __struct__: ExceptionTest.BadException, raise: true}" left: "got RuntimeError with message \"oops\" while retrieving Exception.message/1 for %{raise: true, __struct__: ExceptionTest.BadException, __exception__: true}. Stacktrace:\n test/elixir/exception_test.exs:16: ExceptionTest.BadException.message/1\n (elixir 1.14.3) lib/exception.ex:66: Exception.message/1\n test/elixir/exception_test.exs:21: ExceptionTest.\"test message/1\"/1\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:512: ExUnit.Runner.exec_test/1\n (stdlib 5.1) timer.erl:270: :timer.tc/2\n (ex_unit 1.14.3) lib/ex_unit/runner.ex:463: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4\n" right: "got RuntimeError with message \"oops\" while retrieving Exception.message/1 for %{__exception__: true, __struct__: ExceptionTest.BadException, raise: true}" stacktrace: test/elixir/exception_test.exs:21: (test) .......................................................................................................................................................................................................................................................................................................................................................... 28) test no warning on ExUnit assertions (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:155 assertions.ex:0: Unknown function 'Elixir.ExUnit.AssertionError':exception/1 assertions.ex:0: Unknown function 'Elixir.ExUnit.AssertionError':exception/1 assertions.ex:0: Unknown function 'Elixir.ExUnit.AssertionError':exception/1 assertions.ex:0: Unknown function 'Elixir.ExUnit.AssertionError':exception/1 assertions.ex:5: Unknown function 'Elixir.ExUnit.AssertionError':exception/1 assertions.ex:5: Unknown function 'Elixir.ExUnit.Assertions':'__pins__'/1 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:157: (test) ........................ 29) test no warnings on cond (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:120 cond.ex:10: Unknown function 'Elixir.List':flatten/1 cond.ex:23: Unknown function 'Elixir.List':flatten/1 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:122: (test) ..... 30) test no warnings on protocol calls with opaque types (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:100 protocol_opaque.ex:0: Unknown function 'Elixir.Dialyzer.ProtocolOpaque.Entity.Any':'__impl__'/1 protocol_opaque.ex:8: Unknown function 'Elixir.Module':concat/2 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:106: (test) ............. 31) test no warnings on raise (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:76 raise.ex:2: Unknown function 'Elixir.IO':warn/1 raise.ex:6: Unknown function 'Elixir.Kernel.Utils':raise/1 raise.ex:10: Unknown function 'Elixir.Kernel.Utils':raise/1 raise.ex:15: Unknown function 'Elixir.Kernel.Utils':raise/1 raise.ex:19: Unknown function 'Elixir.Kernel.Utils':raise/1 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:78: (test) ........ 32) test no warnings on rewrites (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:71 rewrite.ex:0: Unknown function 'Elixir.String.Chars':to_string/1 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:73: (test) ................ 33) test no warning on is_struct/2 (Kernel.DialyzerTest) test/elixir/kernel/dialyzer_test.exs:150 is_struct.ex:0: Unknown function 'Elixir.ArgumentError':exception/1 is_struct.ex:0: Unknown function 'Elixir.ArgumentError':exception/1 code: assert_dialyze_no_warnings!(context) stacktrace: test/elixir/kernel/dialyzer_test.exs:152: (test) .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished in 20.2 seconds (8.9s on load, 6.2s async, 5.1s sync) 4118 tests, 1887 doctests, 33 failures, 13 excluded Randomized with seed 678905 make: *** [Makefile:276: test_stdlib] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.fTKzhU (%check) Bad exit status from /var/tmp/rpm-tmp.fTKzhU (%check) RPM build errors: Child pid '4154212' is dead Child dead, killing orphans Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/elixir.spec