[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] testing yuyongpeng/Ether against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuyongpeng%2FEther" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuyongpeng/Ether 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/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-1/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" "+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 scrypt v0.2.0 [INFO] [stderr] Downloaded eth_checksum v0.1.1 [INFO] [stderr] Downloaded ethabi v12.0.0 [INFO] [stderr] Downloaded async-std v1.6.1 [INFO] [stderr] Downloaded parity-crypto v0.4.2 [INFO] [stderr] Downloaded ethereum-tx-sign v3.0.3 [INFO] [stderr] Downloaded ethkey v0.3.1 [INFO] [stderr] Downloaded ethsign v0.7.3 [INFO] [stderr] Downloaded tokio-test v0.2.1 [INFO] [stderr] Downloaded piper v0.1.3 [INFO] [stderr] Downloaded smol v0.1.12 [INFO] [stderr] Downloaded derive_more v0.99.8 [INFO] running `Command { std: "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" "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] bc1d45a7f16d14ed8be1456acd3cb45da18742373d99718ff654c59f7f8d5ce2 [INFO] running `Command { std: "docker" "start" "-a" "bc1d45a7f16d14ed8be1456acd3cb45da18742373d99718ff654c59f7f8d5ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc1d45a7f16d14ed8be1456acd3cb45da18742373d99718ff654c59f7f8d5ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1d45a7f16d14ed8be1456acd3cb45da18742373d99718ff654c59f7f8d5ce2", kill_on_drop: false }` [INFO] [stdout] bc1d45a7f16d14ed8be1456acd3cb45da18742373d99718ff654c59f7f8d5ce2 [INFO] running `Command { std: "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" "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] b81d7b77448e75b7958a0972bd96e88a3d0765ed5b4b991703a44062877a0452 [INFO] running `Command { std: "docker" "start" "-a" "b81d7b77448e75b7958a0972bd96e88a3d0765ed5b4b991703a44062877a0452", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ripemd160 v0.8.0 [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 uuid v0.7.4 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling scrypt v0.1.2 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [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 zeroize_derive v0.9.3 [INFO] [stderr] Compiling eth_checksum v0.1.1 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling parity-crypto v0.4.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling parity-crypto v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling derive_more v0.99.8 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.12 [INFO] [stderr] Compiling async-std v1.6.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling ethsign v0.7.3 [INFO] [stderr] Compiling ethbloom v0.9.2 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling ethkey v0.3.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling soketto v0.3.2 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling ethereum-types v0.9.2 [INFO] [stderr] Compiling ethabi v12.0.0 [INFO] [stderr] Compiling ethereum-tx-sign v3.0.3 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling web3 v0.12.0 (https://github.com/tomusdrw/rust-web3.git?branch=master#befcb2fb) [INFO] [stderr] Compiling ether_lib v0.1.0 (/opt/rustwide/workdir/ether_lib) [INFO] [stderr] Compiling 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 the macro `include_str` (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 the macro `include_bytes` (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: `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[E0283]: type annotations needed [INFO] [stdout] --> src/ethereum.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | .options(Options::with(|opt| opt.gas = Some(3_000_000.into()))) [INFO] [stdout] | ----------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for U256; [INFO] [stdout] - impl From for U256; [INFO] [stdout] - impl From for U256; [INFO] [stdout] - impl From for U256; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ether` due to 4 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b81d7b77448e75b7958a0972bd96e88a3d0765ed5b4b991703a44062877a0452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81d7b77448e75b7958a0972bd96e88a3d0765ed5b4b991703a44062877a0452", kill_on_drop: false }` [INFO] [stdout] b81d7b77448e75b7958a0972bd96e88a3d0765ed5b4b991703a44062877a0452