[INFO] cloning repository https://github.com/tritone11/ether-keystore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tritone11/ether-keystore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftritone11%2Fether-keystore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftritone11%2Fether-keystore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dbbc670c9226e82328acd189d0d2e938c360e38 [INFO] checking tritone11/ether-keystore against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftritone11%2Fether-keystore" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tritone11/ether-keystore on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tritone11/ether-keystore [INFO] finished tweaking git repo https://github.com/tritone11/ether-keystore [INFO] tweaked toml for git repo https://github.com/tritone11/ether-keystore written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tritone11/ether-keystore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.38 [INFO] [stderr] Downloaded opaque-debug v0.1.1 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded stream-cipher v0.1.1 [INFO] [stderr] Downloaded bitcoin-bech32 v0.9.0 [INFO] [stderr] Downloaded aesni v0.4.1 [INFO] [stderr] Downloaded regex-syntax v0.6.5 [INFO] [stderr] Downloaded block-cipher-trait v0.5.3 [INFO] [stderr] Downloaded sha3 v0.7.3 [INFO] [stderr] Downloaded secp256k1 v0.9.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.3.2 [INFO] [stderr] Downloaded aes-soft v0.2.0 [INFO] [stderr] Downloaded aes-ctr v0.1.0 [INFO] [stderr] Downloaded bitcoin v0.18.0 [INFO] [stderr] Downloaded serde_derive v1.0.87 [INFO] [stderr] Downloaded serde v1.0.87 [INFO] [stderr] Downloaded ctr v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 207cb0f62b2668cd33ddd3aef03f5a7bdc2c144b8ea61ab14f50010353a8ea8e [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" "207cb0f62b2668cd33ddd3aef03f5a7bdc2c144b8ea61ab14f50010353a8ea8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "207cb0f62b2668cd33ddd3aef03f5a7bdc2c144b8ea61ab14f50010353a8ea8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207cb0f62b2668cd33ddd3aef03f5a7bdc2c144b8ea61ab14f50010353a8ea8e", kill_on_drop: false }` [INFO] [stdout] 207cb0f62b2668cd33ddd3aef03f5a7bdc2c144b8ea61ab14f50010353a8ea8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--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] 33dda65c8b09485d38289b510f18b5cb77463af2809e7dc8093501d0808fa904 [INFO] running `Command { std: "docker" "start" "-a" "33dda65c8b09485d38289b510f18b5cb77463af2809e7dc8093501d0808fa904", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking opaque-debug v0.1.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling secp256k1 v0.9.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking bitcoin-bech32 v0.9.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking block-cipher-trait v0.5.3 [INFO] [stderr] Checking stream-cipher v0.1.1 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Checking aes-soft v0.2.0 [INFO] [stderr] Checking ctr v0.1.1 [INFO] [stderr] Checking aes-ctr v0.1.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking bitcoin_hashes v0.3.2 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking scrypt v0.1.2 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking bitcoin v0.18.0 [INFO] [stderr] Checking ether-keystore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/core/signature.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/core/transaction.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/keystore/serialize/address.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/keystore/serialize/crypto.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/keystore/serialize/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/util/crypto.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/util/rlp.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests::*` [INFO] [stdout] --> src/util/mod.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use tests::*; [INFO] [stdout] | ^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests` [INFO] [stdout] --> src/keystore/serialize/byte_array.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use tests::*; [INFO] [stdout] | ^^^^^ help: a similar path exists: `super::tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keystore` [INFO] [stdout] --> src/keystore/serialize/crypto.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | use keystore::{Kdf, Prf}; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `crate::keystore` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `storage`, `hex` [INFO] [stdout] --> src/keystore/serialize/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use storage::generate_filename; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] | [INFO] [stdout] ::: src/keystore/serialize/byte_array.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | byte_array_struct!(Hex8, 8); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `byte_array_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | let key = PrivateKey(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | let key = PrivateKey(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | .sign_hash(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | to_32bytes("99e71a99cb2270b8cac5254f9e99b6210c6c10224a1579cf389ef88b20a1abe9",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | to_32bytes("129ff05af364204442bdb53ab6f18a99ab48acc9326fa689f228040429e3ca66",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/signature.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | to_32bytes("8144a6fa26be252b86456491fbcd43c1de7e022241845ffea1c3df066f7cfede",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 205 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | to_32bytes("0000000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | to_32bytes("00000000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let pk = PrivateKey(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | to_32bytes("00000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | to_32bytes("000000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | let pk = PrivateKey(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | to_32bytes("00000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | value: to_32bytes("000000000000000000000000000000\ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/core/transaction.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | let pk = PrivateKey(to_32bytes( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 101 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> src/keystore/serialize/mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let re = Regex::new(r"^UTC--\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}Z--*").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 | use crate::keystore::serialize::address::Regex; [INFO] [stdout] | [INFO] [stdout] 107 | use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 107 | use regex::bytes::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/util/crypto.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | to_32bytes("c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/util/crypto.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | to_32bytes("f5ab12ff7b15bb4a5cd3d36a41bdbc8e54c180f7558cc4f8cd40acabda02dd84",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stdout] --> src/util/crypto.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | to_32bytes("ea1da5135479c4eb22ed3743c379970895ed2d088fd5d79884b7493aaa49475b",) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 | use crate::to_32bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> src/util/mod.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | let re = Regex::new(r"^\d{4}-\d{2}-\d{2}[T]\d{2}-\d{2}-\d{2}").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 248 | use crate::keystore::serialize::address::Regex; [INFO] [stdout] | [INFO] [stdout] 248 | use regex::Regex; [INFO] [stdout] | [INFO] [stdout] 248 | use regex::bytes::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/core/signature.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/core/transaction.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystore/error.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/keystore/serialize/address.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/keystore/serialize/crypto.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystore/serialize/error.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/keystore/serialize/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> src/keystore/mod.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | use std::fs::{self, read_dir, File,create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/util/crypto.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util/rlp.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | s @ 0...55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/util/rlp.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/util/mod.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystore/error.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystore/serialize/error.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> src/keystore/mod.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | use std::fs::{self, read_dir, File,create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util/rlp.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | s @ 0...55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/keystore/serialize/crypto.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | cipher_text: Vec::from_hex( [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use bitcoin_hashes::hex::FromHex;` [INFO] [stdout] candidate #2: `use crate::hex::FromHex;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/keystore/serialize/crypto.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | cipher_text: Vec::from_hex( [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use bitcoin_hashes::hex::FromHex;` [INFO] [stdout] candidate #2: `use crate::hex::FromHex;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keystore/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / if let CryptoType::Core(ref mut core) = kf.crypto { [INFO] [stdout] 282 | | core.kdf_params.kdf = kdf; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/keystore/mod.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | _ => Err(Error::InvalidCrypto( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/keystore/mod.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | _ => debug!("HD Wallet crypto used instead of normal"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/keystore/serialize/crypto.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _ => Err(Error::NotFound), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hmac` [INFO] [stdout] --> src/keystore/kdf.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hmac = prf.hmac(passphrase); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hmac` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/util/rlp.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | Vec::from_hex("102030405060708090a0b0c0d0e0f2") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use bitcoin_hashes::hex::FromHex;` [INFO] [stdout] candidate #2: `use crate::hex::FromHex;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keystore/kdf.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hmac = prf.hmac(passphrase); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ether-keystore` due to 35 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "33dda65c8b09485d38289b510f18b5cb77463af2809e7dc8093501d0808fa904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33dda65c8b09485d38289b510f18b5cb77463af2809e7dc8093501d0808fa904", kill_on_drop: false }` [INFO] [stdout] 33dda65c8b09485d38289b510f18b5cb77463af2809e7dc8093501d0808fa904