[INFO] cloning repository https://github.com/yuyongpeng/Ether [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuyongpeng/Ether" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyongpeng%2FEther", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyongpeng%2FEther'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc5d0717124e4aa223f61fd9f979e6b6d18623a3 [INFO] checking yuyongpeng/Ether against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyongpeng%2FEther" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuyongpeng/Ether on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuyongpeng/Ether [INFO] finished tweaking git repo https://github.com/yuyongpeng/Ether [INFO] tweaked toml for git repo https://github.com/yuyongpeng/Ether written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/yuyongpeng/Ether already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tomusdrw/rust-web3.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/tomusdrw/rust-web3.git` [INFO] [stderr] Updating git repository `https://github.com/async-email/async-native-tls.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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 generic-array v0.9.1 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded eth_checksum v0.1.2 [INFO] [stderr] Downloaded secp256k1-sys v0.3.0 [INFO] [stderr] Downloaded ethereum-types v0.9.2 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded ethabi v14.0.0 [INFO] [stderr] Downloaded secp256k1 v0.19.0 [INFO] [stderr] Downloaded ethbloom v0.9.2 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded http-body v0.4.1 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded ethereum-tx-sign v3.0.4 [INFO] [stderr] Downloaded memzero v0.1.0 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded security-framework-sys v2.2.0 [INFO] [stderr] Downloaded jsonrpc-core v17.0.0 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded httpdate v1.0.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded tokio-test v0.2.1 [INFO] [stderr] Downloaded hyper-proxy v0.9.1 [INFO] [stderr] Downloaded hyper v0.14.7 [INFO] [stderr] Downloaded secp256k1-sys v0.4.0 [INFO] [stderr] Downloaded ethsign v0.7.3 [INFO] [stderr] Downloaded secp256k1 v0.15.5 [INFO] [stderr] Downloaded security-framework v2.2.0 [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded parity-crypto v0.4.0 [INFO] [stderr] Downloaded ethkey v0.3.1 [INFO] [stderr] Downloaded secp256k1 v0.20.1 [INFO] [stderr] Downloaded tokio-macros v1.1.0 [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de712e07cbee925b51b3b2ea49ce4f6cd8c23973ce5bfc9a4ede927c27ceb7f8 [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" "de712e07cbee925b51b3b2ea49ce4f6cd8c23973ce5bfc9a4ede927c27ceb7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de712e07cbee925b51b3b2ea49ce4f6cd8c23973ce5bfc9a4ede927c27ceb7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de712e07cbee925b51b3b2ea49ce4f6cd8c23973ce5bfc9a4ede927c27ceb7f8", kill_on_drop: false }` [INFO] [stdout] de712e07cbee925b51b3b2ea49ce4f6cd8c23973ce5bfc9a4ede927c27ceb7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9d8d25ca305c24e0155d742c1efbe06fecc68800bb1d554879ee8d244d9be4b [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" "c9d8d25ca305c24e0155d742c1efbe06fecc68800bb1d554879ee8d244d9be4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking memzero v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking rlp v0.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bitvec v0.20.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking secp256k1 v0.20.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking secp256k1 v0.19.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking scrypt v0.1.2 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking parity-crypto v0.4.0 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking parity-crypto v0.3.1 [INFO] [stderr] Checking eth_checksum v0.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking async-native-tls v0.3.3 (https://github.com/async-email/async-native-tls.git?rev=b5b5562d6cea77f913d4cbe448058c031833bf17#b5b5562d) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking parity-scale-codec v2.1.1 [INFO] [stderr] Checking parity-scale-codec v1.3.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking ethsign v0.7.3 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking impl-codec v0.5.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking jsonrpc-core v17.0.0 [INFO] [stderr] Checking ethkey v0.3.1 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.0.0 [INFO] [stderr] Checking web3 v0.15.0 (https://github.com/tomusdrw/rust-web3.git?branch=master#a415fae4) [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking ethereum-tx-sign v3.0.4 [INFO] [stderr] Checking ether_lib v0.1.0 (/opt/rustwide/workdir/ether_lib) [INFO] [stderr] Checking ether v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read /Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.bin: No such file or directory (os error 2) [INFO] [stdout] --> src/ethereum.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let bytecode = include_str!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] error: couldn't read /Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.bin: No such file or directory (os error 2) [INFO] [stdout] --> src/ethereum.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let bytecode = include_str!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] error: couldn't read /Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi: No such file or directory (os error 2) [INFO] [stdout] --> src/ethereum.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let contract = Contract::deploy(web3.eth(), include_bytes!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi"))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] error: couldn't read /Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi: No such file or directory (os error 2) [INFO] [stdout] --> src/ethereum.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let contract = Contract::deploy(web3.eth(), include_bytes!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi"))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/ethereum.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/ethereum.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ethereum.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethkey` [INFO] [stdout] --> src/ethereum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ethkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eth_checksum` [INFO] [stdout] --> src/ethereum.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use eth_checksum; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/ethereum.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/cmd.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, warn, debug, error, trace}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cmd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::ArgGroup` [INFO] [stdout] --> src/cmd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::{clap::ArgGroup, StructOpt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::Bytes` [INFO] [stdout] --> src/cmd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web3::types::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethereum_tx_sign::RawTransaction` [INFO] [stdout] --> src/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ethereum_tx_sign::RawTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ether_lib` [INFO] [stdout] --> src/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ether_lib; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/cmd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160`, `H256` [INFO] [stdout] --> src/utils.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use web3::types::{H160, H256}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethereum_types` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/ethereum.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethkey` [INFO] [stdout] --> src/ethereum.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ethkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eth_checksum` [INFO] [stdout] --> src/ethereum.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use eth_checksum; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/ethereum.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/cmd.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, warn, debug, error, trace}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cmd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::ArgGroup` [INFO] [stdout] --> src/cmd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::{clap::ArgGroup, StructOpt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::Bytes` [INFO] [stdout] --> src/cmd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web3::types::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethereum_tx_sign::RawTransaction` [INFO] [stdout] --> src/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ethereum_tx_sign::RawTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ether_lib` [INFO] [stdout] --> src/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ether_lib; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/cmd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160`, `H256` [INFO] [stdout] --> src/utils.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use web3::types::{H160, H256}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethereum_types` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ethereum.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | to: Some(to_h160.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `ethereum_types::H160`, found struct `web3::types::H160` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `primitive_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/ethereum.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let contract = Contract::deploy(web3.eth(), include_bytes!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi"))? [INFO] [stdout] | ____________________^ [INFO] [stdout] 33 | | .confirmations(1) [INFO] [stdout] 34 | | .poll_interval(time::Duration::from_secs(10)) [INFO] [stdout] 35 | | .options(Options::with(|opt| opt.gas = Some(3_000_000.into()))) [INFO] [stdout] 36 | | .execute(bytecode, (), accounts[8])? [INFO] [stdout] | |____________________________________________^ the `?` operator cannot be applied to type `impl std::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl std::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` cannot be unpinned [INFO] [stdout] --> src/ethereum.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let log = logs_stream.next().await.unwrap(); [INFO] [stdout] | ^^^^ within `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `impl std::future::Future` [INFO] [stdout] = note: required because it appears within the type `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::unfold_state::UnfoldState<(BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::unfold::_::__Origin<'_, (BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::stream::map::_::__Origin<'_, web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Map, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::try_flatten::_::__Origin<'_, web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` cannot be unpinned [INFO] [stdout] --> src/ethereum.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let log = logs_stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ within `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `impl std::future::Future` [INFO] [stdout] = note: required because it appears within the type `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::unfold_state::UnfoldState<(BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::unfold::_::__Origin<'_, (BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::stream::map::_::__Origin<'_, web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Map, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::try_flatten::_::__Origin<'_, web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `Next<'_, impl web3::futures::Stream>` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ether` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/ethereum.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | to: Some(to_h160.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `ethereum_types::H160`, found struct `web3::types::H160` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `primitive_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/ethereum.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let contract = Contract::deploy(web3.eth(), include_bytes!("/Users/yuyongpeng/CLionProjects/macros/res/SimpleEvent.abi"))? [INFO] [stdout] | ____________________^ [INFO] [stdout] 33 | | .confirmations(1) [INFO] [stdout] 34 | | .poll_interval(time::Duration::from_secs(10)) [INFO] [stdout] 35 | | .options(Options::with(|opt| opt.gas = Some(3_000_000.into()))) [INFO] [stdout] 36 | | .execute(bytecode, (), accounts[8])? [INFO] [stdout] | |____________________________________________^ the `?` operator cannot be applied to type `impl std::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl std::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` cannot be unpinned [INFO] [stdout] --> src/ethereum.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let log = logs_stream.next().await.unwrap(); [INFO] [stdout] | ^^^^ within `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `impl std::future::Future` [INFO] [stdout] = note: required because it appears within the type `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::unfold_state::UnfoldState<(BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::unfold::_::__Origin<'_, (BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::stream::map::_::__Origin<'_, web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Map, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::try_flatten::_::__Origin<'_, web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` cannot be unpinned [INFO] [stdout] --> src/ethereum.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let log = logs_stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ within `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@api::eth_filter::filter_stream::{closure#0}::{closure#0} for<'r, 's, 't0> {ResumeTy, BaseFilter, serde_json::value::Value, Duration, futures_timer::native::delay::Delay, (), &'r Http, Http, &'s str, &'t0 serde_json::value::Value, [serde_json::value::Value; 1], Box<[serde_json::value::Value]>, Box<[serde_json::value::Value; 1]>, Vec, web3::transports::http::Response) -> Result>}]>` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `impl std::future::Future` [INFO] [stdout] = note: required because it appears within the type `futures_util::unfold_state::_::__Origin<'_, (BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::unfold_state::UnfoldState<(BaseFilter, serde_json::value::Value), impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::unfold::_::__Origin<'_, (BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::stream::map::_::__Origin<'_, web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::Map, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>>, futures_util::fns::MapOkFn<[closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::_::__Origin<'_, web3::futures::stream::Unfold<(BaseFilter, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::try_flatten::_::__Origin<'_, web3::futures::stream::MapOk, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>` [INFO] [stdout] = note: required because it appears within the type `web3::futures::stream::try_stream::into_stream::_::__Origin<'_, web3::futures::stream::TryFlatten, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `web3::futures::stream::IntoStream, serde_json::value::Value), [closure@api::eth_filter::filter_stream::{closure#0}], impl std::future::Future>, [closure@api::eth_filter::filter_stream::{closure#1}]>>>` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because it appears within the type `impl web3::futures::Stream` [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `Next<'_, impl web3::futures::Stream>` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c9d8d25ca305c24e0155d742c1efbe06fecc68800bb1d554879ee8d244d9be4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d8d25ca305c24e0155d742c1efbe06fecc68800bb1d554879ee8d244d9be4b", kill_on_drop: false }` [INFO] [stdout] c9d8d25ca305c24e0155d742c1efbe06fecc68800bb1d554879ee8d244d9be4b