[INFO] crate evm-network-classic 0.11.0-beta.0 is already in cache [INFO] extracting crate evm-network-classic 0.11.0-beta.0 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-classic/0.11.0-beta.0 [INFO] extracting crate evm-network-classic 0.11.0-beta.0 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-classic/0.11.0-beta.0 [INFO] validating manifest of evm-network-classic-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-classic-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-classic-0.11.0-beta.0 [INFO] finished frobbing evm-network-classic-0.11.0-beta.0 [INFO] frobbed toml for evm-network-classic-0.11.0-beta.0 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-classic/0.11.0-beta.0/Cargo.toml [INFO] started frobbing evm-network-classic-0.11.0-beta.0 [INFO] finished frobbing evm-network-classic-0.11.0-beta.0 [INFO] frobbed toml for evm-network-classic-0.11.0-beta.0 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-classic/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-classic-0.11.0-beta.0 against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-5/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-classic/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" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] db9bead6ba34aa5974158991dd01887b9c7819696922930b0049056f625827ed [INFO] running `"docker" "start" "-a" "db9bead6ba34aa5974158991dd01887b9c7819696922930b0049056f625827ed"` [INFO] [stderr] Checking evm-network-classic 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:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | 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:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | 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:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | 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:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn initial_nonce() -> U256 { U256::from(1048576) } [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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | 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:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | 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 `code_deposit_limit` 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 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:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | 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:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | 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:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | 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:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | 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:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | 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:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | 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:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | 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:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | 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:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | 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:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | 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:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | 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:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | 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:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | 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:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | 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:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | 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:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | 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:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | 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:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | 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:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | 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:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | 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:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | 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:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | 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:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | 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:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | 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:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | 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:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | 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:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | 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:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | 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:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | 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:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | 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:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | 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:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | 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:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | 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:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | 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:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | 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:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | 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:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | 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:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | 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:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | 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:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | 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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | 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:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | 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:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | 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:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | 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:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | 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:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | 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:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | 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:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | 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:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | 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:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | 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:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | 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:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | 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:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | 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:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | 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:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | 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:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | 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:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | 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:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | 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:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | 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:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | 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:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | 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:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | 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:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | 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:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | 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:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | 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:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | 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:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | 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:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | 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:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | 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:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | 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:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | 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:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | 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:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | 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:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | 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:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | 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:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | 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:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | 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:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | 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:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | 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:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | 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:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | 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:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | 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:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | 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:192:5 [INFO] [stderr] | [INFO] [stderr] 192 | 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:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | 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:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | 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:170:1 [INFO] [stderr] | [INFO] [stderr] 170 | impl Patch for EIP160Patch { [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:205:5 [INFO] [stderr] | [INFO] [stderr] 205 | 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:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | 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:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | 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:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | 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:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | 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:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | 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:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | 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:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | 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:213:5 [INFO] [stderr] | [INFO] [stderr] 213 | 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:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | 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:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | 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:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | 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:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | 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:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | 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:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | 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:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | 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:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | 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:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | 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:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | 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:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | 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:225:5 [INFO] [stderr] | [INFO] [stderr] 225 | 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:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | 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:202:1 [INFO] [stderr] | [INFO] [stderr] 202 | 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[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | 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:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | 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:240:5 [INFO] [stderr] | [INFO] [stderr] 240 | 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:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | 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:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | 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:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | 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:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | 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:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | 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:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | 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:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | 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:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | 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:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | 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:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | 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:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | 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:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | 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:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | fn has_bitwise_shift() -> bool { true } [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:254:5 [INFO] [stderr] | [INFO] [stderr] 254 | fn has_extcodehash() -> bool { true } [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:255:5 [INFO] [stderr] | [INFO] [stderr] 255 | fn has_reduced_sstore_gas_metering() -> bool { true } [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:256:5 [INFO] [stderr] | [INFO] [stderr] 256 | 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:257:5 [INFO] [stderr] | [INFO] [stderr] 257 | 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:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | 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:259:5 [INFO] [stderr] | [INFO] [stderr] 259 | 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:235:1 [INFO] [stderr] | [INFO] [stderr] 235 | impl Patch for ConstantinoplePatch { [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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 148 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-classic`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0186]: method `initial_nonce` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | 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:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | 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:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | 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:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn initial_nonce() -> U256 { U256::from(1048576) } [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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | 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:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | 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 `code_deposit_limit` 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 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:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | 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:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | 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:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | 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:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | 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:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | 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:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | 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:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | 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:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | 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:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | 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:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | 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:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | 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:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | 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:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | 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:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | 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:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | 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:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | 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:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | 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:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | 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:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | 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:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | 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:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | 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:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | 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:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | 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:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | 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:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | 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:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | 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:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | 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:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | 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:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | 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:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | 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:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | 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:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | 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:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | 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:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | 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:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | 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:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | 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:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | 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:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | 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:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | 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:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | 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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | 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:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | 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:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | 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:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | 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:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | 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:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | 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:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | 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:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | 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:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | 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:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | 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:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | 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:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | 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:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | 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:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | 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:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | 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:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | 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:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | 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:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | 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:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | 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:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | 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:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | 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:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | 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:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | 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:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | 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:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | 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:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | 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:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | 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:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | 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:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | 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:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | 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:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | 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:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | 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:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | 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:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | 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:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | 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:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | 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:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | 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:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | 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:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | 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:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | 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:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | 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:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | 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:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | 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:192:5 [INFO] [stderr] | [INFO] [stderr] 192 | 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:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | 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:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | 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:170:1 [INFO] [stderr] | [INFO] [stderr] 170 | impl Patch for EIP160Patch { [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:205:5 [INFO] [stderr] | [INFO] [stderr] 205 | 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:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | 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:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | 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:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | 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:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | 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:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | 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:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | 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:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | 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:213:5 [INFO] [stderr] | [INFO] [stderr] 213 | 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:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | 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:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | 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:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | 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:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | 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:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | 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:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | 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:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | 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:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | 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:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | 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:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | 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:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | 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:225:5 [INFO] [stderr] | [INFO] [stderr] 225 | 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:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | 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:202:1 [INFO] [stderr] | [INFO] [stderr] 202 | 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[E0186]: method `code_deposit_limit` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/lib.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | 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:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | 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:240:5 [INFO] [stderr] | [INFO] [stderr] 240 | 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:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | 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:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | 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:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | 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:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | 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:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | 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:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | 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:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | 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:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | 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:249:5 [INFO] [stderr] | [INFO] [stderr] 249 | 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:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | 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:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | 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:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | 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:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | fn has_bitwise_shift() -> bool { true } [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:254:5 [INFO] [stderr] | [INFO] [stderr] 254 | fn has_extcodehash() -> bool { true } [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:255:5 [INFO] [stderr] | [INFO] [stderr] 255 | fn has_reduced_sstore_gas_metering() -> bool { true } [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:256:5 [INFO] [stderr] | [INFO] [stderr] 256 | 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:257:5 [INFO] [stderr] | [INFO] [stderr] 257 | 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:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | 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:259:5 [INFO] [stderr] | [INFO] [stderr] 259 | 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:235:1 [INFO] [stderr] | [INFO] [stderr] 235 | impl Patch for ConstantinoplePatch { [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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 148 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-classic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "db9bead6ba34aa5974158991dd01887b9c7819696922930b0049056f625827ed"` [INFO] running `"docker" "rm" "-f" "db9bead6ba34aa5974158991dd01887b9c7819696922930b0049056f625827ed"` [INFO] [stdout] db9bead6ba34aa5974158991dd01887b9c7819696922930b0049056f625827ed