[INFO] fetching crate ledger-hw-app-btc 0.0.1... [INFO] testing ledger-hw-app-btc-0.0.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate ledger-hw-app-btc 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ledger-hw-app-btc 0.0.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ledger-hw-app-btc 0.0.1 [INFO] finished tweaking crates.io crate ledger-hw-app-btc 0.0.1 [INFO] tweaked toml for crates.io crate ledger-hw-app-btc 0.0.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate ledger-hw-app-btc 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ccd9216d9219b4c9674fb5914090f97e763f214ab50342a998fff6322cf58e9 [INFO] running `Command { std: "docker" "start" "-a" "9ccd9216d9219b4c9674fb5914090f97e763f214ab50342a998fff6322cf58e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ccd9216d9219b4c9674fb5914090f97e763f214ab50342a998fff6322cf58e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccd9216d9219b4c9674fb5914090f97e763f214ab50342a998fff6322cf58e9", kill_on_drop: false }` [INFO] [stdout] 9ccd9216d9219b4c9674fb5914090f97e763f214ab50342a998fff6322cf58e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49fb6fcf33ecebb5f7b597807703d46d5157ae7b3553fa1c9ce430041cf4d15d [INFO] running `Command { std: "docker" "start" "-a" "49fb6fcf33ecebb5f7b597807703d46d5157ae7b3553fa1c9ce430041cf4d15d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling ledger-hw v0.0.1 [INFO] [stderr] Compiling bech32 v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling bitcoin v0.23.0 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling ledger-hw-transport v0.0.1 [INFO] [stderr] Compiling ledger-hw-app-btc v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.13s [INFO] running `Command { std: "docker" "inspect" "49fb6fcf33ecebb5f7b597807703d46d5157ae7b3553fa1c9ce430041cf4d15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49fb6fcf33ecebb5f7b597807703d46d5157ae7b3553fa1c9ce430041cf4d15d", kill_on_drop: false }` [INFO] [stdout] 49fb6fcf33ecebb5f7b597807703d46d5157ae7b3553fa1c9ce430041cf4d15d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a93ead7d81a9a385c600214cc335ed5a0a9e46e67ba7ff82c80a36fe8fa122 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59a93ead7d81a9a385c600214cc335ed5a0a9e46e67ba7ff82c80a36fe8fa122", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling hidapi v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-await-test-macro v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures-await-test v0.3.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling ledger-hw-transport-mock v0.0.1 [INFO] [stderr] Compiling ledger-hw-transport-hid v0.0.1 [INFO] [stderr] Compiling ledger-hw-app-btc v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.58s [INFO] running `Command { std: "docker" "inspect" "59a93ead7d81a9a385c600214cc335ed5a0a9e46e67ba7ff82c80a36fe8fa122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a93ead7d81a9a385c600214cc335ed5a0a9e46e67ba7ff82c80a36fe8fa122", kill_on_drop: false }` [INFO] [stdout] 59a93ead7d81a9a385c600214cc335ed5a0a9e46e67ba7ff82c80a36fe8fa122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 855842fa97815fcb5c964288b720985d99b1b34229409847d37f4b0efd6af152 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "855842fa97815fcb5c964288b720985d99b1b34229409847d37f4b0efd6af152", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] running 5 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ledger_hw_app_btc-bd5e640b89893056) [INFO] [stdout] test wallet::tests::test_get_trusted_input ... ok [INFO] [stderr] Doc-tests ledger-hw-app-btc [INFO] [stdout] test wallet::tests::test_example_payment ... ok [INFO] [stdout] test wallet::tests::test_sign_message ... ok [INFO] [stdout] test wallet::tests::test_get_wallet_public_key ... ok [INFO] [stdout] test wallet::tests::test_start_untrusted_hash_transaction_input ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DeviceNotFound', src/lib.rs:11:41 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a8956fb550 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a8956fb550 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a8956fb550 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a8956fb550 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a8957159fc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55a8956f9b45 - std::io::Write::write_fmt::h4c802b6f761026c1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55a8956fd3fb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a8956fd3fb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a8956fd3fb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a8956fced1 - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55a8956fdaa1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a8956fd5a7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a8956fba2c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a8956fd509 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a89566a261 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55a89566a2f3 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55a89566e3be - core::result::Result::unwrap::h598680e0daba9358 [INFO] [stdout] 17: 0x55a8956710d6 - rust_out::main::{{closure}}::h19b669e334334ea0 [INFO] [stdout] 18: 0x55a895670eec - as core::future::future::Future>::poll::hdcceea7798cc1354 [INFO] [stdout] 19: 0x55a89566fdac - tokio::runtime::shell::Shell::block_on::{{closure}}::h90d07b6f5e3f33de [INFO] [stdout] 20: 0x55a89566f914 - tokio::coop::budget::{{closure}}::hc4cfab3cd3904bc7 [INFO] [stdout] 21: 0x55a89566c8f5 - std::thread::local::LocalKey::try_with::hccc92761c8ce598e [INFO] [stdout] 22: 0x55a89566c806 - std::thread::local::LocalKey::with::h31a51bf5bca41c89 [INFO] [stdout] 23: 0x55a89566fcb6 - tokio::runtime::shell::Shell::block_on::h81fa0f63c85a4a80 [INFO] [stdout] 24: 0x55a89566fee5 - tokio::runtime::Runtime::block_on::{{closure}}::hb627b71bda098039 [INFO] [stdout] 25: 0x55a89566ff59 - tokio::runtime::context::enter::h5327010723563270 [INFO] [stdout] 26: 0x55a89566fe12 - tokio::runtime::handle::Handle::enter::h79258d65b3234c31 [INFO] [stdout] 27: 0x55a89566fe9b - tokio::runtime::Runtime::block_on::h59e3f69a99fd3add [INFO] [stdout] 28: 0x55a895670fa5 - rust_out::main::h2a38bb51b9580a7d [INFO] [stdout] 29: 0x55a89566cde3 - core::ops::function::FnOnce::call_once::h2b2994027e3ddb49 [INFO] [stdout] 30: 0x55a89566c729 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0646a71575223ddb [INFO] [stdout] 31: 0x55a89566c799 - std::rt::lang_start::{{closure}}::h56dae38fc2742666 [INFO] [stdout] 32: 0x55a8956fdf99 - core::ops::function::impls:: for &F>::call_once::h04259e4a34d07c2f [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 33: 0x55a8956fdf99 - std::panicking::try::do_call::hb8da45704d5cfbbf [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55a8956fdf99 - std::panicking::try::h4beadc19a78fec52 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55a8956fdf99 - std::panic::catch_unwind::hc58016cd36ba81a4 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x55a8956fdf99 - std::rt::lang_start_internal::hc51399759a90501a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/rt.rs:34:21 [INFO] [stdout] 37: 0x55a89566c781 - std::rt::lang_start::h186ee2dda057dd14 [INFO] [stdout] 38: 0x55a8956715b3 - main [INFO] [stdout] 39: 0x7f772c7d40b3 - __libc_start_main [INFO] [stdout] 40: 0x55a89566a9be - _start [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "855842fa97815fcb5c964288b720985d99b1b34229409847d37f4b0efd6af152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855842fa97815fcb5c964288b720985d99b1b34229409847d37f4b0efd6af152", kill_on_drop: false }` [INFO] [stdout] 855842fa97815fcb5c964288b720985d99b1b34229409847d37f4b0efd6af152