[INFO] fetching crate near-ledger 0.1.2...
[INFO] testing near-ledger-0.1.2 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate near-ledger 0.1.2 into /workspace/builds/worker-77/source
[INFO] validating manifest of crates.io crate near-ledger 0.1.2 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate near-ledger 0.1.2
[INFO] finished tweaking crates.io crate near-ledger 0.1.2
[INFO] tweaked toml for crates.io crate near-ledger 0.1.2 written to /workspace/builds/worker-77/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hidapi v1.2.6
[INFO] [stderr]   Downloaded ledger-transport-hid v0.8.0
[INFO] [stderr]   Downloaded ledger-transport v0.8.0
[INFO] [stderr]   Downloaded ledger-apdu v0.8.0
[INFO] [stderr]   Downloaded slip10 v0.4.3
[INFO] [stderr]   Downloaded trait-async v0.1.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c76237f99fce4caa02669ab1fda0491d0d92dd280e6a09cba4622697196f79a
[INFO] running `Command { std: "docker" "start" "-a" "3c76237f99fce4caa02669ab1fda0491d0d92dd280e6a09cba4622697196f79a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c76237f99fce4caa02669ab1fda0491d0d92dd280e6a09cba4622697196f79a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c76237f99fce4caa02669ab1fda0491d0d92dd280e6a09cba4622697196f79a", kill_on_drop: false }`
[INFO] [stdout] 3c76237f99fce4caa02669ab1fda0491d0d92dd280e6a09cba4622697196f79a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b84eaf4cdf9efeac3fe0d011a478a1d7e7721271d7421307fa1f7ea52f570888
[INFO] running `Command { std: "docker" "start" "-a" "b84eaf4cdf9efeac3fe0d011a478a1d7e7721271d7421307fa1f7ea52f570888", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-core v0.3.16
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling futures-channel v0.3.16
[INFO] [stderr]    Compiling futures-task v0.3.16
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling futures-sink v0.3.16
[INFO] [stderr]    Compiling slab v0.4.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling futures-io v0.3.16
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cpufeatures v0.1.5
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling signature v1.3.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ledger-apdu v0.8.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ed25519 v1.2.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling futures-macro v0.3.16
[INFO] [stderr]    Compiling futures-util v0.3.16
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling hidapi v1.2.6
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling synstructure v0.12.5
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling trait-async v0.1.24
[INFO] [stderr]    Compiling zeroize v1.4.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling ledger-transport-hid v0.8.0
[INFO] [stderr]    Compiling futures-executor v0.3.16
[INFO] [stderr]    Compiling futures v0.3.16
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling ledger-transport v0.8.0
[INFO] [stderr]    Compiling slip10 v0.4.3
[INFO] [stderr]    Compiling near-ledger v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.40s
[INFO] running `Command { std: "docker" "inspect" "b84eaf4cdf9efeac3fe0d011a478a1d7e7721271d7421307fa1f7ea52f570888", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b84eaf4cdf9efeac3fe0d011a478a1d7e7721271d7421307fa1f7ea52f570888", kill_on_drop: false }`
[INFO] [stdout] b84eaf4cdf9efeac3fe0d011a478a1d7e7721271d7421307fa1f7ea52f570888
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 070cf8a7d8d86622117681884a1ff5bf726a1e7b82b0cff2740be08582c7c9a1
[INFO] running `Command { std: "docker" "start" "-a" "070cf8a7d8d86622117681884a1ff5bf726a1e7b82b0cff2740be08582c7c9a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling near-ledger v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "070cf8a7d8d86622117681884a1ff5bf726a1e7b82b0cff2740be08582c7c9a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "070cf8a7d8d86622117681884a1ff5bf726a1e7b82b0cff2740be08582c7c9a1", kill_on_drop: false }`
[INFO] [stdout] 070cf8a7d8d86622117681884a1ff5bf726a1e7b82b0cff2740be08582c7c9a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8fe83cc222a104128b704bfc6a7dd112d1151f83369b3eb9c999a192ca88aee5
[INFO] running `Command { std: "docker" "start" "-a" "8fe83cc222a104128b704bfc6a7dd112d1151f83369b3eb9c999a192ca88aee5", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/near_ledger-dac1ffd5862ae21d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests near-ledger
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - sign_transaction (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - get_public_key (line 102) ... FAILED
[INFO] [stdout] test src/lib.rs - sign_transaction (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - get_public_key (line 123) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - sign_transaction (line 184) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found keyword `fn`
[INFO] [stdout]  --> src/lib.rs:189:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | asyn fn main() {
[INFO] [stdout]   |      ^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> src/lib.rs:186:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use borsh::BorshSerializer;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `borsh`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_public_key (line 102) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found keyword `fn`
[INFO] [stdout]  --> src/lib.rs:106:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | asyn fn main() {
[INFO] [stdout]   |      ^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - sign_transaction (line 207) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `near_crypto`
[INFO] [stdout]  --> src/lib.rs:208:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | near_crypto::Signature::from_parts(near_crypto::KeyType::ED25519, &signature)
[INFO] [stdout]   |                                    ^^^^^^^^^^^ use of undeclared crate or module `near_crypto`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `near_crypto`
[INFO] [stdout]  --> src/lib.rs:208:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | near_crypto::Signature::from_parts(near_crypto::KeyType::ED25519, &signature)
[INFO] [stdout]   |              ^^^^^^^^^ not found in `near_crypto`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::Signature;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `signature` in this scope
[INFO] [stdout]  --> src/lib.rs:208:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | near_crypto::Signature::from_parts(near_crypto::KeyType::ED25519, &signature)
[INFO] [stdout]   |                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_public_key (line 123) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `near_crypto`
[INFO] [stdout]  --> src/lib.rs:125:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     near_crypto::ED25519PublicKey::from(
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `near_crypto`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `near_crypto`
[INFO] [stdout]  --> src/lib.rs:124:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | near_crypto::PublicKey::ED25519(
[INFO] [stdout]   |              ^^^^^^^^^ not found in `near_crypto`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `public_key` in this scope
[INFO] [stdout]  --> src/lib.rs:126:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         public_key.to_bytes(),
[INFO] [stdout]   |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - get_public_key (line 102)
[INFO] [stdout]     src/lib.rs - get_public_key (line 123)
[INFO] [stdout]     src/lib.rs - sign_transaction (line 184)
[INFO] [stdout]     src/lib.rs - sign_transaction (line 207)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "8fe83cc222a104128b704bfc6a7dd112d1151f83369b3eb9c999a192ca88aee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fe83cc222a104128b704bfc6a7dd112d1151f83369b3eb9c999a192ca88aee5", kill_on_drop: false }`
[INFO] [stdout] 8fe83cc222a104128b704bfc6a7dd112d1151f83369b3eb9c999a192ca88aee5
