[INFO] cloning repository https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-Wang-Foris%2Fsubstrate_advanced_lesson5_erc20_smart_contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-Wang-Foris%2Fsubstrate_advanced_lesson5_erc20_smart_contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfa61e5d848d85e2fe90d76515ea00daa2cbeee2 [INFO] testing Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-Wang-Foris%2Fsubstrate_advanced_lesson5_erc20_smart_contract" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 85% (1055/1233) Updating files: 86% (1061/1233) Updating files: 87% (1073/1233) Updating files: 88% (1086/1233) Updating files: 89% (1098/1233) Updating files: 90% (1110/1233) Updating files: 91% (1123/1233) Updating files: 92% (1135/1233) Updating files: 93% (1147/1233) Updating files: 94% (1160/1233) Updating files: 95% (1172/1233) Updating files: 96% (1184/1233) Updating files: 97% (1197/1233) Updating files: 98% (1209/1233) Updating files: 99% (1221/1233) Updating files: 100% (1233/1233) Updating files: 100% (1233/1233), done. [INFO] started tweaking git repo https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract [INFO] finished tweaking git repo https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract [INFO] tweaked toml for git repo https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Edward-Wang-Foris/substrate_advanced_lesson5_erc20_smart_contract 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.1 [INFO] [stderr] Downloaded sp-debug-derive v3.0.0 [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded scale-info v0.6.0 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded ink_primitives v3.0.0-rc5 [INFO] [stderr] Downloaded ink_prelude v3.0.0-rc5 [INFO] [stderr] Downloaded byte-slice-cast v1.1.0 [INFO] [stderr] Downloaded parity-scale-codec v2.3.0 [INFO] [stderr] Downloaded ink_lang_macro v3.0.0-rc5 [INFO] [stderr] Downloaded ink_lang v3.0.0-rc5 [INFO] [stderr] Downloaded ink_metadata v3.0.0-rc5 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded ink_allocator v3.0.0-rc5 [INFO] [stderr] Downloaded ink_storage_derive v3.0.0-rc5 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded sp-arithmetic v3.0.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.0.0-rc5 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded ink_lang_ir v3.0.0-rc5 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded ink_env v3.0.0-rc5 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded ink_storage v3.0.0-rc5 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.0 [INFO] [stderr] Downloaded scale-info-derive v0.4.0 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd4f23c282fad6a54fe9f211e8dfde61a90a054f4b553eaccf470b6cc6fc4fe [INFO] running `Command { std: "docker" "start" "-a" "bbd4f23c282fad6a54fe9f211e8dfde61a90a054f4b553eaccf470b6cc6fc4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd4f23c282fad6a54fe9f211e8dfde61a90a054f4b553eaccf470b6cc6fc4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd4f23c282fad6a54fe9f211e8dfde61a90a054f4b553eaccf470b6cc6fc4fe", kill_on_drop: false }` [INFO] [stdout] bbd4f23c282fad6a54fe9f211e8dfde61a90a054f4b553eaccf470b6cc6fc4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9629428e9f719726cf2d955b1bbd59cd2bc6c1df793d8d3fdf7323a6d5752535 [INFO] running `Command { std: "docker" "start" "-a" "9629428e9f719726cf2d955b1bbd59cd2bc6c1df793d8d3fdf7323a6d5752535", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling byte-slice-cast v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling ink_prelude v3.0.0-rc5 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ink_allocator v3.0.0-rc5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc5 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling scale-info-derive v0.4.0 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.0 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc5 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc5 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc5 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling scale-info v0.6.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling ink_metadata v3.0.0-rc5 [INFO] [stderr] Compiling ink_env v3.0.0-rc5 [INFO] [stderr] Compiling ink_storage v3.0.0-rc5 [INFO] [stderr] Compiling ink_lang v3.0.0-rc5 [INFO] [stderr] Compiling erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9629428e9f719726cf2d955b1bbd59cd2bc6c1df793d8d3fdf7323a6d5752535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9629428e9f719726cf2d955b1bbd59cd2bc6c1df793d8d3fdf7323a6d5752535", kill_on_drop: false }` [INFO] [stdout] 9629428e9f719726cf2d955b1bbd59cd2bc6c1df793d8d3fdf7323a6d5752535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3df240f6281f57fc3ad1aff4ddb1f9257c764200466fb1dd02491c0ee9677b0 [INFO] running `Command { std: "docker" "start" "-a" "c3df240f6281f57fc3ad1aff4ddb1f9257c764200466fb1dd02491c0ee9677b0", kill_on_drop: false }` [INFO] [stderr] Compiling erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Transfer { [INFO] [stdout] 22 | | #[ink(topic)] [INFO] [stdout] 23 | | from: Option, [INFO] [stdout] 24 | | to: Option, [INFO] [stdout] 25 | | value: Balance, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub struct Approval { [INFO] [stdout] 30 | | #[ink(topic)] [INFO] [stdout] 31 | | owner: AccountId, [INFO] [stdout] 32 | | #[ink(topic)] [INFO] [stdout] 33 | | spender: AccountId, [INFO] [stdout] 34 | | value: Balance, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c3df240f6281f57fc3ad1aff4ddb1f9257c764200466fb1dd02491c0ee9677b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3df240f6281f57fc3ad1aff4ddb1f9257c764200466fb1dd02491c0ee9677b0", kill_on_drop: false }` [INFO] [stdout] c3df240f6281f57fc3ad1aff4ddb1f9257c764200466fb1dd02491c0ee9677b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 004942d7b3619089c4caa07e5b2fed9edb6ebe6be8ebee05a996d9cda42b85df [INFO] running `Command { std: "docker" "start" "-a" "004942d7b3619089c4caa07e5b2fed9edb6ebe6be8ebee05a996d9cda42b85df", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[ink::contract] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `::scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[ink::contract] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `::scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `::scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `::scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / pub struct Transfer { [INFO] [stderr] 22 | | #[ink(topic)] [INFO] [stderr] 23 | | from: Option, [INFO] [stderr] 24 | | to: Option, [INFO] [stderr] 25 | | value: Balance, [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / pub struct Transfer { [INFO] [stderr] 22 | | #[ink(topic)] [INFO] [stderr] 23 | | from: Option, [INFO] [stderr] 24 | | to: Option, [INFO] [stderr] 25 | | value: Balance, [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | / pub struct Approval { [INFO] [stderr] 30 | | #[ink(topic)] [INFO] [stderr] 31 | | owner: AccountId, [INFO] [stderr] 32 | | #[ink(topic)] [INFO] [stderr] 33 | | spender: AccountId, [INFO] [stderr] 34 | | value: Balance, [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | / pub struct Approval { [INFO] [stderr] 30 | | #[ink(topic)] [INFO] [stderr] 31 | | owner: AccountId, [INFO] [stderr] 32 | | #[ink(topic)] [INFO] [stderr] 33 | | spender: AccountId, [INFO] [stderr] 34 | | value: Balance, [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> lib.rs:37:51 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / pub struct Transfer { [INFO] [stderr] 22 | | #[ink(topic)] [INFO] [stderr] 23 | | from: Option, [INFO] [stderr] 24 | | to: Option, [INFO] [stderr] 25 | | value: Balance, [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | / pub struct Approval { [INFO] [stderr] 30 | | #[ink(topic)] [INFO] [stderr] 31 | | owner: AccountId, [INFO] [stderr] 32 | | #[ink(topic)] [INFO] [stderr] 33 | | spender: AccountId, [INFO] [stderr] 34 | | value: Balance, [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: `erc20` (lib test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/erc20-bb575874a11d4ef2) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::total_supply_works ... ok [INFO] [stdout] test tests::transfer_from_failed_when_insufficient_approval ... ok [INFO] [stdout] test tests::transfer_failed_when_insufficient_balance ... ok [INFO] [stdout] test tests::allowance_works ... ok [INFO] [stdout] test tests::transfer_from_failed_when_insufficient_balance ... ok [INFO] [stdout] test tests::balance_works ... ok [INFO] [stdout] test tests::transfer_from_works ... ok [INFO] [stdout] test tests::transfer_works ... ok [INFO] [stdout] test tests::new_works ... ok [INFO] [stdout] test tests::approve_works ... ok [INFO] [stdout] test tests::inner_tranfer_works ... ok [INFO] [stdout] test tests::inner_tranfer_failed_when_insufficient_balance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "004942d7b3619089c4caa07e5b2fed9edb6ebe6be8ebee05a996d9cda42b85df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "004942d7b3619089c4caa07e5b2fed9edb6ebe6be8ebee05a996d9cda42b85df", kill_on_drop: false }` [INFO] [stdout] 004942d7b3619089c4caa07e5b2fed9edb6ebe6be8ebee05a996d9cda42b85df