Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [error: Bad exit status from /var/tmp/rpm-tmp.1SspOy (%check)
    Bad exit status from /var/tmp/rpm-tmp.1SspOy (%check)
RPM build errors:
Child return code was: 1
]: [The build failed in %check phase.]
=============
[test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s
error: 1 target failed:
    `--test ber`]: [The test `ber` failed.]

Issue: The build failed in %check phase because testsuite failed.
Resolution: You can temporary disable the testsuite or one specific test:

%cargo_test -f bigint,bits,datetime,serialize -- -- --skip from_ber_length_invalid

You need to contact upstream and work with them on fixing the testsuite.