[INFO] fetching crate ethers 0.2.2... [INFO] testing ethers-0.2.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate ethers 0.2.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ethers 0.2.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6d3dc5e54297600e84589b1fd42784df8155f7152f2db66063a0c95bb7b520a [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" "f6d3dc5e54297600e84589b1fd42784df8155f7152f2db66063a0c95bb7b520a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d3dc5e54297600e84589b1fd42784df8155f7152f2db66063a0c95bb7b520a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d3dc5e54297600e84589b1fd42784df8155f7152f2db66063a0c95bb7b520a", kill_on_drop: false }` [INFO] [stdout] f6d3dc5e54297600e84589b1fd42784df8155f7152f2db66063a0c95bb7b520a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe0a43530e4e21e560731c480b6eb5d36a1470f02d6ab9834d4c05143c72eb2 [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" "ffe0a43530e4e21e560731c480b6eb5d36a1470f02d6ab9834d4c05143c72eb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.2 [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 crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling base64ct v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitvec v0.20.1 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bitvec v0.18.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling url v2.2.1 [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 getrandom v0.1.16 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.9.4 [INFO] [stderr] Compiling password-hash v0.1.1 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling pbkdf2 v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling 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] 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 serde_derive v1.0.123 [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 thiserror v1.0.24 [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 futures-executor v0.3.13 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling parity-scale-codec v2.0.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 impl-codec v0.5.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling ethereum-types v0.11.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 ethabi-next v13.1.0 [INFO] [stderr] Compiling h2 v0.3.1 [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 05s [INFO] running `Command { std: "docker" "inspect" "ffe0a43530e4e21e560731c480b6eb5d36a1470f02d6ab9834d4c05143c72eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe0a43530e4e21e560731c480b6eb5d36a1470f02d6ab9834d4c05143c72eb2", kill_on_drop: false }` [INFO] [stdout] ffe0a43530e4e21e560731c480b6eb5d36a1470f02d6ab9834d4c05143c72eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5035994454779c6c9506b437bfed34b5876d72a6e69c8d768fb6ea70ec2cc1 [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" "9c5035994454779c6c9506b437bfed34b5876d72a6e69c8d768fb6ea70ec2cc1", kill_on_drop: false }` [INFO] [stderr] Compiling ethers v0.2.2 (/opt/rustwide/workdir) [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[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[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 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[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[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 `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 `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[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[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[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[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 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: 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] [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/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/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[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 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: 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/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[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[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] [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: 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/99e3aef02079e9c10583638520cd0c134dc3a01d/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/99e3aef02079e9c10583638520cd0c134dc3a01d/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/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:400:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:376:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/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/99e3aef02079e9c10583638520cd0c134dc3a01d/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: scoped_tls::ScopedKey::set [INFO] [stdout] 42: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 43: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 44: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 45: start_thread [INFO] [stdout] 46: 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] [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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9c5035994454779c6c9506b437bfed34b5876d72a6e69c8d768fb6ea70ec2cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5035994454779c6c9506b437bfed34b5876d72a6e69c8d768fb6ea70ec2cc1", kill_on_drop: false }` [INFO] [stdout] 9c5035994454779c6c9506b437bfed34b5876d72a6e69c8d768fb6ea70ec2cc1