[INFO] fetching crate near-ledger 0.1.2...
[INFO] testing near-ledger-0.1.2 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate near-ledger 0.1.2 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate near-ledger 0.1.2 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "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] ec8533b004977120b02af94dee5197d403a217fbfe28869d706bd780339a753e
[INFO] running `Command { std: "docker" "start" "-a" "ec8533b004977120b02af94dee5197d403a217fbfe28869d706bd780339a753e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec8533b004977120b02af94dee5197d403a217fbfe28869d706bd780339a753e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec8533b004977120b02af94dee5197d403a217fbfe28869d706bd780339a753e", kill_on_drop: false }`
[INFO] [stdout] ec8533b004977120b02af94dee5197d403a217fbfe28869d706bd780339a753e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73f9be35d617c2f978c90da36ffaab985db54cdd3945ab26ada14e16e5ab694a
[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" "73f9be35d617c2f978c90da36ffaab985db54cdd3945ab26ada14e16e5ab694a", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling ledger-apdu v0.8.0
[INFO] [stderr]    Compiling hidapi v1.4.1
[INFO] [stderr]    Compiling ed25519 v1.5.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling trait-async v0.1.24
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling ledger-transport-hid v0.8.0
[INFO] [stderr]    Compiling slip10 v0.4.3
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling ledger-transport v0.8.0
[INFO] [stderr]    Compiling near-ledger v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 33.68s
[INFO] running `Command { std: "docker" "inspect" "73f9be35d617c2f978c90da36ffaab985db54cdd3945ab26ada14e16e5ab694a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73f9be35d617c2f978c90da36ffaab985db54cdd3945ab26ada14e16e5ab694a", kill_on_drop: false }`
[INFO] [stdout] 73f9be35d617c2f978c90da36ffaab985db54cdd3945ab26ada14e16e5ab694a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 542062d612f249604037ad3158b2e93981749e3ce05b43038d0221ed313fd510
[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" "542062d612f249604037ad3158b2e93981749e3ce05b43038d0221ed313fd510", kill_on_drop: false }`
[INFO] [stderr]    Compiling near-ledger v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "542062d612f249604037ad3158b2e93981749e3ce05b43038d0221ed313fd510", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "542062d612f249604037ad3158b2e93981749e3ce05b43038d0221ed313fd510", kill_on_drop: false }`
[INFO] [stdout] 542062d612f249604037ad3158b2e93981749e3ce05b43038d0221ed313fd510
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", 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] d1c7e82d8f70226297a1f170e04757cf6b88668d89435d8e117941b99b6a5399
[INFO] running `Command { std: "docker" "start" "-a" "d1c7e82d8f70226297a1f170e04757cf6b88668d89435d8e117941b99b6a5399", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_ledger-36cfbcea96cf1f01)
[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 - get_public_key (line 123) ... FAILED
[INFO] [stdout] test src/lib.rs - sign_transaction (line 207) ... 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 - 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] help: if you import `PublicKey`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - near_crypto::PublicKey::ED25519(
[INFO] [stdout] 3 + PublicKey::ED25519(
[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] ---- 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] help: if you import `Signature`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - near_crypto::Signature::from_parts(near_crypto::KeyType::ED25519, &signature)
[INFO] [stdout] 3 + Signature::from_parts(near_crypto::KeyType::ED25519, &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] 
[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.92s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "d1c7e82d8f70226297a1f170e04757cf6b88668d89435d8e117941b99b6a5399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1c7e82d8f70226297a1f170e04757cf6b88668d89435d8e117941b99b6a5399", kill_on_drop: false }`
[INFO] [stdout] d1c7e82d8f70226297a1f170e04757cf6b88668d89435d8e117941b99b6a5399
