[INFO] fetching crate near-ledger 0.1.2... [INFO] testing near-ledger-0.1.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate near-ledger 0.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate near-ledger 0.1.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] 4641bb95ddb6c53befacb5d773d09458c82eac1b74f4452b6b48b3ee0da83465 [INFO] running `Command { std: "docker" "start" "-a" "4641bb95ddb6c53befacb5d773d09458c82eac1b74f4452b6b48b3ee0da83465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4641bb95ddb6c53befacb5d773d09458c82eac1b74f4452b6b48b3ee0da83465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4641bb95ddb6c53befacb5d773d09458c82eac1b74f4452b6b48b3ee0da83465", kill_on_drop: false }` [INFO] [stdout] 4641bb95ddb6c53befacb5d773d09458c82eac1b74f4452b6b48b3ee0da83465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c108c574a38e7d46e7a4c4e3b6fa6624c014133933648ee89a0b600c3bc40926 [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" "c108c574a38e7d46e7a4c4e3b6fa6624c014133933648ee89a0b600c3bc40926", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ledger-apdu v0.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hidapi v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.10 [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.8 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling trait-async v0.1.24 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ledger-transport-hid v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [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 1m 25s [INFO] running `Command { std: "docker" "inspect" "c108c574a38e7d46e7a4c4e3b6fa6624c014133933648ee89a0b600c3bc40926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c108c574a38e7d46e7a4c4e3b6fa6624c014133933648ee89a0b600c3bc40926", kill_on_drop: false }` [INFO] [stdout] c108c574a38e7d46e7a4c4e3b6fa6624c014133933648ee89a0b600c3bc40926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ec1b188355979dd734f8cf31c0c3844cd4737269e8c7e179f4c83224012a247 [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" "6ec1b188355979dd734f8cf31c0c3844cd4737269e8c7e179f4c83224012a247", 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.26s [INFO] running `Command { std: "docker" "inspect" "6ec1b188355979dd734f8cf31c0c3844cd4737269e8c7e179f4c83224012a247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec1b188355979dd734f8cf31c0c3844cd4737269e8c7e179f4c83224012a247", kill_on_drop: false }` [INFO] [stdout] 6ec1b188355979dd734f8cf31c0c3844cd4737269e8c7e179f4c83224012a247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a8877d69300ea029056999cc12f8043bcce60afbac1dc56135d61627fdfd70c [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" "2a8877d69300ea029056999cc12f8043bcce60afbac1dc56135d61627fdfd70c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/near_ledger-e81f35dfcae56fc3) [INFO] [stdout] [INFO] [stderr] Doc-tests near-ledger [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] [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 123) ... FAILED [INFO] [stdout] test src/lib.rs - sign_transaction (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - get_public_key (line 102) ... 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 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] ---- 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 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] [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 1.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2a8877d69300ea029056999cc12f8043bcce60afbac1dc56135d61627fdfd70c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8877d69300ea029056999cc12f8043bcce60afbac1dc56135d61627fdfd70c", kill_on_drop: false }` [INFO] [stdout] 2a8877d69300ea029056999cc12f8043bcce60afbac1dc56135d61627fdfd70c