[INFO] updating cached repository https://github.com/tritone11/ethereum-rust-utils [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8a4727a46dea3b1e3b3f6eae0b159ffb317c283d [INFO] checking tritone11/ethereum-rust-utils against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftritone11%2Fethereum-rust-utils" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tritone11/ethereum-rust-utils on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tritone11/ethereum-rust-utils [INFO] finished tweaking git repo https://github.com/tritone11/ethereum-rust-utils [INFO] tweaked toml for git repo https://github.com/tritone11/ethereum-rust-utils written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tritone11/ethereum-rust-utils already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6966c62ab8eef314b12d6775d4152b79c7c1dc86e5235c905fc80432e7a6105f [INFO] running `"docker" "start" "-a" "6966c62ab8eef314b12d6775d4152b79c7c1dc86e5235c905fc80432e7a6105f"` [INFO] [stderr] Checking bech32 v0.3.2 [INFO] [stderr] Compiling secp256k1 v0.9.2 [INFO] [stderr] Compiling hidapi v0.4.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking openssl-sys v0.9.52 [INFO] [stderr] Checking elastic-array v0.10.2 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking fixed-hash v0.2.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking block-cipher-trait v0.5.3 [INFO] [stderr] Checking stream-cipher v0.1.1 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Checking bitcoin-bech32 v0.5.1 [INFO] [stderr] Checking error-chain v0.12.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking aes-soft v0.2.0 [INFO] [stderr] Checking globset v0.1.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking ctr v0.1.1 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking jsonrpc-core v8.0.1 [INFO] [stderr] Checking ethabi v2.0.1 [INFO] [stderr] Checking openssl v0.10.25 [INFO] [stderr] Checking aes-ctr v0.1.0 [INFO] [stderr] Checking strason v0.3.4 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking ethbloom v0.5.3 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking scrypt v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking ethereum-types v0.4.2 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking bitcoin v0.13.2 [INFO] [stderr] Checking native-tls v0.2.3 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking rlp v0.2.4 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking jsonrpc-server-utils v8.0.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking jsonrpc-http-server v8.0.0 [INFO] [stderr] Checking ethereum-rust-utils v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/core/signature.rs:206:9 [INFO] [stderr] | [INFO] [stderr] 206 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/core/transaction.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/hdwallet/mod.rs:246:9 [INFO] [stderr] | [INFO] [stderr] 246 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/cipher.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/kdf.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/serialize/address.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/serialize/byte_array.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `super::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/serialize/crypto.rs:154:9 [INFO] [stderr] | [INFO] [stderr] 154 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `storage` [INFO] [stderr] --> src/keystore/serialize/mod.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | use storage::generate_filename; [INFO] [stderr] | ^^^^^^^ maybe a missing crate `storage`? [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/serialize/mod.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/keystore/mod.rs:264:9 [INFO] [stderr] | [INFO] [stderr] 264 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/util/crypto.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/util/rlp.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tests` [INFO] [stderr] --> src/util/mod.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | use tests::*; [INFO] [stderr] | ^^^^^ help: a similar path exists: `self::tests` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Regex` [INFO] [stderr] --> src/keystore/serialize/mod.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | let re = Regex::new(r"^UTC--\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}Z--*").unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Regex` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Regex` [INFO] [stderr] --> src/util/mod.rs:408:18 [INFO] [stderr] | [INFO] [stderr] 408 | let re = Regex::new(r"^\d{4}-\d{2}-\d{2}[T]\d{2}-\d{2}-\d{2}").unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Regex` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:210:30 [INFO] [stderr] | [INFO] [stderr] 210 | let key = PrivateKey(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:222:30 [INFO] [stderr] | [INFO] [stderr] 222 | let key = PrivateKey(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:227:24 [INFO] [stderr] | [INFO] [stderr] 227 | .sign_hash(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:235:13 [INFO] [stderr] | [INFO] [stderr] 235 | to_32bytes("99e71a99cb2270b8cac5254f9e99b6210c6c10224a1579cf389ef88b20a1abe9",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | to_32bytes("129ff05af364204442bdb53ab6f18a99ab48acc9326fa689f228040429e3ca66",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/signature.rs:247:13 [INFO] [stderr] | [INFO] [stderr] 247 | to_32bytes("8144a6fa26be252b86456491fbcd43c1de7e022241845ffea1c3df066f7cfede",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 205 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | to_32bytes("0000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | to_32bytes("00000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:133:29 [INFO] [stderr] | [INFO] [stderr] 133 | let pk = PrivateKey(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | to_32bytes("00000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | to_32bytes("000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:186:29 [INFO] [stderr] | [INFO] [stderr] 186 | let pk = PrivateKey(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | to_32bytes("00000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:217:20 [INFO] [stderr] | [INFO] [stderr] 217 | value: to_32bytes("000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/core/transaction.rs:222:29 [INFO] [stderr] | [INFO] [stderr] 222 | let pk = PrivateKey(to_32bytes( [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 101 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/hdwallet/mod.rs:266:13 [INFO] [stderr] | [INFO] [stderr] 266 | to_32bytes("0000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 242 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/hdwallet/mod.rs:273:13 [INFO] [stderr] | [INFO] [stderr] 273 | to_32bytes("00000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 242 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/hdwallet/mod.rs:325:13 [INFO] [stderr] | [INFO] [stderr] 325 | to_32bytes("0000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 242 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/hdwallet/mod.rs:332:13 [INFO] [stderr] | [INFO] [stderr] 332 | to_32bytes("00000000000000000000000000000000\ [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 242 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_16bytes` in this scope [INFO] [stderr] --> src/keystore/cipher.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | let data = to_16bytes("6bc1bee22e409f96e93d7e117393172a"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use util::to_16bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_16bytes` in this scope [INFO] [stderr] --> src/keystore/cipher.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 66 | let key = to_16bytes("2b7e151628aed2a6abf7158809cf4f3c"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use util::to_16bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_16bytes` in this scope [INFO] [stderr] --> src/keystore/cipher.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | let iv = to_16bytes("f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use util::to_16bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/keystore/kdf.rs:222:13 [INFO] [stderr] | [INFO] [stderr] 222 | to_32bytes("ae3cd4e7013836a3df6bd7241b12db061dbe2c6785853cce422d148a624ce0bd"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 216 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/keystore/kdf.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | to_32bytes("fd4acb81182a2c8fa959d180967b374277f2ccf2f7f401cb08d042cc785464b4"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 216 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/util/crypto.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | to_32bytes("c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/util/crypto.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | to_32bytes("f5ab12ff7b15bb4a5cd3d36a41bdbc8e54c180f7558cc4f8cd40acabda02dd84",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `to_32bytes` in this scope [INFO] [stderr] --> src/util/crypto.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | to_32bytes("ea1da5135479c4eb22ed3743c379970895ed2d088fd5d79884b7493aaa49475b",) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use util::to_32bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `signing_only` found for type `secp256k1::Secp256k1` in the current scope [INFO] [stderr] --> src/raw_transaction.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | let s = Secp256k1::signing_only(); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `secp256k1::Secp256k1` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `serialize_compact` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/raw_transaction.rs:82:57 [INFO] [stderr] | [INFO] [stderr] 82 | let (v, sig_bytes) = s.sign_recoverable(&msg, &key).serialize_compact(&s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `signing_only` found for type `secp256k1::Secp256k1` in the current scope [INFO] [stderr] --> src/raw_transaction.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | let s = Secp256k1::signing_only(); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `secp256k1::Secp256k1` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `serialize_compact` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/raw_transaction.rs:82:57 [INFO] [stderr] | [INFO] [stderr] 82 | let (v, sig_bytes) = s.sign_recoverable(&msg, &key).serialize_compact(&s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `ethereum-rust-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `from_hex` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/keystore/cipher.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | Vec::from_hex("874d6191b620e3261bef6864990db6ce").unwrap() [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use hex::FromHex;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_hex` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/keystore/serialize/crypto.rs:220:31 [INFO] [stderr] | [INFO] [stderr] 220 | cipher_text: Vec::from_hex( [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use hex::FromHex;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_hex` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/keystore/serialize/crypto.rs:255:31 [INFO] [stderr] | [INFO] [stderr] 255 | cipher_text: Vec::from_hex( [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use hex::FromHex;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_hex` found for type `std::vec::Vec<_>` in the current scope [INFO] [stderr] --> src/util/rlp.rs:259:14 [INFO] [stderr] | [INFO] [stderr] 259 | Vec::from_hex("102030405060708090a0b0c0d0e0f2") [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::vec::Vec<_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use hex::FromHex;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 49 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `ethereum-rust-utils`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6966c62ab8eef314b12d6775d4152b79c7c1dc86e5235c905fc80432e7a6105f"` [INFO] running `"docker" "rm" "-f" "6966c62ab8eef314b12d6775d4152b79c7c1dc86e5235c905fc80432e7a6105f"` [INFO] [stdout] 6966c62ab8eef314b12d6775d4152b79c7c1dc86e5235c905fc80432e7a6105f