[INFO] fetching crate trait_erc20 3.0.0... [INFO] testing trait_erc20-3.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate trait_erc20 3.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate trait_erc20 3.0.0 [INFO] finished tweaking crates.io crate trait_erc20 3.0.0 [INFO] tweaked toml for crates.io crate trait_erc20 3.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trait_erc20 3.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding ink_env v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_metadata v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_primitives v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_storage v3.4.0 (available: v5.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.5 [INFO] [stderr] Downloaded ink_env v3.4.0 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded scale-info-derive v2.11.6 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded keccak v0.1.5 [INFO] [stderr] Downloaded ink_prelude v3.4.0 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded toml_edit v0.23.6 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.3 [INFO] [stderr] Downloaded impl-serde v0.3.2 [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] [stderr] Downloaded arrayref v0.3.9 [INFO] [stderr] Downloaded scale-info v2.11.6 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded ink_metadata v3.4.0 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded parity-scale-codec v3.7.5 [INFO] [stderr] Downloaded sha3 v0.10.8 [INFO] [stderr] Downloaded ink_engine v3.4.0 [INFO] [stderr] Downloaded secp256k1-sys v0.6.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 453c554e46dc71dcbe6e54cefd9afb81dbd3d712a0704e8bc0a6ee1b0c6b72f0 [INFO] running `Command { std: "docker" "start" "-a" "453c554e46dc71dcbe6e54cefd9afb81dbd3d712a0704e8bc0a6ee1b0c6b72f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "453c554e46dc71dcbe6e54cefd9afb81dbd3d712a0704e8bc0a6ee1b0c6b72f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453c554e46dc71dcbe6e54cefd9afb81dbd3d712a0704e8bc0a6ee1b0c6b72f0", kill_on_drop: false }` [INFO] [stdout] 453c554e46dc71dcbe6e54cefd9afb81dbd3d712a0704e8bc0a6ee1b0c6b72f0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ee5caf80b20e74c314a846e22f712a77773eeb0e3e187a8248a85fd1894e35 [INFO] running `Command { std: "docker" "start" "-a" "06ee5caf80b20e74c314a846e22f712a77773eeb0e3e187a8248a85fd1894e35", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling ink_prelude v3.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ink_allocator v3.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Compiling ink_engine v3.4.0 [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Compiling ink_metadata v3.4.0 [INFO] [stderr] Compiling ink_env v3.4.0 [INFO] [stderr] Compiling ink_storage v3.4.0 [INFO] [stderr] Compiling ink_lang v3.4.0 [INFO] [stderr] Compiling trait_erc20 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// A simple ERC-20 contract. [INFO] [stdout] 61 | | #[ink(storage)] [INFO] [stdout] 62 | | #[derive(SpreadAllocate)] [INFO] [stdout] 63 | | pub struct Erc20 { [INFO] [stdout] ... | [INFO] [stdout] 70 | | allowances: Mapping<(AccountId, AccountId), Balance>, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[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 attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ink::contract` may come from an old version of the `ink_lang_macro` crate, try updating your dependency with `cargo update -p ink_lang_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / /// Creates a new ERC-20 contract with the specified initial supply. [INFO] [stdout] 98 | | #[ink(constructor)] [INFO] [stdout] 99 | | pub fn new(initial_supply: Balance) -> Self { [INFO] [stdout] 100 | | ink_lang::utils::initialize_contract(|contract| { [INFO] [stdout] 101 | | Self::new_init(contract, initial_supply) [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.35s [INFO] running `Command { std: "docker" "inspect" "06ee5caf80b20e74c314a846e22f712a77773eeb0e3e187a8248a85fd1894e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ee5caf80b20e74c314a846e22f712a77773eeb0e3e187a8248a85fd1894e35", kill_on_drop: false }` [INFO] [stdout] 06ee5caf80b20e74c314a846e22f712a77773eeb0e3e187a8248a85fd1894e35 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45bc8cd1257c6704894155d3637e7d636627fc74cb0c54f4b920d5701874ec5f [INFO] running `Command { std: "docker" "start" "-a" "45bc8cd1257c6704894155d3637e7d636627fc74cb0c54f4b920d5701874ec5f", kill_on_drop: false }` [INFO] [stderr] Compiling trait_erc20 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// A simple ERC-20 contract. [INFO] [stdout] 61 | | #[ink(storage)] [INFO] [stdout] 62 | | #[derive(SpreadAllocate)] [INFO] [stdout] 63 | | pub struct Erc20 { [INFO] [stdout] ... | [INFO] [stdout] 70 | | allowances: Mapping<(AccountId, AccountId), Balance>, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stdout] --> lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[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 attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ink::contract` may come from an old version of the `ink_lang_macro` crate, try updating your dependency with `cargo update -p ink_lang_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / /// Creates a new ERC-20 contract with the specified initial supply. [INFO] [stdout] 98 | | #[ink(constructor)] [INFO] [stdout] 99 | | pub fn new(initial_supply: Balance) -> Self { [INFO] [stdout] 100 | | ink_lang::utils::initialize_contract(|contract| { [INFO] [stdout] 101 | | Self::new_init(contract, initial_supply) [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "45bc8cd1257c6704894155d3637e7d636627fc74cb0c54f4b920d5701874ec5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45bc8cd1257c6704894155d3637e7d636627fc74cb0c54f4b920d5701874ec5f", kill_on_drop: false }` [INFO] [stdout] 45bc8cd1257c6704894155d3637e7d636627fc74cb0c54f4b920d5701874ec5f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bce723ae99de257301bdfdac75a4ffd10de6557e5279c24226bce694d18d9ce7 [INFO] running `Command { std: "docker" "start" "-a" "bce723ae99de257301bdfdac75a4ffd10de6557e5279c24226bce694d18d9ce7", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stderr] --> lib.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / /// A simple ERC-20 contract. [INFO] [stderr] 61 | | #[ink(storage)] [INFO] [stderr] 62 | | #[derive(SpreadAllocate)] [INFO] [stderr] 63 | | pub struct Erc20 { [INFO] [stderr] ... | [INFO] [stderr] 70 | | allowances: Mapping<(AccountId, AccountId), Balance>, [INFO] [stderr] 71 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stderr] --> lib.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[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 attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `ink::contract` may come from an old version of the `ink_lang_macro` crate, try updating your dependency with `cargo update -p ink_lang_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stderr] --> lib.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | / /// Creates a new ERC-20 contract with the specified initial supply. [INFO] [stderr] 98 | | #[ink(constructor)] [INFO] [stderr] 99 | | pub fn new(initial_supply: Balance) -> Self { [INFO] [stderr] 100 | | ink_lang::utils::initialize_contract(|contract| { [INFO] [stderr] 101 | | Self::new_init(contract, initial_supply) [INFO] [stderr] 102 | | }) [INFO] [stderr] 103 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stderr] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `trait_erc20` (lib test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/trait_erc20-71ce93233046c154) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test erc20::tests::balance_of_works ... ok [INFO] [stdout] test erc20::tests::total_supply_works ... ok [INFO] [stdout] test erc20::tests::invalid_transfer_should_fail ... ok [INFO] [stdout] test erc20::tests::new_works ... ok [INFO] [stdout] test erc20::tests::transfer_from_works ... ok [INFO] [stdout] test erc20::tests::transfer_works ... ok [INFO] [stdout] test erc20::tests::allowance_must_not_change_on_failed_transfer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bce723ae99de257301bdfdac75a4ffd10de6557e5279c24226bce694d18d9ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce723ae99de257301bdfdac75a4ffd10de6557e5279c24226bce694d18d9ce7", kill_on_drop: false }` [INFO] [stdout] bce723ae99de257301bdfdac75a4ffd10de6557e5279c24226bce694d18d9ce7