[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftritone11%2Fether-keystore" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tritone11/ether-keystore on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-5/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] bf162fbcdd416cdab05a7adce75d388134bc643f232732c665da19618637d2eb [INFO] running `Command { std: "docker" "start" "-a" "bf162fbcdd416cdab05a7adce75d388134bc643f232732c665da19618637d2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf162fbcdd416cdab05a7adce75d388134bc643f232732c665da19618637d2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf162fbcdd416cdab05a7adce75d388134bc643f232732c665da19618637d2eb", kill_on_drop: false }` [INFO] [stdout] bf162fbcdd416cdab05a7adce75d388134bc643f232732c665da19618637d2eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14acaa78b3624693f25285017a76f4ad665dcdf8b73e49f8cdd500a6a2b20314 [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" "14acaa78b3624693f25285017a76f4ad665dcdf8b73e49f8cdd500a6a2b20314", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking opaque-debug v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Checking bitcoin-bech32 v0.9.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling secp256k1 v0.9.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-complex v0.2.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking block-cipher-trait v0.5.3 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking stream-cipher v0.1.1 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking ctr v0.1.1 [INFO] [stderr] Checking aes-soft v0.2.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Checking aes-ctr v0.1.0 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking scrypt v0.1.2 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking uuid v0.5.1 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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] [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] [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] [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] [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] [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] [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] [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: 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:29 [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/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: 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] [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] [stderr] error: could not compile `ether-keystore` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "14acaa78b3624693f25285017a76f4ad665dcdf8b73e49f8cdd500a6a2b20314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14acaa78b3624693f25285017a76f4ad665dcdf8b73e49f8cdd500a6a2b20314", kill_on_drop: false }` [INFO] [stdout] 14acaa78b3624693f25285017a76f4ad665dcdf8b73e49f8cdd500a6a2b20314