[INFO] fetching crate ethcontract-mock 0.17.0... [INFO] testing ethcontract-mock-0.17.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ethcontract-mock 0.17.0 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate ethcontract-mock 0.17.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract-mock 0.17.0 [INFO] finished tweaking crates.io crate ethcontract-mock 0.17.0 [INFO] tweaked toml for crates.io crate ethcontract-mock 0.17.0 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79d9bff0df405166e0f5796c9a8e6311f5830e76f7c12f7b8ed8acbaa30b0f95 [INFO] running `Command { std: "docker" "start" "-a" "79d9bff0df405166e0f5796c9a8e6311f5830e76f7c12f7b8ed8acbaa30b0f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79d9bff0df405166e0f5796c9a8e6311f5830e76f7c12f7b8ed8acbaa30b0f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d9bff0df405166e0f5796c9a8e6311f5830e76f7c12f7b8ed8acbaa30b0f95", kill_on_drop: false }` [INFO] [stdout] 79d9bff0df405166e0f5796c9a8e6311f5830e76f7c12f7b8ed8acbaa30b0f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811bcfebfc94c8b6e0139e4a404358939c99e0ef239a0292f11354959329f830 [INFO] running `Command { std: "docker" "start" "-a" "811bcfebfc94c8b6e0139e4a404358939c99e0ef239a0292f11354959329f830", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Compiling secp256k1 v0.21.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling mockall v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling ethereum-types v0.12.1 [INFO] [stderr] Compiling ethabi v16.0.0 [INFO] [stderr] Compiling web3 v0.18.0 [INFO] [stderr] Compiling ethcontract-common v0.17.0 [INFO] [stderr] Compiling ethcontract-generate v0.17.0 [INFO] [stderr] Compiling ethcontract-derive v0.17.0 [INFO] [stderr] Compiling ethcontract v0.17.0 [INFO] [stderr] Compiling ethcontract-mock v0.17.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "811bcfebfc94c8b6e0139e4a404358939c99e0ef239a0292f11354959329f830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811bcfebfc94c8b6e0139e4a404358939c99e0ef239a0292f11354959329f830", kill_on_drop: false }` [INFO] [stdout] 811bcfebfc94c8b6e0139e4a404358939c99e0ef239a0292f11354959329f830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f472bd9fca7a871506ebc8398642ab0919d6597e95701f65ca7ad80c475fff88 [INFO] running `Command { std: "docker" "start" "-a" "f472bd9fca7a871506ebc8398642ab0919d6597e95701f65ca7ad80c475fff88", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling ethcontract-mock v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to read artifact JSON file [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] --> src/test/returns.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | ethcontract::contract!("examples/truffle/build/contracts/AbiTypes.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to read artifact JSON file [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] --> src/test/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ethcontract::contract!("examples/truffle/build/contracts/ERC20.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | .expect(ERC20::signatures().name()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | .expect(ERC20::signatures().symbol()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | .expect(ERC20::signatures().decimals()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | .expect(ERC20::signatures().total_supply()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | .expect(ERC20::signatures().transfer()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_get_transaction_receipt.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | contract.expect(AbiTypes::signatures().get_void()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | contract.expect(AbiTypes::signatures().get_u8()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | contract.expect(AbiTypes::signatures().abiv_2_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | contract.expect(AbiTypes::signatures().abiv_2_array_of_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | contract.expect(AbiTypes::signatures().multiple_results()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | contract.expect(AbiTypes::signatures().multiple_results_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | let contract = mock.deploy(ERC20::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let mut instance = ERC20::at(&web3, contract.address); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let contract = mock.deploy(ERC20::raw_contract().abi.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | .expect(ERC20::signatures().transfer()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | let actual_contract = ERC20::at(&mock.web3(), contract.address); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ERC20` in this scope [INFO] [stdout] --> src/test/mod.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | fn setup() -> (Mock, DynWeb3, Contract, ERC20) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_estimate_gas.rs:69:71 [INFO] [stdout] | [INFO] [stdout] 69 | .estimate_gas(request.clone(), Some(BlockNumber::Number(2.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: ~const From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_estimate_gas.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | .estimate_gas(request.clone(), Some(BlockNumber::Number(1.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: ~const From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_transaction_count.rs:111:81 [INFO] [stdout] | [INFO] [stdout] 111 | .transaction_count(address_for("Alice"), Some(BlockNumber::Number(0.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: ~const From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_transaction_count.rs:130:81 [INFO] [stdout] | [INFO] [stdout] 130 | .transaction_count(address_for("Alice"), Some(BlockNumber::Number(2.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: ~const From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ---------^^^^^^--------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `Expectation` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Contract::expect` [INFO] [stdout] --> src/lib.rs:382:52 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn expect( [INFO] [stdout] | ^^^^^^^^ required by this bound in `Contract::expect` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 44 | ::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | ::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | ::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | ::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ------------------------------------------------ ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `Expectation` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Expectation::::returns` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns` [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn returns(self, returns: R) -> Self { [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 45 | / contract [INFO] [stdout] 46 | | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | |_______________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 47 | .returns((1, 2)); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] note: required by a bound in `Expectation::::returns` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns` [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn returns(self, returns: R) -> Self { [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 48 | / contract [INFO] [stdout] 49 | | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | |________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 50 | .returns(vec![(1, 2), (3, 4)]); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `Vec<({integer}, {integer})>` [INFO] [stdout] note: required by a bound in `Expectation::::returns` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns` [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn returns(self, returns: R) -> Self { [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 51 | / contract [INFO] [stdout] 52 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 53 | .returns((1, 2, 3)); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] note: required by a bound in `Expectation::::returns` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns` [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn returns(self, returns: R) -> Self { [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 54 | / contract [INFO] [stdout] 55 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 56 | .returns(((1, 2), (3, 4))); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] note: required by a bound in `Expectation::::returns` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns` [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn returns(self, returns: R) -> Self { [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 86 | / contract [INFO] [stdout] 87 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |__________^^^^^^________________________________- this method call resolves to `Expectation` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Contract::expect` [INFO] [stdout] --> src/lib.rs:382:52 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn expect( [INFO] [stdout] | ^^^^^^^^ required by this bound in `Contract::expect` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 86 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 86 | / contract [INFO] [stdout] 87 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 88 | .returns_fn(|_| Ok(42)); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn` [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn returns_fn(self, returns: impl Fn(P) -> Result + Send + 'static) -> Self { [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 95 | / contract [INFO] [stdout] 96 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 97 | .returns_fn(|_| Ok((1, 2, 3))); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn` [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn returns_fn(self, returns: impl Fn(P) -> Result + Send + 'static) -> Self { [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 98 | / contract [INFO] [stdout] 99 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 100 | .returns_fn(|_| Ok(((1, 2), (3, 4)))); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn` [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn returns_fn(self, returns: impl Fn(P) -> Result + Send + 'static) -> Self { [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 130 | / contract [INFO] [stdout] 131 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |__________^^^^^^________________________________- this method call resolves to `Expectation` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Contract::expect` [INFO] [stdout] --> src/lib.rs:382:52 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn expect( [INFO] [stdout] | ^^^^^^^^ required by this bound in `Contract::expect` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 130 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | ::expect(contract) [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 130 | / contract [INFO] [stdout] 131 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 132 | .returns_fn_ctx(|_, _| Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn returns_fn_ctx( [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 139 | / contract [INFO] [stdout] 140 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 141 | .returns_fn_ctx(|_, _| Ok((1, 2, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn returns_fn_ctx( [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 142 | / contract [INFO] [stdout] 143 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 144 | .returns_fn_ctx(|_, _| Ok(((1, 2), (3, 4)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] note: required by a bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] --> src/lib.rs:491:39 [INFO] [stdout] | [INFO] [stdout] 491 | impl Expectation { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Expectation::::returns_fn_ctx` [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn returns_fn_ctx( [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | .returns(U256::from(0)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | .returns(U256::from(100)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | .returns(U256::from(100000)); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | .transfer(address_for("Bob"), U256::from(100)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract-mock` due to 81 previous errors [INFO] running `Command { std: "docker" "inspect" "f472bd9fca7a871506ebc8398642ab0919d6597e95701f65ca7ad80c475fff88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f472bd9fca7a871506ebc8398642ab0919d6597e95701f65ca7ad80c475fff88", kill_on_drop: false }` [INFO] [stdout] f472bd9fca7a871506ebc8398642ab0919d6597e95701f65ca7ad80c475fff88