[INFO] cloning repository https://github.com/roynalnaruto/rs_tx_client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roynalnaruto/rs_tx_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froynalnaruto%2Frs_tx_client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froynalnaruto%2Frs_tx_client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e87f021f7f99ee25394a9eab958a2a6e669c327 [INFO] testing roynalnaruto/rs_tx_client against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froynalnaruto%2Frs_tx_client" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roynalnaruto/rs_tx_client on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roynalnaruto/rs_tx_client [INFO] finished tweaking git repo https://github.com/roynalnaruto/rs_tx_client [INFO] tweaked toml for git repo https://github.com/roynalnaruto/rs_tx_client written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/roynalnaruto/rs_tx_client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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 primitive-types v0.7.0 [INFO] [stderr] Downloaded graphql_query_derive v0.9.0 [INFO] [stderr] Downloaded ethbloom v0.9.0 [INFO] [stderr] Downloaded ethabi v11.0.0 [INFO] [stderr] Downloaded ethereum-tx-sign v3.0.2 [INFO] [stderr] Downloaded cron v0.6.0 [INFO] [stderr] Downloaded graphql-introspection-query v0.1.0 [INFO] [stderr] Downloaded nom v2.1.0 [INFO] [stderr] Downloaded graphql_client v0.9.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.9.0 [INFO] [stderr] Downloaded fixed-hash v0.6.0 [INFO] [stderr] Downloaded ethereum-types v0.9.0 [INFO] [stderr] Downloaded parity-crypto v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 802c0dda8e0fbb3562c73315805568aa466f14efb2655a6f5670412d82850296 [INFO] running `Command { std: "docker" "start" "-a" "802c0dda8e0fbb3562c73315805568aa466f14efb2655a6f5670412d82850296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "802c0dda8e0fbb3562c73315805568aa466f14efb2655a6f5670412d82850296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802c0dda8e0fbb3562c73315805568aa466f14efb2655a6f5670412d82850296", kill_on_drop: false }` [INFO] [stdout] 802c0dda8e0fbb3562c73315805568aa466f14efb2655a6f5670412d82850296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a6a2a1df61021fe1c2f09f82dc02e42e7d9701e439e37c29d7da76e8ce6cb0a [INFO] running `Command { std: "docker" "start" "-a" "1a6a2a1df61021fe1c2f09f82dc02e42e7d9701e439e37c29d7da76e8ce6cb0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling nom v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling boxfnonce v0.1.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling daemonize v0.4.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling scrypt v0.2.0 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling fixed-hash v0.6.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling cron v0.6.0 [INFO] [stderr] Compiling job_scheduler v1.2.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling websocket v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling graphql-introspection-query v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling ethbloom v0.9.0 [INFO] [stderr] Compiling graphql_client_codegen v0.9.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling jsonrpc-core v14.0.5 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling graphql_query_derive v0.9.0 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling ethereum-types v0.9.0 [INFO] [stderr] Compiling ethabi v11.0.0 [INFO] [stderr] Compiling ethereum-tx-sign v3.0.2 [INFO] [stderr] Compiling parity-crypto v0.6.0 [INFO] [stderr] Compiling graphql_client v0.9.0 [INFO] [stderr] Compiling web3 v0.10.0 (https://github.com/tomusdrw/rust-web3#3aac17f7) [INFO] [stderr] Compiling rs_tx_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Secp` [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Secp(secp256k1::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParityCrypto` [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ParityCrypto(parity_crypto::publickey::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.28s [INFO] running `Command { std: "docker" "inspect" "1a6a2a1df61021fe1c2f09f82dc02e42e7d9701e439e37c29d7da76e8ce6cb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6a2a1df61021fe1c2f09f82dc02e42e7d9701e439e37c29d7da76e8ce6cb0a", kill_on_drop: false }` [INFO] [stdout] 1a6a2a1df61021fe1c2f09f82dc02e42e7d9701e439e37c29d7da76e8ce6cb0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b9dac5ea0a60f7701a77f221c84a1937f91a29bf1c0442ae9654008604ec414 [INFO] running `Command { std: "docker" "start" "-a" "8b9dac5ea0a60f7701a77f221c84a1937f91a29bf1c0442ae9654008604ec414", kill_on_drop: false }` [INFO] [stderr] Compiling rs_tx_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `(primitive_types::H512, primitive_types::H160): LowerHex` is not satisfied [INFO] [stdout] --> src/key.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | ... assert!(format!("{:x}", pk_valid) == "9a86a8531249e6bf23b0b1792e5983d5eabf3389977423fe4c9d82fb27b347e9fd2167dded063e20e461e7cf417f3... [INFO] [stdout] | ^^^^^^^^ the trait `LowerHex` is not implemented for `(primitive_types::H512, primitive_types::H160)` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/key.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(pk_invalid == Err(secp256k1::Error::InvalidPublicKey)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `errors::Error`, found enum `secp256k1::Error` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `errors::Error::Secp` [INFO] [stdout] | [INFO] [stdout] 102 | assert!(pk_invalid == Err(errors::Error::Secp(secp256k1::Error::InvalidPublicKey))); [INFO] [stdout] | ++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(primitive_types::H512, primitive_types::H160), errors::Error>` [INFO] [stdout] --> src/key.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(pk_invalid == Err(secp256k1::Error::InvalidPublicKey)); [INFO] [stdout] | ---------- ^^ --------------------------------------- Result<(primitive_types::H512, primitive_types::H160), errors::Error> [INFO] [stdout] | | [INFO] [stdout] | Result<(primitive_types::H512, primitive_types::H160), errors::Error> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `errors::Error` [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `errors::Error` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_tx_client` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8b9dac5ea0a60f7701a77f221c84a1937f91a29bf1c0442ae9654008604ec414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9dac5ea0a60f7701a77f221c84a1937f91a29bf1c0442ae9654008604ec414", kill_on_drop: false }` [INFO] [stdout] 8b9dac5ea0a60f7701a77f221c84a1937f91a29bf1c0442ae9654008604ec414