[INFO] cloning repository https://github.com/wivtech/supply-chain-ink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wivtech/supply-chain-ink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwivtech%2Fsupply-chain-ink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwivtech%2Fsupply-chain-ink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 033bc3f90c4bb4bb2316666180e70321b33aba6c [INFO] building wivtech/supply-chain-ink against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwivtech%2Fsupply-chain-ink" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wivtech/supply-chain-ink on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wivtech/supply-chain-ink [INFO] finished tweaking git repo https://github.com/wivtech/supply-chain-ink [INFO] tweaked toml for git repo https://github.com/wivtech/supply-chain-ink written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wivtech/supply-chain-ink 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e5d67d84bbcd2f9e3e6d7270d6340e6a2331642e57cb87ef3dc506786784b4b [INFO] running `Command { std: "docker" "start" "-a" "9e5d67d84bbcd2f9e3e6d7270d6340e6a2331642e57cb87ef3dc506786784b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e5d67d84bbcd2f9e3e6d7270d6340e6a2331642e57cb87ef3dc506786784b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5d67d84bbcd2f9e3e6d7270d6340e6a2331642e57cb87ef3dc506786784b4b", kill_on_drop: false }` [INFO] [stdout] 9e5d67d84bbcd2f9e3e6d7270d6340e6a2331642e57cb87ef3dc506786784b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6467658d6f9b16706d9863363bc0b860d2f71f894224b2685e217273f52483e1 [INFO] running `Command { std: "docker" "start" "-a" "6467658d6f9b16706d9863363bc0b860d2f71f894224b2685e217273f52483e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling ink_prelude v3.0.0-rc2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling trybuild v1.0.39 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling ink_allocator v3.0.0-rc2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling array-init v1.0.0 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling scale-info-derive v0.2.1 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc2 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tinytemplate v1.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling parity-scale-codec v1.3.6 [INFO] [stderr] Compiling scale-info v0.4.1 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc2 [INFO] [stderr] Compiling ink_metadata v3.0.0-rc2 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc2 [INFO] [stderr] Compiling ink_env v3.0.0-rc2 [INFO] [stderr] Compiling ink_storage v3.0.0-rc2 [INFO] [stderr] Compiling ink_lang v3.0.0-rc2 [INFO] [stderr] Compiling wivsupplychain v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[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:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[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:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Event emitted when a asset transfer occurs. [INFO] [stdout] 82 | | #[ink(event)] [INFO] [stdout] 83 | | pub struct Transfer { [INFO] [stdout] 84 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 89 | | id: AssetId, [INFO] [stdout] 90 | | } [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:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Event emitted when a asset transfer occurs. [INFO] [stdout] 82 | | #[ink(event)] [INFO] [stdout] 83 | | pub struct Transfer { [INFO] [stdout] 84 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 89 | | id: AssetId, [INFO] [stdout] 90 | | } [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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Event emitted when a asset approve occurs. [INFO] [stdout] 93 | | #[ink(event)] [INFO] [stdout] 94 | | pub struct ProxyUpdated { [INFO] [stdout] 95 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 100 | | id: AssetId, [INFO] [stdout] 101 | | } [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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Event emitted when a asset approve occurs. [INFO] [stdout] 93 | | #[ink(event)] [INFO] [stdout] 94 | | pub struct ProxyUpdated { [INFO] [stdout] 95 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 100 | | id: AssetId, [INFO] [stdout] 101 | | } [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:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Event emitted when an asset is updated [INFO] [stdout] 103 | | #[ink(event)] [INFO] [stdout] 104 | | pub struct AssetUpdate { [INFO] [stdout] 105 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 108 | | id: AssetId, [INFO] [stdout] 109 | | } [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:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Event emitted when an asset is updated [INFO] [stdout] 103 | | #[ink(event)] [INFO] [stdout] 104 | | pub struct AssetUpdate { [INFO] [stdout] 105 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 108 | | id: AssetId, [INFO] [stdout] 109 | | } [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:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / /// Event emitted when a role is updated [INFO] [stdout] 111 | | #[ink(event)] [INFO] [stdout] 112 | | pub struct RoleUpdate { [INFO] [stdout] 113 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 116 | | id: AccountId, [INFO] [stdout] 117 | | } [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:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / /// Event emitted when a role is updated [INFO] [stdout] 111 | | #[ink(event)] [INFO] [stdout] 112 | | pub struct RoleUpdate { [INFO] [stdout] 113 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 116 | | id: AccountId, [INFO] [stdout] 117 | | } [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:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Event emitted when an operator is enabled or disabled for an owner. [INFO] [stdout] 120 | | /// The operator can manage all NFTs of the owner. [INFO] [stdout] 121 | | #[ink(event)] [INFO] [stdout] 122 | | pub struct ApprovalForAll { [INFO] [stdout] ... | [INFO] [stdout] 127 | | approved: bool, [INFO] [stdout] 128 | | } [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:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Event emitted when an operator is enabled or disabled for an owner. [INFO] [stdout] 120 | | /// The operator can manage all NFTs of the owner. [INFO] [stdout] 121 | | #[ink(event)] [INFO] [stdout] 122 | | pub struct ApprovalForAll { [INFO] [stdout] ... | [INFO] [stdout] 127 | | approved: bool, [INFO] [stdout] 128 | | } [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:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] [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_info::TypeInfo` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale_info::TypeInfo` (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:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Encode, Decode, Debug, PartialEq, Eq, Copy, Clone)] [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 `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Encode, Decode, Debug, PartialEq, Eq, Copy, Clone)] [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 `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] [INFO] [stdout] | ^------------------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_Error` [INFO] [stdout] 67 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `scale_info::TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `scale_info::TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6467658d6f9b16706d9863363bc0b860d2f71f894224b2685e217273f52483e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6467658d6f9b16706d9863363bc0b860d2f71f894224b2685e217273f52483e1", kill_on_drop: false }` [INFO] [stdout] 6467658d6f9b16706d9863363bc0b860d2f71f894224b2685e217273f52483e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7633e768b1fdb68b135f4399226b4db28ea0768c36e3bef8a891f6b8acac31c1 [INFO] running `Command { std: "docker" "start" "-a" "7633e768b1fdb68b135f4399226b4db28ea0768c36e3bef8a891f6b8acac31c1", kill_on_drop: false }` [INFO] [stderr] Compiling wivsupplychain v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[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:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[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:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Event emitted when a asset transfer occurs. [INFO] [stdout] 82 | | #[ink(event)] [INFO] [stdout] 83 | | pub struct Transfer { [INFO] [stdout] 84 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 89 | | id: AssetId, [INFO] [stdout] 90 | | } [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:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Event emitted when a asset transfer occurs. [INFO] [stdout] 82 | | #[ink(event)] [INFO] [stdout] 83 | | pub struct Transfer { [INFO] [stdout] 84 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 89 | | id: AssetId, [INFO] [stdout] 90 | | } [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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Event emitted when a asset approve occurs. [INFO] [stdout] 93 | | #[ink(event)] [INFO] [stdout] 94 | | pub struct ProxyUpdated { [INFO] [stdout] 95 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 100 | | id: AssetId, [INFO] [stdout] 101 | | } [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:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Event emitted when a asset approve occurs. [INFO] [stdout] 93 | | #[ink(event)] [INFO] [stdout] 94 | | pub struct ProxyUpdated { [INFO] [stdout] 95 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 100 | | id: AssetId, [INFO] [stdout] 101 | | } [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:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Event emitted when an asset is updated [INFO] [stdout] 103 | | #[ink(event)] [INFO] [stdout] 104 | | pub struct AssetUpdate { [INFO] [stdout] 105 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 108 | | id: AssetId, [INFO] [stdout] 109 | | } [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:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Event emitted when an asset is updated [INFO] [stdout] 103 | | #[ink(event)] [INFO] [stdout] 104 | | pub struct AssetUpdate { [INFO] [stdout] 105 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 108 | | id: AssetId, [INFO] [stdout] 109 | | } [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:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / /// Event emitted when a role is updated [INFO] [stdout] 111 | | #[ink(event)] [INFO] [stdout] 112 | | pub struct RoleUpdate { [INFO] [stdout] 113 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 116 | | id: AccountId, [INFO] [stdout] 117 | | } [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:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / /// Event emitted when a role is updated [INFO] [stdout] 111 | | #[ink(event)] [INFO] [stdout] 112 | | pub struct RoleUpdate { [INFO] [stdout] 113 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 116 | | id: AccountId, [INFO] [stdout] 117 | | } [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:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Event emitted when an operator is enabled or disabled for an owner. [INFO] [stdout] 120 | | /// The operator can manage all NFTs of the owner. [INFO] [stdout] 121 | | #[ink(event)] [INFO] [stdout] 122 | | pub struct ApprovalForAll { [INFO] [stdout] ... | [INFO] [stdout] 127 | | approved: bool, [INFO] [stdout] 128 | | } [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:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Event emitted when an operator is enabled or disabled for an owner. [INFO] [stdout] 120 | | /// The operator can manage all NFTs of the owner. [INFO] [stdout] 121 | | #[ink(event)] [INFO] [stdout] 122 | | pub struct ApprovalForAll { [INFO] [stdout] ... | [INFO] [stdout] 127 | | approved: bool, [INFO] [stdout] 128 | | } [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:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] [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_info::TypeInfo` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `scale_info::TypeInfo` (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:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Encode, Decode, Debug, PartialEq, Eq, Copy, Clone)] [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 `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Encode, Decode, Debug, PartialEq, Eq, Copy, Clone)] [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 `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] [INFO] [stdout] | ^------------------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_Error` [INFO] [stdout] 67 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `scale_info::TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `scale_info::TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7633e768b1fdb68b135f4399226b4db28ea0768c36e3bef8a891f6b8acac31c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7633e768b1fdb68b135f4399226b4db28ea0768c36e3bef8a891f6b8acac31c1", kill_on_drop: false }` [INFO] [stdout] 7633e768b1fdb68b135f4399226b4db28ea0768c36e3bef8a891f6b8acac31c1