==> Building on r ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/jwt-cli ./ PKGBUILD 976 100% 0.00kB/s 0:00:00 976 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) jwt-cli-5.0.3-1.log 235 100% 229.49kB/s 0:00:00 235 100% 229.49kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 907 bytes received 96 bytes 668.67 bytes/sec total size is 1,164 speedup is 1.16 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 347 100% 0.00kB/s 0:00:00 347 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 385 bytes received 38 bytes 282.00 bytes/sec total size is 347 speedup is 0.82 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix3 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix3]...done ==> Making package: jwt-cli 5.0.3-1 (Sun May 1 13:42:58 2022) ==> Retrieving sources...  -> Downloading jwt-cli-5.0.3.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 135 100 135 0 0 446 0 --:--:-- --:--:-- --:--:-- 447 100 30043 0 30043 0 0 47179 0 --:--:-- --:--:-- --:--:-- 47179 ==> Validating source files with sha512sums... jwt-cli-5.0.3.tar.gz ... Passed ==> Making package: jwt-cli 5.0.3-1 (Sun 01 May 2022 01:43:09 PM CST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for cargo: :: Repository extra 1) rust :: Repository community 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size core/libedit 20210910_3.1-1 0.23 MiB extra/llvm-libs 13.0.1-2.2 85.80 MiB extra/rust 1:1.60.0-1.1 526.13 MiB 81.79 MiB Total Download Size: 81.79 MiB Total Installed Size: 612.16 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-1:1.60.0-1.1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust lldb: rust-lldb script gdb: rust-gdb script [?25h==> Retrieving sources...  -> Found jwt-cli-5.0.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting jwt-cli-5.0.3.tar.gz with bsdtar ==> Starting prepare()... Updating crates.io index Updating git repository `https://github.com/felixonmars/ring` Removing ring v0.16.20 Adding ring v0.16.20 (https://github.com/felixonmars/ring?branch=0.16.20#ca9459ca) Downloading crates ... Downloaded wasm-bindgen-shared v0.2.79 Downloaded serde v1.0.133 Downloaded log v0.4.14 Downloaded proc-macro-error-attr v1.0.4 Downloaded once_cell v1.9.0 Downloaded spin v0.5.2 Downloaded clap_lex v0.1.1 Downloaded hermit-abi v0.1.19 Downloaded autocfg v1.0.1 Downloaded wasm-bindgen-macro v0.2.79 Downloaded wasm-bindgen v0.2.79 Downloaded cc v1.0.72 Downloaded indexmap v1.8.0 Downloaded atty v0.2.14 Downloaded heck v0.4.0 Downloaded proc-macro-error v1.0.4 Downloaded base64 v0.13.0 Downloaded num-integer v0.1.44 Downloaded js-sys v0.3.56 Downloaded num-complex v0.2.4 Downloaded clap v3.1.12 Downloaded quote v1.0.14 Downloaded wasm-bindgen-backend v0.2.79 Downloaded wasm-bindgen-macro-support v0.2.79 Downloaded simple_asn1 v0.4.1 Downloaded winapi v0.3.9 Downloaded winapi-i686-pc-windows-gnu v0.4.0 Downloaded jsonwebtoken v7.2.0 Downloaded num-rational v0.2.4 Downloaded libc v0.2.113 Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 Downloaded base64 v0.12.3 Downloaded strsim v0.10.0 Downloaded version_check v0.9.4 Downloaded textwrap v0.15.0 Downloaded regex-syntax v0.6.25 Downloaded itoa v1.0.1 Downloaded cfg-if v1.0.0 Downloaded bitflags v1.3.2 Downloaded litrs v0.2.3 Downloaded bunt v0.2.6 Downloaded bunt-macros v0.2.5 Downloaded os_str_bytes v6.0.0 Downloaded hashbrown v0.11.2 Downloaded chrono v0.4.19 Downloaded lazy_static v1.4.0 Downloaded num-traits v0.2.14 Downloaded ryu v1.0.9 Downloaded unicode-xid v0.2.2 Downloaded aho-corasick v0.7.18 Downloaded memchr v2.4.1 Downloaded clap_derive v3.1.7 Downloaded winapi-util v0.1.5 Downloaded web-sys v0.3.56 Downloaded bumpalo v3.9.1 Downloaded parse_duration v2.1.1 Downloaded wasi v0.10.0+wasi-snapshot-preview1 Downloaded num-iter v0.1.42 Downloaded num-bigint v0.2.6 Downloaded num v0.2.1 Downloaded regex v1.5.4 Downloaded proc-macro2 v1.0.36 Downloaded syn v1.0.86 Downloaded serde_derive v1.0.133 Downloaded serde_json v1.0.79 Downloaded termcolor v1.1.2 Downloaded pem v0.8.3 Downloaded untrusted v0.7.1 Downloaded time v0.1.44 ==> Starting build()... Compiling autocfg v1.0.1 Compiling proc-macro2 v1.0.36 Compiling unicode-xid v0.2.2 Compiling syn v1.0.86 Compiling libc v0.2.113 Compiling version_check v0.9.4 Compiling memchr v2.4.1 Compiling serde_derive v1.0.133 Compiling regex-syntax v0.6.25 Compiling cc v1.0.72 Compiling serde v1.0.133 Compiling serde_json v1.0.79 Compiling once_cell v1.9.0 Compiling itoa v1.0.1 Compiling untrusted v0.7.1 Compiling lazy_static v1.4.0 Compiling os_str_bytes v6.0.0 Compiling ryu v1.0.9 Compiling termcolor v1.1.2 Compiling heck v0.4.0 Compiling base64 v0.13.0 Compiling hashbrown v0.11.2 Compiling strsim v0.10.0 Compiling base64 v0.12.3 Compiling bitflags v1.3.2 Compiling textwrap v0.15.0 Compiling clap_lex v0.1.1 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling num-bigint v0.2.6 Compiling num-complex v0.2.4 Compiling num-rational v0.2.4 Compiling num-iter v0.1.42 Compiling indexmap v1.8.0 Compiling aho-corasick v0.7.18 Compiling quote v1.0.14 Compiling litrs v0.2.3 Compiling time v0.1.44 Compiling atty v0.2.14 Compiling ring v0.16.20 (https://github.com/felixonmars/ring?branch=0.16.20#ca9459ca) Compiling regex v1.5.4 Compiling bunt-macros v0.2.5 Compiling pem v0.8.3 Compiling chrono v0.4.19 Compiling bunt v0.2.6 Compiling simple_asn1 v0.4.1 Compiling num v0.2.1 Compiling parse_duration v2.1.1 Compiling clap_derive v3.1.7 Compiling clap v3.1.12 Compiling jsonwebtoken v7.2.0 Compiling jwt-cli v5.0.3 (/build/jwt-cli/src/jwt-cli-5.0.3) Finished release [optimized] target(s) in 2m 51s ==> Starting check()... Compiling autocfg v1.0.1 Compiling proc-macro2 v1.0.36 Compiling unicode-xid v0.2.2 Compiling libc v0.2.113 Compiling syn v1.0.86 Compiling version_check v0.9.4 Compiling memchr v2.4.1 Compiling serde_derive v1.0.133 Compiling cc v1.0.72 Compiling regex-syntax v0.6.25 Compiling serde v1.0.133 Compiling once_cell v1.9.0 Compiling serde_json v1.0.79 Compiling base64 v0.13.0 Compiling itoa v1.0.1 Compiling untrusted v0.7.1 Compiling ryu v1.0.9 Compiling termcolor v1.1.2 Compiling heck v0.4.0 Compiling lazy_static v1.4.0 Compiling os_str_bytes v6.0.0 Compiling hashbrown v0.11.2 Compiling strsim v0.10.0 Compiling base64 v0.12.3 Compiling bitflags v1.3.2 Compiling textwrap v0.15.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling num-bigint v0.2.6 Compiling num-iter v0.1.42 Compiling num-rational v0.2.4 Compiling num-complex v0.2.4 Compiling indexmap v1.8.0 Compiling clap_lex v0.1.1 Compiling aho-corasick v0.7.18 Compiling quote v1.0.14 Compiling litrs v0.2.3 Compiling time v0.1.44 Compiling atty v0.2.14 Compiling ring v0.16.20 (https://github.com/felixonmars/ring?branch=0.16.20#ca9459ca) Compiling regex v1.5.4 Compiling bunt-macros v0.2.5 Compiling chrono v0.4.19 Compiling pem v0.8.3 Compiling bunt v0.2.6 Compiling simple_asn1 v0.4.1 Compiling num v0.2.1 Compiling parse_duration v2.1.1 Compiling clap_derive v3.1.7 Compiling clap v3.1.12 Compiling jsonwebtoken v7.2.0 Compiling jwt-cli v5.0.3 (/build/jwt-cli/src/jwt-cli-5.0.3) warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:116:35 | 116 | let encode_matcher = App::into_app() | ^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:152:35 | 152 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:182:35 | 182 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:188:35 | 188 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:206:35 | 206 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:212:35 | 212 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:228:35 | 228 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:234:35 | 234 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:252:35 | 252 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:265:35 | 265 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:282:35 | 282 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:295:35 | 295 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:313:35 | 313 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:319:35 | 319 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:331:35 | 331 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:337:35 | 337 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:356:35 | 356 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:369:35 | 369 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:393:35 | 393 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:407:35 | 407 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:431:28 | 431 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:451:28 | 451 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:469:28 | 469 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:489:28 | 489 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:507:28 | 507 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:523:28 | 523 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:539:28 | 539 | let matches = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:556:35 | 556 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:571:35 | 571 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:624:35 | 624 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:640:35 | 640 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:661:35 | 661 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:682:35 | 682 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:697:35 | 697 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:721:35 | 721 | let encode_matcher = App::into_app() | ^^^^^^^^ warning: use of deprecated associated function `clap::CommandFactory::into_app`: Replaced with `CommandFactory::command --> tests/jwt-cli.rs:736:35 | 736 | let decode_matcher = App::into_app() | ^^^^^^^^ warning: `jwt-cli` (test "jwt-cli") generated 36 warnings Finished test [unoptimized + debuginfo] target(s) in 2m 22s Running unittests (target/debug/deps/jwt-85487f4fb07fe89a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/jwt-cli.rs (target/debug/deps/jwt_cli-878f41fb673d7a73) running 36 tests test tests::creates_jwt_header_with_kid ... ok test tests::creates_jwt_header_without_kid ... ok test tests::decoding_key_from_secret_handles_at ... ok test tests::decoding_key_from_secret_handles_base64 ... ok test tests::decodes_a_token_as_json ... ok test tests::decodes_a_token_without_a_typ ... ok test tests::decodes_a_token_without_an_alg ... ok test tests::decodes_a_token_without_a_secret ... ok test tests::decodes_a_token_with_leading_and_trailing_whitespace ... ok test tests::encoding_key_from_secret_handles_at ... ok test tests::encoding_key_from_secret_handles_base64 ... ok test tests::is_invalid_payload_item ... ok test tests::is_valid_payload_item ... ok test tests::decodes_a_token_with_invalid_secret ... ok test tests::decodes_a_token ... ok test tests::payload_item_from_none_with_name ... ok test tests::payload_item_from_string_with_name ... ok test tests::payload_from_payload_items ... ok test tests::decodes_an_rsa_ssa_pss_token_using_key_from_file ... ok test tests::stops_exp_from_automatically_being_added ... ok test tests::adds_default_exp_automatically ... ok test tests::returns_error_when_exp_is_not_set ... ok test tests::adds_iat_automatically ... ok test tests::allows_for_a_custom_exp ... ok test tests::returns_no_error_when_ignore_exp_parameter_is_set ... ok test tests::parses_systemd_time_string ... ok test tests::stops_iat_from_automatically_being_added ... ok test tests::is_valid_timestamp_or_duration ... ok test tests::shows_timestamps_as_iso_dates ... FAILED test tests::allows_for_nbf_as_systemd_string ... ok test tests::encodes_a_token ... ok test tests::encodes_and_decodes_an_ecdsa_token_using_key_from_file ... ok test tests::is_invalid_timestamp_or_duration ... ok test tests::allows_for_a_custom_exp_as_systemd_string ... ok test tests::encodes_and_decodes_an_rsa_ssa_pkcs1_v1_5_token_using_key_from_file ... ok test tests::encodes_and_decodes_an_rsa_ssa_pss_token_using_key_from_file ... ok failures: ---- tests::shows_timestamps_as_iso_dates stdout ---- thread 'tests::shows_timestamps_as_iso_dates' panicked at 'assertion failed: `(left == right)` left: `Some(String("2022-05-01T05:52:22+00:00"))`, right: `Some(String("2022-05-01T05:52:21+00:00"))`', tests/jwt-cli.rs:757:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: tests::shows_timestamps_as_iso_dates test result: FAILED. 35 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.88s error: test failed, to rerun pass '--test jwt-cli' ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix3/build receiving incremental file list jwt-cli-5.0.3-1-riscv64-build.log jwt-cli-5.0.3-1-riscv64-check.log jwt-cli-5.0.3-1-riscv64-prepare.log sent 81 bytes received 3,650 bytes 2,487.33 bytes/sec total size is 18,082 speedup is 4.85