[INFO] cloning repository https://github.com/hongda3141/substrate_advance_lesson5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hongda3141/substrate_advance_lesson5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7824952950a836c2721b39ba14a39165bd1d259c [INFO] checking hongda3141/substrate_advance_lesson5 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hongda3141/substrate_advance_lesson5 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5 [INFO] finished tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5 [INFO] tweaked toml for git repo https://github.com/hongda3141/substrate_advance_lesson5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hongda3141/substrate_advance_lesson5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scale-info-derive v0.2.1 [INFO] [stderr] Downloaded ink_prelude v3.0.0-rc8 [INFO] [stderr] Downloaded ink_primitives v3.0.0-rc8 [INFO] [stderr] Downloaded ink_storage_derive v3.0.0-rc8 [INFO] [stderr] Downloaded ink_storage v3.0.0-rc8 [INFO] [stderr] Downloaded parity-scale-codec v1.3.7 [INFO] [stderr] Downloaded ink_lang_macro v3.0.0-rc8 [INFO] [stderr] Downloaded ink_eth_compatibility v3.0.0-rc8 [INFO] [stderr] Downloaded ink_lang v3.0.0-rc8 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded ink_lang_codegen v3.0.0-rc8 [INFO] [stderr] Downloaded ink_lang_ir v3.0.0-rc8 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded secp256k1 v0.21.2 [INFO] [stderr] Downloaded ink_env v3.0.0-rc8 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded ink_metadata v3.0.0-rc8 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded blake2 v0.10.2 [INFO] [stderr] Downloaded ink_allocator v3.0.0-rc8 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.3 [INFO] [stderr] Downloaded scale-info v0.4.1 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7827d5e5f4f68512efbe58b50d1d099cdb75aa1fa1ccd58adc835c627c4d5650 [INFO] running `Command { std: "docker" "start" "-a" "7827d5e5f4f68512efbe58b50d1d099cdb75aa1fa1ccd58adc835c627c4d5650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7827d5e5f4f68512efbe58b50d1d099cdb75aa1fa1ccd58adc835c627c4d5650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7827d5e5f4f68512efbe58b50d1d099cdb75aa1fa1ccd58adc835c627c4d5650", kill_on_drop: false }` [INFO] [stdout] 7827d5e5f4f68512efbe58b50d1d099cdb75aa1fa1ccd58adc835c627c4d5650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5c97d51320c8decb574ce11dbc6ba12fe0c53f964ab4f6880b0dcd6c2307b6a [INFO] running `Command { std: "docker" "start" "-a" "b5c97d51320c8decb574ce11dbc6ba12fe0c53f964ab4f6880b0dcd6c2307b6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byte-slice-cast v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ink_prelude v3.0.0-rc8 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling blake2 v0.10.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking sha3 v0.10.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking sha2 v0.10.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking crunchy v0.2.2 [INFO] [stderr] Checking ink_allocator v3.0.0-rc8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking secp256k1 v0.21.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc8 [INFO] [stderr] Compiling scale-info-derive v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling scale-info-derive v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.3 [INFO] [stderr] Checking parity-scale-codec v1.3.7 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking scale-info v1.0.0 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc8 [INFO] [stderr] Checking ink_primitives v3.0.0-rc8 [INFO] [stderr] Checking ink_metadata v3.0.0-rc8 [INFO] [stderr] Checking ink_env v3.0.0-rc8 [INFO] [stderr] Checking ink_eth_compatibility v3.0.0-rc8 [INFO] [stderr] Checking ink_storage v3.0.0-rc8 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc8 [INFO] [stderr] Checking scale-info v0.4.1 [INFO] [stderr] Checking ink_lang v3.0.0-rc8 [INFO] [stderr] Checking erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `DecodeDispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch` [INFO] [stdout] = note: `DecodeDispatch` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `DecodeDispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch` [INFO] [stdout] = note: `DecodeDispatch` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0276]: impl has stricter requirements than trait [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ impl has extra requirement `I: Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0276]: impl has stricter requirements than trait [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ impl has extra requirement `I: Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `::Type: DecodeDispatch` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] = note: required for `::Type` to implement `DecodeDispatch` [INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractConstructorDecoder::Type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:509:16 [INFO] [stdout] | [INFO] [stdout] 509 | type Type: DecodeDispatch + ExecuteDispatchable; [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `ContractConstructorDecoder::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `::Type: DecodeDispatch` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] = note: required for `::Type` to implement `DecodeDispatch` [INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractConstructorDecoder::Type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:509:16 [INFO] [stdout] | [INFO] [stdout] 509 | type Type: DecodeDispatch + ExecuteDispatchable; [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `ContractConstructorDecoder::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `DecodeDispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch` [INFO] [stdout] = note: `DecodeDispatch` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `DecodeDispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch` [INFO] [stdout] = note: `DecodeDispatch` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractMessageDecoder::Type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | type Type: scale::Decode + ExecuteDispatchable; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `ContractMessageDecoder::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractMessageDecoder::Type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | type Type: scale::Decode + ExecuteDispatchable; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `ContractMessageDecoder::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:68:80 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:68:80 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:110:91 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:110:91 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `DispatchOutput` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DispatchOutput(T) [INFO] [stdout] | -------------- required by a bound in this struct [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: scale::Encode + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DispatchOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Encode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::call::utils::ArgumentList, Rest> [INFO] [stdout] ink_env::call::utils::ArgumentList [INFO] [stdout] ink_env::call::utils::Argument [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] and 100 others [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Encode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::call::utils::ArgumentList, Rest> [INFO] [stdout] ink_env::call::utils::ArgumentList [INFO] [stdout] ink_env::call::utils::Argument [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] and 100 others [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Erc20Ref: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Erc20 { [INFO] [stdout] | ^^^^^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `Erc20Ref`, which is required by `Erc20Ref: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `Erc20Ref` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Erc20Ref: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Erc20 { [INFO] [stdout] | ^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `Erc20Ref`, which is required by `Erc20Ref: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `Erc20Ref` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Encode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::call::utils::ArgumentList, Rest> [INFO] [stdout] ink_env::call::utils::ArgumentList [INFO] [stdout] ink_env::call::utils::Argument [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] and 100 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Erc20Ref: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Erc20 { [INFO] [stdout] | ^^^^^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `Erc20Ref`, which is required by `Erc20Ref: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `Erc20Ref` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Decode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::test::ContractTerminationResult [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_primitives::Key [INFO] [stdout] scale_info::interner::UntrackedSymbol [INFO] [stdout] and 93 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Erc20Ref: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Erc20 { [INFO] [stdout] | ^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `Erc20Ref`, which is required by `Erc20Ref: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `Erc20Ref` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `PackedLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout` [INFO] [stdout] = note: `PackedLayout` is a "sealed trait", because to implement it you also need to implement `parity_scale_codec::codec::Encode`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] ink_env::call::utils::ArgumentList, Rest> [INFO] [stdout] ink_env::call::utils::ArgumentList [INFO] [stdout] ink_env::call::utils::Argument [INFO] [stdout] ink_env::Hash [INFO] [stdout] ink_env::AccountId [INFO] [stdout] ink_env::test::CallData [INFO] [stdout] ink_env::engine::off_chain::chain_extension::ExtensionId [INFO] [stdout] ink_env::call::Selector [INFO] [stdout] and 100 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_EventBase: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `__ink_EventBase`, which is required by `__ink_EventBase: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `__ink_EventBase` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `ink_env::emit_event` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_env-3.0.0-rc8/src/api.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn emit_event(event: Event) [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 177 | Event: Topics + scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `emit_event` [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_EventBase: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `__ink_EventBase`, which is required by `__ink_EventBase: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `__ink_EventBase` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `ink_env::emit_event` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_env-3.0.0-rc8/src/api.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn emit_event(event: Event) [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 177 | Event: Topics + scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `emit_event` [INFO] [stdout] = note: this error originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: Encode` is not satisfied [INFO] [stdout] --> lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / pub struct Transfer { [INFO] [stdout] 20 | | #[ink(topic)] [INFO] [stdout] 21 | | from: AccountId, [INFO] [stdout] | | --------------- required by a bound introduced by this call [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | to: AccountId, [INFO] [stdout] 24 | | value: Balance [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ the trait `WrapperTypeEncode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 335 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `Encode` [INFO] [stdout] note: required by a bound in `push` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity-scale-codec-1.3.7/src/codec.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | fn push(&mut self, value: &V) { [INFO] [stdout] | ^^^^^^ required by this bound in `Output::push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: Encode` is not satisfied [INFO] [stdout] --> lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / pub struct Transfer { [INFO] [stdout] 20 | | #[ink(topic)] [INFO] [stdout] 21 | | from: AccountId, [INFO] [stdout] | | --------------- required by a bound introduced by this call [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | to: AccountId, [INFO] [stdout] 24 | | value: Balance [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ the trait `WrapperTypeEncode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 335 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `Encode` [INFO] [stdout] note: required by a bound in `push` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/parity-scale-codec-1.3.7/src/codec.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | fn push(&mut self, value: &V) { [INFO] [stdout] | ^^^^^^ required by this bound in `Output::push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | from: AccountId, [INFO] [stdout] | ^^^^^^^^^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | from: AccountId, [INFO] [stdout] | ^^^^^^^^^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | to: AccountId, [INFO] [stdout] | ^^^^^^^^^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | to: AccountId, [INFO] [stdout] | ^^^^^^^^^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I: parity_scale_codec::codec::Input` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::Input` is not implemented for `I` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:654:27 [INFO] [stdout] | [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 16 | } + parity_scale_codec::codec::Input [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I: parity_scale_codec::codec::Input` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::Input` is not implemented for `I` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:654:27 [INFO] [stdout] | [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 16 | } + parity_scale_codec::codec::Input [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::_parity_scale_codec::Error: From` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `From` is not implemented for `erc20::_::_parity_scale_codec::Error`, which is required by `DispatchError: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `DispatchError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::_parity_scale_codec::Error: From` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `From` is not implemented for `erc20::_::_parity_scale_codec::Error`, which is required by `DispatchError: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `DispatchError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / /// 查询账户余额 [INFO] [stdout] 61 | | #[ink(message)] [INFO] [stdout] 62 | | pub fn balance_of(&self, owner: AccountId) -> Balance { [INFO] [stdout] 63 | | *self.balances.get(&owner).unwrap_or(&0) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / /// 查询账户余额 [INFO] [stdout] 61 | | #[ink(message)] [INFO] [stdout] 62 | | pub fn balance_of(&self, owner: AccountId) -> Balance { [INFO] [stdout] 63 | | *self.balances.get(&owner).unwrap_or(&0) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, ink_env::AccountId): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / /// 操作账户 额度 [INFO] [stdout] 77 | | #[ink(message)] [INFO] [stdout] 78 | | pub fn allowance_of(&self, owner: AccountId, spender: AccountId) -> Balance { [INFO] [stdout] 79 | | *self.allowance.get(&(owner, spender)).unwrap_or( &0) [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, ink_env::AccountId)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, ink_env::AccountId): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / /// 操作账户 额度 [INFO] [stdout] 77 | | #[ink(message)] [INFO] [stdout] 78 | | pub fn allowance_of(&self, owner: AccountId, spender: AccountId) -> Balance { [INFO] [stdout] 79 | | *self.allowance.get(&(owner, spender)).unwrap_or( &0) [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, ink_env::AccountId)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(ink_env::AccountId, ink_env::AccountId, u128): erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ the trait `erc20::_::_parity_scale_codec::Decode` is not implemented for `(ink_env::AccountId, ink_env::AccountId, u128)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_dispatch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | pub trait DecodeDispatch: scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `DecodeDispatch::decode_dispatch` [INFO] [stdout] 654 | fn decode_dispatch(input: &mut I) -> Result; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `finalize_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_lang-3.0.0-rc8/src/codegen/dispatch/execution.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn finalize_message( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 354 | R: scale::Encode + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `finalize_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_ConstructorDecoder`, which is required by `__ink_ConstructorDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_ConstructorDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_env-3.0.0-rc8/src/api.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn decode_input() -> Result [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 365 | where [INFO] [stdout] 366 | T: scale::Decode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `decode_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ink_env::AccountId: Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `WrapperTypeEncode` is not implemented for `&ink_env::AccountId`, which is required by `&ink_env::AccountId: Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 335 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `Encode` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&ink_env::AccountId` to implement `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__ink_MessageDecoder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `__ink_MessageDecoder`, which is required by `__ink_MessageDecoder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `__ink_MessageDecoder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `decode_input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_env-3.0.0-rc8/src/api.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn decode_input() -> Result [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 365 | where [INFO] [stdout] 366 | T: scale::Decode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `decode_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ink_env::AccountId: Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `WrapperTypeEncode` is not implemented for `&ink_env::AccountId`, which is required by `&ink_env::AccountId: Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 335 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `Encode` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&ink_env::AccountId` to implement `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `TypeInfo` is not implemented for `ink_env::AccountId` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 72 others [INFO] [stdout] note: required by a bound in `FieldsBuilder::::field_of` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/scale-info-0.4.1/src/build.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn field_of(mut self, name: &'static str) -> Self [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 241 | where [INFO] [stdout] 242 | T: TypeInfo + ?Sized + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `FieldsBuilder::::field_of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `pull_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::pull_packed` [INFO] [stdout] ... [INFO] [stdout] 42 | fn pull_packed(&mut self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `erc20::_::_parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `ink_env::AccountId`, which is required by `ink_env::AccountId: erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `erc20::_::_parity_scale_codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 336 others [INFO] [stdout] = note: required for `ink_env::AccountId` to implement `erc20::_::_parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `pull_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::pull_packed` [INFO] [stdout] ... [INFO] [stdout] 42 | fn pull_packed(&mut self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ink_env::AccountId: TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `TypeInfo` is not implemented for `ink_env::AccountId` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 72 others [INFO] [stdout] note: required by a bound in `FieldsBuilder::::field_of` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/scale-info-0.4.1/src/build.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn field_of(mut self, name: &'static str) -> Self [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 241 | where [INFO] [stdout] 242 | T: TypeInfo + ?Sized + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `FieldsBuilder::::field_of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `push_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::push_packed` [INFO] [stdout] ... [INFO] [stdout] 51 | fn push_packed(&self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `push_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::push_packed` [INFO] [stdout] ... [INFO] [stdout] 51 | fn push_packed(&self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `clear_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::clear_packed` [INFO] [stdout] ... [INFO] [stdout] 60 | fn clear_packed(&self, at: &Key); [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `clear_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::clear_packed` [INFO] [stdout] ... [INFO] [stdout] 60 | fn clear_packed(&self, at: &Key); [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `pull_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::pull_packed` [INFO] [stdout] ... [INFO] [stdout] 42 | fn pull_packed(&mut self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `pull_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::pull_packed` [INFO] [stdout] ... [INFO] [stdout] 42 | fn pull_packed(&mut self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `push_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::push_packed` [INFO] [stdout] ... [INFO] [stdout] 51 | fn push_packed(&self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `push_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::push_packed` [INFO] [stdout] ... [INFO] [stdout] 51 | fn push_packed(&self, at: &Key); [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeEncode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Encode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Encode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 95 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Encode` [INFO] [stdout] note: required by a bound in `clear_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::clear_packed` [INFO] [stdout] ... [INFO] [stdout] 60 | fn clear_packed(&self, at: &Key); [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` is not satisfied [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct Erc20 { [INFO] [stdout] 12 | | /// Stores a single `bool` value on the storage. [INFO] [stdout] 13 | | total_supply: Balance, [INFO] [stdout] 14 | | balances: StorageHashMap, [INFO] [stdout] 15 | | allowance: StorageHashMap<(AccountId, AccountId), Balance>, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::CallBuilder`, which is required by `erc20::_::CallBuilder: parity_scale_codec::codec::Decode` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parity_scale_codec::codec::Decode`: [INFO] [stdout] () [INFO] [stdout] (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `erc20::_::CallBuilder` to implement `parity_scale_codec::codec::Decode` [INFO] [stdout] note: required by a bound in `clear_packed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc8/src/traits/packed.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait PackedLayout: SpreadLayout + scale::Encode + scale::Decode { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PackedLayout::clear_packed` [INFO] [stdout] ... [INFO] [stdout] 60 | fn clear_packed(&self, at: &Key); [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `::ink_storage::traits::PackedLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-e48ae239288ba6b3.long-type-14722526813660500313.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-e48ae239288ba6b3.long-type-14722526813660500313.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-e48ae239288ba6b3.long-type-9871868353808061756.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// 设置spender 账户可以转账的额度 value [INFO] [stdout] 67 | | #[ink(message)] [INFO] [stdout] 68 | | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 69 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | Ok(()) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-9ad4a5aa1e139fbb.long-type-11673227845417141819.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// 转账 [INFO] [stdout] 83 | | #[ink(message)] [INFO] [stdout] 84 | | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 85 | | let who = self.env().caller(); [INFO] [stdout] 86 | | self.transfer_help(who, to, value) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-9ad4a5aa1e139fbb.long-type-11673227845417141819.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:68:80 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fire` exists for struct `CallBuilder, Unset, Unset, Set>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// 操作 from 账户转账 [INFO] [stdout] 109 | | #[ink(message)] [INFO] [stdout] 110 | | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] 111 | | let sender = self.env().caller(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | self.transfer_help(from, to, value) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/erc20-9ad4a5aa1e139fbb.long-type-530627264585009237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:110:91 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:68:80 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `erc20::Error: scale_info::TypeInfo` is not satisfied [INFO] [stdout] --> lib.rs:110:91 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ the trait `scale_info::TypeInfo` is not implemented for `erc20::Error`, which is required by `std::result::Result<(), erc20::Error>: scale_info::TypeInfo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `scale_info::TypeInfo`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] and 65 others [INFO] [stdout] = note: required for `std::result::Result<(), erc20::Error>` to implement `scale_info::TypeInfo` [INFO] [stdout] note: required by a bound in `TypeSpec::with_name_segs` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_metadata-3.0.0-rc8/src/specs.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn with_name_segs(segments: S) -> Self [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 846 | where [INFO] [stdout] 847 | T: TypeInfo + 'static, [INFO] [stdout] | ^^^^^^^^ required by this bound in `TypeSpec::with_name_segs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0276, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0276`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0276, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0276`. [INFO] [stdout] [INFO] [stderr] error: could not compile `erc20` (lib test) due to 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `erc20` (lib) due to 46 previous errors [INFO] running `Command { std: "docker" "inspect" "b5c97d51320c8decb574ce11dbc6ba12fe0c53f964ab4f6880b0dcd6c2307b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c97d51320c8decb574ce11dbc6ba12fe0c53f964ab4f6880b0dcd6c2307b6a", kill_on_drop: false }` [INFO] [stdout] b5c97d51320c8decb574ce11dbc6ba12fe0c53f964ab4f6880b0dcd6c2307b6a [INFO] checking hongda3141/substrate_advance_lesson5 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hongda3141/substrate_advance_lesson5 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5 [INFO] finished tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5 [INFO] tweaked toml for git repo https://github.com/hongda3141/substrate_advance_lesson5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hongda3141/substrate_advance_lesson5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 404305e2fd8fb1c1c4d40d8d24e3909f4a0c00039fe8f133f863752cc5b7fb30 [INFO] running `Command { std: "docker" "start" "-a" "404305e2fd8fb1c1c4d40d8d24e3909f4a0c00039fe8f133f863752cc5b7fb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "404305e2fd8fb1c1c4d40d8d24e3909f4a0c00039fe8f133f863752cc5b7fb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404305e2fd8fb1c1c4d40d8d24e3909f4a0c00039fe8f133f863752cc5b7fb30", kill_on_drop: false }` [INFO] [stdout] 404305e2fd8fb1c1c4d40d8d24e3909f4a0c00039fe8f133f863752cc5b7fb30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d84eff7ad4e99ce924f0fb7a0cba4560a2545baefbfc425d030f6b17be0b8488 [INFO] running `Command { std: "docker" "start" "-a" "d84eff7ad4e99ce924f0fb7a0cba4560a2545baefbfc425d030f6b17be0b8488", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d84eff7ad4e99ce924f0fb7a0cba4560a2545baefbfc425d030f6b17be0b8488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84eff7ad4e99ce924f0fb7a0cba4560a2545baefbfc425d030f6b17be0b8488", kill_on_drop: false }` [INFO] [stdout] d84eff7ad4e99ce924f0fb7a0cba4560a2545baefbfc425d030f6b17be0b8488