[INFO] fetching crate ic-eth 0.1.0... [INFO] testing ic-eth-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ic-eth 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ic-eth 0.1.0 [INFO] finished tweaking crates.io crate ic-eth 0.1.0 [INFO] tweaked toml for crates.io crate ic-eth 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-eth 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 228 packages to latest compatible versions [INFO] [stderr] Adding candid_derive v0.6.4 (available: v0.6.6) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding getrandom v0.2.17 (available: v0.4.2) [INFO] [stderr] Adding ic-cdk v0.10.2 (available: v0.20.0) [INFO] [stderr] Adding ic-cdk-macros v0.7.1 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 536efc71349b8974d8256bccd4a67446e8581b54dbc791f13baabf016fe7dfc6 [INFO] running `Command { std: "docker" "start" "-a" "536efc71349b8974d8256bccd4a67446e8581b54dbc791f13baabf016fe7dfc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "536efc71349b8974d8256bccd4a67446e8581b54dbc791f13baabf016fe7dfc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536efc71349b8974d8256bccd4a67446e8581b54dbc791f13baabf016fe7dfc6", kill_on_drop: false }` [INFO] [stdout] 536efc71349b8974d8256bccd4a67446e8581b54dbc791f13baabf016fe7dfc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b6a9352796d4a6ccd4fdd36181cf75b07431096dae2f7f0e334c37eff997ec1 [INFO] running `Command { std: "docker" "start" "-a" "2b6a9352796d4a6ccd4fdd36181cf75b07431096dae2f7f0e334c37eff997ec1", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling const-hex v1.18.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling num_enum v0.7.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Compiling ic-cdk v0.10.2 [INFO] [stderr] Compiling ic-eth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.92s [INFO] running `Command { std: "docker" "inspect" "2b6a9352796d4a6ccd4fdd36181cf75b07431096dae2f7f0e334c37eff997ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6a9352796d4a6ccd4fdd36181cf75b07431096dae2f7f0e334c37eff997ec1", kill_on_drop: false }` [INFO] [stdout] 2b6a9352796d4a6ccd4fdd36181cf75b07431096dae2f7f0e334c37eff997ec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285b15ee9baf7073798a4e96403fab77d125f172948e78f6e31aaa8aee8777e9 [INFO] running `Command { std: "docker" "start" "-a" "285b15ee9baf7073798a4e96403fab77d125f172948e78f6e31aaa8aee8777e9", kill_on_drop: false }` [INFO] [stderr] Compiling ic-eth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "285b15ee9baf7073798a4e96403fab77d125f172948e78f6e31aaa8aee8777e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285b15ee9baf7073798a4e96403fab77d125f172948e78f6e31aaa8aee8777e9", kill_on_drop: false }` [INFO] [stdout] 285b15ee9baf7073798a4e96403fab77d125f172948e78f6e31aaa8aee8777e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bcddb183d2d8ec6e8a4ae761b73fd9e8f79fc02287d16df35e0e1b282f6148a [INFO] running `Command { std: "docker" "start" "-a" "4bcddb183d2d8ec6e8a4ae761b73fd9e8f79fc02287d16df35e0e1b282f6148a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_eth-f06a80440bb3e885) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ic_eth [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/rpc.rs - rpc::call_contract (line 129) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rpc.rs - rpc::call_contract (line 129) stdout ---- [INFO] [stdout] error: couldn't read `src/../abi/erc20.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/rpc.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | let abi = include_abi!("../abi/erc20.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_abi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rpc.rs:142:111 [INFO] [stdout] | [INFO] [stdout] 130 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rpc_rs_129_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 142 | let result = call_contract(rpc_url, contract_address, &abi, function_name, &args, cycles, max_response_bytes).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/rpc.rs - rpc::call_contract (line 129) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4bcddb183d2d8ec6e8a4ae761b73fd9e8f79fc02287d16df35e0e1b282f6148a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bcddb183d2d8ec6e8a4ae761b73fd9e8f79fc02287d16df35e0e1b282f6148a", kill_on_drop: false }` [INFO] [stdout] 4bcddb183d2d8ec6e8a4ae761b73fd9e8f79fc02287d16df35e0e1b282f6148a