[INFO] fetching crate ic-eth 0.1.0... [INFO] testing ic-eth-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ic-eth 0.1.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-eth 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 210 packages to latest compatible versions [INFO] [stderr] Adding candid_derive v0.6.4 (available: v0.6.6) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.4) [INFO] [stderr] Adding ic-cdk v0.10.2 (available: v0.18.7) [INFO] [stderr] Adding ic-cdk-macros v0.7.1 (available: v0.18.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.7.1 [INFO] [stderr] Downloaded ic-cdk v0.10.2 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded ethers-core v2.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a40d60556bb5d9f43a72a49f6a447b455b87392f22108fb9ac1c581b395c907 [INFO] running `Command { std: "docker" "start" "-a" "5a40d60556bb5d9f43a72a49f6a447b455b87392f22108fb9ac1c581b395c907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a40d60556bb5d9f43a72a49f6a447b455b87392f22108fb9ac1c581b395c907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a40d60556bb5d9f43a72a49f6a447b455b87392f22108fb9ac1c581b395c907", kill_on_drop: false }` [INFO] [stdout] 5a40d60556bb5d9f43a72a49f6a447b455b87392f22108fb9ac1c581b395c907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e245b0b8249fb3975f2826b4ec17ddb7871b6ef167b76ed113e841f043b921b [INFO] running `Command { std: "docker" "start" "-a" "1e245b0b8249fb3975f2826b4ec17ddb7871b6ef167b76ed113e841f043b921b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.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.5 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling num_enum v0.7.5 [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 rlp v0.5.2 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [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 43.05s [INFO] running `Command { std: "docker" "inspect" "1e245b0b8249fb3975f2826b4ec17ddb7871b6ef167b76ed113e841f043b921b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e245b0b8249fb3975f2826b4ec17ddb7871b6ef167b76ed113e841f043b921b", kill_on_drop: false }` [INFO] [stdout] 1e245b0b8249fb3975f2826b4ec17ddb7871b6ef167b76ed113e841f043b921b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2fec13e5a6e15fa1681fd4a40c60dede81f45774810f084d38dc73291c39e02 [INFO] running `Command { std: "docker" "start" "-a" "e2fec13e5a6e15fa1681fd4a40c60dede81f45774810f084d38dc73291c39e02", 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.77s [INFO] running `Command { std: "docker" "inspect" "e2fec13e5a6e15fa1681fd4a40c60dede81f45774810f084d38dc73291c39e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fec13e5a6e15fa1681fd4a40c60dede81f45774810f084d38dc73291c39e02", kill_on_drop: false }` [INFO] [stdout] e2fec13e5a6e15fa1681fd4a40c60dede81f45774810f084d38dc73291c39e02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21c2f1ef78d586d8ac7bfcbd31c86cb51ad3962026943441d6478cdf8b2bd5ab [INFO] running `Command { std: "docker" "start" "-a" "21c2f1ef78d586d8ac7bfcbd31c86cb51ad3962026943441d6478cdf8b2bd5ab", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_eth-12dfd6a86fe6db31) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests ic_eth [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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "21c2f1ef78d586d8ac7bfcbd31c86cb51ad3962026943441d6478cdf8b2bd5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c2f1ef78d586d8ac7bfcbd31c86cb51ad3962026943441d6478cdf8b2bd5ab", kill_on_drop: false }` [INFO] [stdout] 21c2f1ef78d586d8ac7bfcbd31c86cb51ad3962026943441d6478cdf8b2bd5ab