[INFO] fetching crate ethers 0.2.2... [INFO] checking ethers-0.2.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate ethers 0.2.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate ethers 0.2.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers 0.2.2 [INFO] finished tweaking crates.io crate ethers 0.2.2 [INFO] tweaked toml for crates.io crate ethers 0.2.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate ethers 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb20c86c5847dcd7bf0611a1684150e8791f42d6859580cd5c6baaf251dd2a3e [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" "cb20c86c5847dcd7bf0611a1684150e8791f42d6859580cd5c6baaf251dd2a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb20c86c5847dcd7bf0611a1684150e8791f42d6859580cd5c6baaf251dd2a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb20c86c5847dcd7bf0611a1684150e8791f42d6859580cd5c6baaf251dd2a3e", kill_on_drop: false }` [INFO] [stdout] cb20c86c5847dcd7bf0611a1684150e8791f42d6859580cd5c6baaf251dd2a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5931e81967db781c7cb9e2b236eb94d6f6b8acc243e1b3bc55aaf304374169f [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" "e5931e81967db781c7cb9e2b236eb94d6f6b8acc243e1b3bc55aaf304374169f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking base64ct v0.2.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking bitvec v0.18.4 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking bitvec v0.20.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking salsa20 v0.7.2 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.9.4 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking password-hash v0.1.1 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Checking pbkdf2 v0.7.3 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Checking scrypt v0.6.3 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling k256 v0.7.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking parity-scale-codec v2.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rlp v0.5.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Checking eth-keystore v0.2.0 [INFO] [stderr] Checking serde-aux v2.1.1 [INFO] [stderr] Checking impl-codec v0.5.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking ethabi-next v13.1.0 [INFO] [stderr] Checking ethers-core v0.2.2 [INFO] [stderr] Checking ethers-contract-abigen v0.2.2 [INFO] [stderr] Checking ethers-signers v0.2.2 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.1 [INFO] [stderr] Checking ethers-providers v0.2.2 [INFO] [stderr] Compiling ethers-contract-derive v0.2.2 [INFO] [stderr] Checking ethers-contract v0.2.2 [INFO] [stderr] Checking ethers-middleware v0.2.2 [INFO] [stderr] Checking ethers v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/watch_blocks.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> examples/watch_blocks.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> examples/abigen.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/transfer_eth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/transfer_eth.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/transfer_eth.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | println!("{}", serde_json::to_string(&tx)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/local_signer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/local_signer.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get ABI JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file with path /opt/rustwide/workdir/ethers/examples/contract_abi.json [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/core/src/result.rs:591:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/context.rs:50:9 [INFO] [stdout] 4: ethers_contract_abigen::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-abigen-0.2.2/src/source.rs:174:16 [INFO] [stdout] 5: ethers_contract_abigen::source::Source::get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-abigen-0.2.2/src/source.rs:140:36 [INFO] [stdout] 6: ethers_contract_abigen::contract::Context::from_abigen [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-abigen-0.2.2/src/contract.rs:101:23 [INFO] [stdout] 7: ethers_contract_abigen::contract::Context::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-abigen-0.2.2/src/contract.rs:43:18 [INFO] [stdout] 8: ethers_contract_abigen::Abigen::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-abigen-0.2.2/src/lib.rs:115:22 [INFO] [stdout] 9: ethers_contract_derive::abigen::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-derive-0.2.2/src/abigen.rs:17:8 [INFO] [stdout] 10: ethers_contract_derive::abigen [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-contract-derive-0.2.2/src/lib.rs:64:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/panic.rs:344:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/panic.rs:431:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/proc_macro/src/bridge/client.rs:410:13 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/3aedcf06b73fc36feeebca3d579e1d2a6c40acc5/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: clone [INFO] [stdout] --> examples/contract_with_abi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | "./ethers/examples/contract_abi.json", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/contract_with_abi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/contract_with_abi.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/local_signer.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Sent tx: {}\n", serde_json::to_string(&tx)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/local_signer.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | println!("Tx receipt: {}", serde_json::to_string(&receipt)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `SimpleContract` [INFO] [stdout] --> examples/contract_with_abi.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | let contract = SimpleContract::new(addr, client.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SimpleContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/contract_with_abi.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | println!("Value: {}. Logs: {}", value, serde_json::to_string(&logs)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/ens.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/ens.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/sign.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/sign.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/ens.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", serde_json::to_string(&tx)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/ens.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | println!("{}", serde_json::to_string(&receipt)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/sign.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | let wallet = LocalWallet::new(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/contract_human_readable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> examples/contract_human_readable.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / abigen!( [INFO] [stdout] 11 | | SimpleContract, [INFO] [stdout] 12 | | r#"[ [INFO] [stdout] 13 | | function setValue(string) [INFO] [stdout] ... | [INFO] [stdout] 17 | | event_derives(serde::Deserialize, serde::Serialize) [INFO] [stdout] 18 | | ); [INFO] [stdout] | |__^ use of undeclared crate or module `serde` [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[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/contract_human_readable.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/contract_human_readable.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | println!("Value: {}. Logs: {}", value, serde_json::to_string(&logs)?); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/watch_blocks.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/local_signer.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/watch_blocks.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/local_signer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/transfer_eth.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/transfer_eth.rs:30:63 [INFO] [stdout] | [INFO] [stdout] 30 | .get_transaction_count(from, Some(BlockNumber::Number(0.into()))) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/transfer_eth.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let nonce2 = provider [INFO] [stdout] | __________________^ [INFO] [stdout] 30 | | .get_transaction_count(from, Some(BlockNumber::Number(0.into()))) [INFO] [stdout] 31 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/transfer_eth.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/ens.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/ens.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0698, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/contract_with_abi.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/contract_with_abi.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/sign.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/sign.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/contract_human_readable.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/contract_human_readable.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [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" "e5931e81967db781c7cb9e2b236eb94d6f6b8acc243e1b3bc55aaf304374169f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5931e81967db781c7cb9e2b236eb94d6f6b8acc243e1b3bc55aaf304374169f", kill_on_drop: false }` [INFO] [stdout] e5931e81967db781c7cb9e2b236eb94d6f6b8acc243e1b3bc55aaf304374169f