[INFO] fetching crate ethers 0.2.2...
[INFO] testing ethers-0.2.2 against 1.54.0 for beta-1.55-1
[INFO] extracting crate ethers 0.2.2 into /workspace/builds/worker-24/source
[INFO] validating manifest of crates.io crate ethers 0.2.2 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "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-24/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" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cbe2ab1b3d6066c58c073c84aaed6226389d92d13fe8d99a2f817aeae7d08a9a
[INFO] running `Command { std: "docker" "start" "-a" "cbe2ab1b3d6066c58c073c84aaed6226389d92d13fe8d99a2f817aeae7d08a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbe2ab1b3d6066c58c073c84aaed6226389d92d13fe8d99a2f817aeae7d08a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbe2ab1b3d6066c58c073c84aaed6226389d92d13fe8d99a2f817aeae7d08a9a", kill_on_drop: false }`
[INFO] [stdout] cbe2ab1b3d6066c58c073c84aaed6226389d92d13fe8d99a2f817aeae7d08a9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca747c5559b9d7a3dbfcc1d4827592a5880b3d5d0a5101e10aecf01e14283a23
[INFO] running `Command { std: "docker" "start" "-a" "ca747c5559b9d7a3dbfcc1d4827592a5880b3d5d0a5101e10aecf01e14283a23", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.87
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.5
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling radium v0.4.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling futures-core v0.3.13
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling futures-sink v0.3.13
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling futures-task v0.3.13
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling httparse v1.3.5
[INFO] [stderr]    Compiling zeroize v1.2.0
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling base64ct v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling curl v0.4.34
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling ipnet v2.3.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling tokio v1.2.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling tinyvec v1.1.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.13
[INFO] [stderr]    Compiling tracing v0.1.25
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling bitvec v0.20.1
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling curl-sys v0.4.40+curl-7.75.0
[INFO] [stderr]    Compiling uint v0.9.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling bitvec v0.18.4
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling mio v0.7.9
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling idna v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling password-hash v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling elliptic-curve v0.9.4
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling signature v1.2.2
[INFO] [stderr]    Compiling sha-1 v0.9.4
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling salsa20 v0.7.2
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling ff v0.8.0
[INFO] [stderr]    Compiling pbkdf2 v0.7.3
[INFO] [stderr]    Compiling group v0.8.0
[INFO] [stderr]    Compiling elliptic-curve v0.8.5
[INFO] [stderr]    Compiling scrypt v0.6.3
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling ecdsa v0.10.2
[INFO] [stderr]    Compiling k256 v0.7.2
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling rustls v0.19.0
[INFO] [stderr]    Compiling webpki-roots v0.21.0
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[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]    Compiling futures-util v0.3.13
[INFO] [stderr]    Compiling pin-project v1.0.5
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling futures-executor v0.3.13
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling parity-scale-codec v2.0.1
[INFO] [stderr]    Compiling impl-serde v0.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling rlp v0.5.0
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling input_buffer v0.4.0
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling ethbloom v0.11.0
[INFO] [stderr]    Compiling eth-keystore v0.2.0
[INFO] [stderr]    Compiling serde-aux v2.1.1
[INFO] [stderr]    Compiling http-body v0.4.0
[INFO] [stderr]    Compiling tungstenite v0.12.0
[INFO] [stderr]    Compiling impl-codec v0.5.0
[INFO] [stderr]    Compiling primitive-types v0.9.0
[INFO] [stderr]    Compiling tokio-util v0.6.3
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.13.0
[INFO] [stderr]    Compiling ethereum-types v0.11.0
[INFO] [stderr]    Compiling h2 v0.3.1
[INFO] [stderr]    Compiling ethabi-next v13.1.0
[INFO] [stderr]    Compiling ethers-core v0.2.2
[INFO] [stderr]    Compiling ethers-contract-abigen v0.2.2
[INFO] [stderr]    Compiling ethers-signers v0.2.2
[INFO] [stderr]    Compiling hyper v0.14.4
[INFO] [stderr]    Compiling ethers-contract-derive v0.2.2
[INFO] [stderr]    Compiling hyper-rustls v0.22.1
[INFO] [stderr]    Compiling reqwest v0.11.1
[INFO] [stderr]    Compiling ethers-providers v0.2.2
[INFO] [stderr]    Compiling ethers-contract v0.2.2
[INFO] [stderr]    Compiling ethers-middleware v0.2.2
[INFO] [stderr]    Compiling ethers v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "ca747c5559b9d7a3dbfcc1d4827592a5880b3d5d0a5101e10aecf01e14283a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca747c5559b9d7a3dbfcc1d4827592a5880b3d5d0a5101e10aecf01e14283a23", kill_on_drop: false }`
[INFO] [stdout] ca747c5559b9d7a3dbfcc1d4827592a5880b3d5d0a5101e10aecf01e14283a23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eae94b0376e387df7f2a05d4b4a2b8075c183d35e21005a3d5a0e3c87b36d20c
[INFO] running `Command { std: "docker" "start" "-a" "eae94b0376e387df7f2a05d4b4a2b8075c183d35e21005a3d5a0e3c87b36d20c", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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[E0282]: type annotations needed
[INFO] [stdout]   --> examples/watch_blocks.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Ok(())
[INFO] [stdout]    |     ^^ cannot infer type for type parameter `E` declared on the enum `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[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: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[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] [stderr] error: could not compile `ethers`
[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[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[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 the macro `abigen` (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[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: 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[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: 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]   --> 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 `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[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] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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[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[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[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[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: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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[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] [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] [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 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "eae94b0376e387df7f2a05d4b4a2b8075c183d35e21005a3d5a0e3c87b36d20c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae94b0376e387df7f2a05d4b4a2b8075c183d35e21005a3d5a0e3c87b36d20c", kill_on_drop: false }`
[INFO] [stdout] eae94b0376e387df7f2a05d4b4a2b8075c183d35e21005a3d5a0e3c87b36d20c
