[INFO] fetching crate ic-eth 0.1.0...
[INFO] testing ic-eth-0.1.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate ic-eth 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate ic-eth 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 173 packages to latest compatible versions
[INFO] [stderr]       Adding candid_derive v0.6.4 (available: v0.6.6)
[INFO] [stderr]       Adding ic-cdk v0.10.1 (available: v0.16.0)
[INFO] [stderr]       Adding ic-cdk-macros v0.7.1 (available: v0.16.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 981b039867c0496c02d60aed05bcd64dd9fa57b30b2b6494601f6cb3a2de1eeb
[INFO] running `Command { std: "docker" "start" "-a" "981b039867c0496c02d60aed05bcd64dd9fa57b30b2b6494601f6cb3a2de1eeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "981b039867c0496c02d60aed05bcd64dd9fa57b30b2b6494601f6cb3a2de1eeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "981b039867c0496c02d60aed05bcd64dd9fa57b30b2b6494601f6cb3a2de1eeb", kill_on_drop: false }`
[INFO] [stdout] 981b039867c0496c02d60aed05bcd64dd9fa57b30b2b6494601f6cb3a2de1eeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07663224cfe8c12e67f6602e7d8d60d523b7574a24b6ef944a4f82856016d6d8
[INFO] running `Command { std: "docker" "start" "-a" "07663224cfe8c12e67f6602e7d8d60d523b7574a24b6ef944a4f82856016d6d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling psm v0.1.23
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.12
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.5
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling auto_impl v1.2.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling num_enum v0.7.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling const-hex v1.13.1
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling parity-scale-codec v3.6.12
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling scale-info v2.11.5
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling ethbloom v0.13.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.1
[INFO] [stderr]    Compiling ic-eth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "07663224cfe8c12e67f6602e7d8d60d523b7574a24b6ef944a4f82856016d6d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07663224cfe8c12e67f6602e7d8d60d523b7574a24b6ef944a4f82856016d6d8", kill_on_drop: false }`
[INFO] [stdout] 07663224cfe8c12e67f6602e7d8d60d523b7574a24b6ef944a4f82856016d6d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb7341e14a06a1fb7a55f857d85858c77e449fe4961ec7ee29fb592f2f836c3b
[INFO] running `Command { std: "docker" "start" "-a" "bb7341e14a06a1fb7a55f857d85858c77e449fe4961ec7ee29fb592f2f836c3b", 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 0.77s
[INFO] running `Command { std: "docker" "inspect" "bb7341e14a06a1fb7a55f857d85858c77e449fe4961ec7ee29fb592f2f836c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb7341e14a06a1fb7a55f857d85858c77e449fe4961ec7ee29fb592f2f836c3b", kill_on_drop: false }`
[INFO] [stdout] bb7341e14a06a1fb7a55f857d85858c77e449fe4961ec7ee29fb592f2f836c3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 24ec96c604848a1cb34984d63fc43fa3846bd3afd121b90f3595e1abf066a024
[INFO] running `Command { std: "docker" "start" "-a" "24ec96c604848a1cb34984d63fc43fa3846bd3afd121b90f3595e1abf066a024", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_eth-0c1189620699ba79)
[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] [stdout] 
[INFO] [stderr]    Doc-tests ic_eth
[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] 10 | 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] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rpc_rs_129_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "24ec96c604848a1cb34984d63fc43fa3846bd3afd121b90f3595e1abf066a024", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24ec96c604848a1cb34984d63fc43fa3846bd3afd121b90f3595e1abf066a024", kill_on_drop: false }`
[INFO] [stdout] 24ec96c604848a1cb34984d63fc43fa3846bd3afd121b90f3595e1abf066a024
