[INFO] crate evm-network-musicoin 0.11.0-beta.0 is already in cache [INFO] extracting crate evm-network-musicoin 0.11.0-beta.0 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-musicoin/0.11.0-beta.0 [INFO] extracting crate evm-network-musicoin 0.11.0-beta.0 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-musicoin/0.11.0-beta.0 [INFO] validating manifest of evm-network-musicoin-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-musicoin-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-musicoin-0.11.0-beta.0 [INFO] finished frobbing evm-network-musicoin-0.11.0-beta.0 [INFO] frobbed toml for evm-network-musicoin-0.11.0-beta.0 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-musicoin/0.11.0-beta.0/Cargo.toml [INFO] started frobbing evm-network-musicoin-0.11.0-beta.0 [INFO] finished frobbing evm-network-musicoin-0.11.0-beta.0 [INFO] frobbed toml for evm-network-musicoin-0.11.0-beta.0 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/evm-network-musicoin/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-musicoin-0.11.0-beta.0 against master#39401465da4ce27aeeb2c2a26133ac35c63aa515 for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-0/master#39401465da4ce27aeeb2c2a26133ac35c63aa515:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/evm-network-musicoin/0.11.0-beta.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 979c9d6083c004a49529b7c0dc56b5886402a652ca83efb286f11149e78c76d9 [INFO] running `"docker" "start" "-a" "979c9d6083c004a49529b7c0dc56b5886402a652ca83efb286f11149e78c76d9"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Checking ethereum-hexutil v0.2.3 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking etcommon-bigint v0.2.10 [INFO] [stderr] Checking ethereum-rlp v0.2.3 [INFO] [stderr] Checking ethereum-bigint v0.2.9 [INFO] [stderr] Checking ethereum-trie v0.5.0 [INFO] [stderr] Checking ethereum-bloom v0.2.1 [INFO] [stderr] Checking ethereum-block-core v0.2.0 [INFO] [stderr] Checking ethereum-trie-memory v0.5.0 [INFO] [stderr] Checking ethereum-block v0.4.0 [INFO] [stderr] Checking evm v0.11.0 [INFO] [stderr] Checking evm-precompiled-modexp v0.11.0 [INFO] [stderr] Checking evm-precompiled-bn128 v0.11.0 [INFO] [stderr] Checking evm-network-musicoin 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:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | 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:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | 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:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | 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:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | 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:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | 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:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | 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:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | 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:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | 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:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | 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:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | 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:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | 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:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | 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:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | 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:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | 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:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | 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:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | 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:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | 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:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | 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:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | 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:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | 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:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | 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:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | 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:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | 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:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | 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:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | 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:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | 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:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | 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:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | 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:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | 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:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | 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:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | 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:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | 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:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | 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:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | 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:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | 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:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | 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:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | 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:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | 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:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | 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:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | 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:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | 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:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | 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:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | 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:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | 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:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | 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[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | 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:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | 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:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 51 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-musicoin`. [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:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | 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:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | 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:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | 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:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | 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:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | 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:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | 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:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | 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:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | 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:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | 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:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | 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:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | 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:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | 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:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | 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:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | 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:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | 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:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | 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:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | 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:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | 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:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | 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:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | 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:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | 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:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | 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:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | 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:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | 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:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | 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:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | 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:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | 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:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | 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:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | 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:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | 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:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | 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:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | 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:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | 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:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | 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:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | 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:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | 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:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | 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:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | 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:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | 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:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | 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:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | 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:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | 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:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | 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:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | 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:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | 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[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/lib.rs:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | 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:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | 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:13:41 [INFO] [stderr] | [INFO] [stderr] 13 | fn initial_create_nonce() -> U256 { Self::initial_nonce() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 51 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-musicoin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "979c9d6083c004a49529b7c0dc56b5886402a652ca83efb286f11149e78c76d9"` [INFO] running `"docker" "rm" "-f" "979c9d6083c004a49529b7c0dc56b5886402a652ca83efb286f11149e78c76d9"` [INFO] [stdout] 979c9d6083c004a49529b7c0dc56b5886402a652ca83efb286f11149e78c76d9