[INFO] crate evm-network-foundation 0.11.0-beta.0 is already in cache [INFO] extracting crate evm-network-foundation 0.11.0-beta.0 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-foundation/0.11.0-beta.0 [INFO] extracting crate evm-network-foundation 0.11.0-beta.0 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-foundation/0.11.0-beta.0 [INFO] validating manifest of evm-network-foundation-0.11.0-beta.0 on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of evm-network-foundation-0.11.0-beta.0 on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing evm-network-foundation-0.11.0-beta.0 [INFO] finished frobbing evm-network-foundation-0.11.0-beta.0 [INFO] frobbed toml for evm-network-foundation-0.11.0-beta.0 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-foundation/0.11.0-beta.0/Cargo.toml [INFO] started frobbing evm-network-foundation-0.11.0-beta.0 [INFO] finished frobbing evm-network-foundation-0.11.0-beta.0 [INFO] frobbed toml for evm-network-foundation-0.11.0-beta.0 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-foundation/0.11.0-beta.0/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking evm-network-foundation-0.11.0-beta.0 against master#39401465da4ce27aeeb2c2a26133ac35c63aa515 for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-6/master#39401465da4ce27aeeb2c2a26133ac35c63aa515:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-foundation/0.11.0-beta.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f24ba05ab3a546240537ae3732972064be675f4d470d9cb707c9714f0c726a84 [INFO] running `"docker" "start" "-a" "f24ba05ab3a546240537ae3732972064be675f4d470d9cb707c9714f0c726a84"` [INFO] [stderr] Checking ethereum-rlp v0.2.3 [INFO] [stderr] Checking etcommon-bigint v0.2.10 [INFO] [stderr] Checking ethereum-bigint v0.2.9 [INFO] [stderr] Checking ethereum-trie v0.5.0 [INFO] [stderr] Checking ethereum-bloom v0.2.1 [INFO] [stderr] Checking ethereum-block-core v0.2.0 [INFO] [stderr] Checking ethereum-trie-memory v0.5.0 [INFO] [stderr] Checking ethereum-block v0.4.0 [INFO] [stderr] Checking evm v0.11.0 [INFO] [stderr] Checking evm-precompiled-bn128 v0.11.0 [INFO] [stderr] Checking evm-precompiled-modexp v0.11.0 [INFO] [stderr] Checking evm-network-foundation v0.11.0-beta.0 (/opt/crater/workdir) [INFO] [stderr] error[E0186]: method `initial_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | fn initial_nonce() -> U256 { U256::zero() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_create_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_create_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `empty_considered_exists` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | fn empty_considered_exists() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `empty_considered_exists` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | fn initial_nonce() -> U256 { U256::zero() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_create_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_create_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `empty_considered_exists` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | fn empty_considered_exists() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `empty_considered_exists` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | fn gas_extcode() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | fn gas_balance() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | fn gas_sload() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | fn gas_suicide() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | fn gas_suicide_new_account() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | fn gas_call() -> Gas { Gas::from(40usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | fn gas_transaction_create() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | fn force_code_deposit() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | fn has_delegate_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | fn err_on_call_with_more_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | fn call_create_l64_after_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | impl Patch for FrontierPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | fn gas_extcode() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | fn gas_balance() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | fn gas_sload() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | fn gas_suicide() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | fn gas_suicide_new_account() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | fn gas_call() -> Gas { Gas::from(40usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | fn err_on_call_with_more_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | fn call_create_l64_after_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:100:1 [INFO] [stderr] | [INFO] [stderr] 100 | impl Patch for HomesteadPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:130:1 [INFO] [stderr] | [INFO] [stderr] 130 | impl Patch for EIP150Patch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | fn code_deposit_limit() -> Option { Some(0x6000) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | fn gas_expbyte() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | impl Patch for SpuriousDragonPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | fn code_deposit_limit() -> Option { Some(0x6000) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | fn gas_expbyte() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 202 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:205:5 [INFO] [stderr] | [INFO] [stderr] 205 | fn has_static_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | fn has_revert() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | fn has_return_data() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:213:5 [INFO] [stderr] | [INFO] [stderr] 213 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:190:1 [INFO] [stderr] | [INFO] [stderr] 190 | impl Patch for ByzantiumPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | fn initial_nonce() -> U256 { U256::zero() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_create_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_create_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `empty_considered_exists` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | fn empty_considered_exists() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `empty_considered_exists` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | fn initial_nonce() -> U256 { U256::zero() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `initial_create_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `initial_create_nonce` from trait: `fn(&Self) -> bigint::uint::U256` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `empty_considered_exists` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | fn empty_considered_exists() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `empty_considered_exists` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | fn gas_extcode() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | fn gas_balance() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | fn gas_sload() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | fn gas_suicide() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | fn gas_suicide_new_account() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | fn gas_call() -> Gas { Gas::from(40usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | fn gas_transaction_create() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | fn force_code_deposit() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | fn has_delegate_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | fn err_on_call_with_more_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | fn call_create_l64_after_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | impl Patch for FrontierPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | fn gas_extcode() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | fn gas_balance() -> Gas { Gas::from(20usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | fn gas_sload() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | fn gas_suicide() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | fn gas_suicide_new_account() -> Gas { Gas::from(0usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | fn gas_call() -> Gas { Gas::from(40usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | fn err_on_call_with_more_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | fn call_create_l64_after_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:100:1 [INFO] [stderr] | [INFO] [stderr] 100 | impl Patch for HomesteadPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | fn code_deposit_limit() -> Option { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | fn gas_expbyte() -> Gas { Gas::from(10usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:130:1 [INFO] [stderr] | [INFO] [stderr] 130 | impl Patch for EIP150Patch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | fn code_deposit_limit() -> Option { Some(0x6000) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | fn gas_expbyte() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | fn has_static_call() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | fn has_revert() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | fn has_return_data() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | impl Patch for SpuriousDragonPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | fn code_deposit_limit() -> Option { Some(0x6000) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `code_deposit_limit` from trait: `fn(&Self) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `callstack_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | fn callstack_limit() -> usize { 1024 } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `callstack_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_extcode` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | fn gas_extcode() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_extcode` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_balance` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | fn gas_balance() -> Gas { Gas::from(400usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_balance` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_sload` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | fn gas_sload() -> Gas { Gas::from(200usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_sload` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | fn gas_suicide() -> Gas { Gas::from(5000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_suicide_new_account` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | fn gas_suicide_new_account() -> Gas { Gas::from(25000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_suicide_new_account` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | fn gas_call() -> Gas { Gas::from(700usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_call` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_expbyte` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | fn gas_expbyte() -> Gas { Gas::from(50usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_expbyte` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `gas_transaction_create` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 202 | fn gas_transaction_create() -> Gas { Gas::from(32000usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `gas_transaction_create` from trait: `fn(&Self) -> bigint::gas::Gas` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `force_code_deposit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | fn force_code_deposit() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `force_code_deposit` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_delegate_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | fn has_delegate_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_delegate_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_static_call` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:205:5 [INFO] [stderr] | [INFO] [stderr] 205 | fn has_static_call() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_static_call` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_revert` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | fn has_revert() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_revert` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_return_data` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | fn has_return_data() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_return_data` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_bitwise_shift` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | fn has_bitwise_shift() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_bitwise_shift` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_extcodehash` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | fn has_extcodehash() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_extcodehash` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `has_reduced_sstore_gas_metering` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | fn has_reduced_sstore_gas_metering() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `has_reduced_sstore_gas_metering` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `err_on_call_with_more_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | fn err_on_call_with_more_gas() -> bool { false } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `err_on_call_with_more_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `call_create_l64_after_gas` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | fn call_create_l64_after_gas() -> bool { true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `call_create_l64_after_gas` from trait: `fn(&Self) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `memory_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:213:5 [INFO] [stderr] | [INFO] [stderr] 213 | fn memory_limit() -> usize { usize::max_value() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `memory_limit` from trait: `fn(&Self) -> usize` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `precompileds` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | fn precompileds() -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] = note: `precompileds` from trait: `fn(&Self) -> &[(bigint::hash::H160, std::option::Option<&[u8]>, &dyn evm::Precompiled)]` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `account_patch`, `has_create2`, `is_precompiled_contract_enabled` [INFO] [stderr] --> src/lib.rs:190:1 [INFO] [stderr] | [INFO] [stderr] 190 | impl Patch for ByzantiumPatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `account_patch`, `has_create2`, `is_precompiled_contract_enabled` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `account_patch` from trait: `fn(&Self) -> &::Account` [INFO] [stderr] = note: `has_create2` from trait: `fn(&Self) -> bool` [INFO] [stderr] = note: `is_precompiled_contract_enabled` from trait: `fn(&Self, &bigint::hash::H160) -> bool` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^ expected struct `bigint::U256`, found struct `bigint::uint::U256` [INFO] [stderr] | | [INFO] [stderr] | expected `bigint::U256` because of return type [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::U256` [INFO] [stderr] found type `bigint::uint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:64:65 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^ expected struct `bigint::uint::U256`, found struct `bigint::U256` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::uint::U256` [INFO] [stderr] found type `bigint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:64:65 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^ expected struct `bigint::U256`, found struct `bigint::uint::U256` [INFO] [stderr] | | [INFO] [stderr] | expected `bigint::U256` because of return type [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::U256` [INFO] [stderr] found type `bigint::uint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bigint::U256`, found struct `bigint::uint::U256` [INFO] [stderr] | | [INFO] [stderr] | expected `bigint::U256` because of return type [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::U256` [INFO] [stderr] found type `bigint::uint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 126 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0061, E0186, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: Could not compile `evm-network-foundation`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:64:65 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^ expected struct `bigint::uint::U256`, found struct `bigint::U256` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::uint::U256` [INFO] [stderr] found type `bigint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:64:65 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bigint::U256`, found struct `bigint::uint::U256` [INFO] [stderr] | | [INFO] [stderr] | expected `bigint::U256` because of return type [INFO] [stderr] | [INFO] [stderr] = note: expected type `bigint::U256` [INFO] [stderr] found type `bigint::uint::U256` [INFO] [stderr] note: Perhaps two different versions of crate `bigint` are being used? [INFO] [stderr] --> src/lib.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | fn initial_create_nonce() -> U256 { Self::initial_nonce() + U256::from(1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 126 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0061, E0186, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: Could not compile `evm-network-foundation`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f24ba05ab3a546240537ae3732972064be675f4d470d9cb707c9714f0c726a84"` [INFO] running `"docker" "rm" "-f" "f24ba05ab3a546240537ae3732972064be675f4d470d9cb707c9714f0c726a84"` [INFO] [stdout] f24ba05ab3a546240537ae3732972064be675f4d470d9cb707c9714f0c726a84