[INFO] fetching crate pro_env 3.0.0-rc2... [INFO] checking pro_env-3.0.0-rc2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pro_env 3.0.0-rc2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pro_env 3.0.0-rc2 [INFO] finished tweaking crates.io crate pro_env 3.0.0-rc2 [INFO] tweaked toml for crates.io crate pro_env 3.0.0-rc2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pro_env 3.0.0-rc2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding funty v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Downloaded tetsy-scale-info v0.5.1 [INFO] [stderr] Downloaded pro_allocator v3.0.0-rc2 [INFO] [stderr] Downloaded pro_metadata v3.0.0-rc2 [INFO] [stderr] Downloaded pro_prelude v3.0.0-rc2 [INFO] [stderr] Downloaded pro_primitives v3.0.0-rc2 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8db3f8c89d03e9e9cb70cda527a3bbac0e53c6559705495465f5ef7e765de57b [INFO] running `Command { std: "docker" "start" "-a" "8db3f8c89d03e9e9cb70cda527a3bbac0e53c6559705495465f5ef7e765de57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8db3f8c89d03e9e9cb70cda527a3bbac0e53c6559705495465f5ef7e765de57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db3f8c89d03e9e9cb70cda527a3bbac0e53c6559705495465f5ef7e765de57b", kill_on_drop: false }` [INFO] [stdout] 8db3f8c89d03e9e9cb70cda527a3bbac0e53c6559705495465f5ef7e765de57b [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c613e188e49ecb08aa64ad3d80312307b1511b513e1f29de5ea7af78442a6c0d [INFO] running `Command { std: "docker" "start" "-a" "c613e188e49ecb08aa64ad3d80312307b1511b513e1f29de5ea7af78442a6c0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking pro_prelude v3.0.0-rc2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking pro_allocator v3.0.0-rc2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Checking tetsy-scale-codec v2.0.1 [INFO] [stderr] Checking tetsy-scale-info v0.5.1 [INFO] [stderr] Checking pro_primitives v3.0.0-rc2 [INFO] [stderr] Checking pro_metadata v3.0.0-rc2 [INFO] [stderr] Checking pro_env v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | const_err, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/call/selector.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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::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] --> src/call/selector.rs:18:66 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/chain_extension.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/chain_extension.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unused imports: `AccountKind`, `ContractAccount`, and `ContractStorage` [INFO] [stdout] --> src/engine/off_chain/db/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | AccountKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | AccountsDb, [INFO] [stdout] 28 | ContractAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ContractStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/engine/off_chain/test_api.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/test_api.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unused import: `PastPrints` [INFO] [stdout] --> src/engine/off_chain/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | PastPrints, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountError` and `TypedEncodedError` [INFO] [stdout] --> src/engine/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | AccountError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | TypedEncodedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/types.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/types.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Decode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/types.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/types.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | Decode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | const_err, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/call/selector.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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::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] --> src/call/selector.rs:18:66 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/chain_extension.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/chain_extension.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unused imports: `AccountKind`, `ContractAccount`, and `ContractStorage` [INFO] [stdout] --> src/engine/off_chain/db/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | AccountKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | AccountsDb, [INFO] [stdout] 28 | ContractAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ContractStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/engine/off_chain/test_api.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/engine/off_chain/test_api.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unused import: `PastPrints` [INFO] [stdout] --> src/engine/off_chain/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | PastPrints, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountError` and `TypedEncodedError` [INFO] [stdout] --> src/engine/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | AccountError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | TypedEncodedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/types.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/types.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Decode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/types.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | Encode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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] --> src/types.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | Decode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [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 `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_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: variable does not need to be mutable [INFO] [stdout] --> src/chain_extension.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 383 | |mut output| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chain_extension.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 383 | |mut output| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `saturating_add`, `saturating_sub`, and `saturating_pow` are never used [INFO] [stdout] --> src/arithmetic.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait Saturating { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 146 | fn saturating_add(self, rhs: Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn saturating_sub(self, rhs: Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn saturating_pow(self, exp: usize) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stdout] --> src/call/call_builder.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CallParams [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | callee: E::AccountId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | /// The maximum gas costs allowed for the call. [INFO] [stdout] 40 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | /// The transferred value for the call. [INFO] [stdout] 42 | transferred_value: E::Balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// The expected return type. [INFO] [stdout] 44 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stdout] 46 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code_hash`, `gas_limit`, `endowment`, `exec_input`, `salt_bytes`, and `return_type` are never read [INFO] [stdout] --> src/call/create_builder.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateParams [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | code_hash: E::Hash, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | /// The maximum gas costs allowed for the instantiation. [INFO] [stdout] 62 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | /// The endowment for the instantiated contract. [INFO] [stdout] 64 | endowment: E::Balance, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// The input data for the instantiation. [INFO] [stdout] 66 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | /// The salt for determining the hash for the contract account ID. [INFO] [stdout] 68 | salt_bytes: Salt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | /// The type of the instantiated contract. [INFO] [stdout] 70 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine/off_chain/db/console.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn past_prints(&self) -> PastPrints { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn past_prints(&self) -> PastPrints<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine/off_chain/db/events.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn emitted_events(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn emitted_events(&self) -> core::slice::Iter<'_, EmittedEvent> { [INFO] [stdout] | +++ [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] --> src/types.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(feature = "std", derive(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_DefaultEnvironment` [INFO] [stdout] 111 | pub enum DefaultEnvironment {} [INFO] [stdout] | ------------------ `DefaultEnvironment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `TypeInfo` (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] --> src/types.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(feature = "std", derive(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_AccountId` [INFO] [stdout] 154 | pub struct AccountId([u8; 32]); [INFO] [stdout] | --------- `AccountId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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: this warning originates in the derive macro `TypeInfo` (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] --> src/types.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | #[cfg_attr(feature = "std", derive(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_Hash` [INFO] [stdout] 186 | pub struct Hash([u8; 32]); [INFO] [stdout] | ---- `Hash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stdout] --> src/call/call_builder.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CallParams [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | callee: E::AccountId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | /// The maximum gas costs allowed for the call. [INFO] [stdout] 40 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | /// The transferred value for the call. [INFO] [stdout] 42 | transferred_value: E::Balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// The expected return type. [INFO] [stdout] 44 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stdout] 46 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code_hash`, `gas_limit`, `endowment`, `exec_input`, `salt_bytes`, and `return_type` are never read [INFO] [stdout] --> src/call/create_builder.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateParams [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | code_hash: E::Hash, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | /// The maximum gas costs allowed for the instantiation. [INFO] [stdout] 62 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | /// The endowment for the instantiated contract. [INFO] [stdout] 64 | endowment: E::Balance, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// The input data for the instantiation. [INFO] [stdout] 66 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | /// The salt for determining the hash for the contract account ID. [INFO] [stdout] 68 | salt_bytes: Salt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | /// The type of the instantiated contract. [INFO] [stdout] 70 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine/off_chain/db/console.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn past_prints(&self) -> PastPrints { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn past_prints(&self) -> PastPrints<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine/off_chain/db/events.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn emitted_events(&self) -> core::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn emitted_events(&self) -> core::slice::Iter<'_, EmittedEvent> { [INFO] [stdout] | +++ [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] --> src/types.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(feature = "std", derive(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_DefaultEnvironment` [INFO] [stdout] 111 | pub enum DefaultEnvironment {} [INFO] [stdout] | ------------------ `DefaultEnvironment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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 `TypeInfo` (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] --> src/types.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(feature = "std", derive(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_AccountId` [INFO] [stdout] 154 | pub struct AccountId([u8; 32]); [INFO] [stdout] | --------- `AccountId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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: this warning originates in the derive macro `TypeInfo` (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] --> src/types.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | #[cfg_attr(feature = "std", derive(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_Hash` [INFO] [stdout] 186 | pub struct Hash([u8; 32]); [INFO] [stdout] | ---- `Hash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_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: this warning originates in the derive macro `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 26.83s [INFO] running `Command { std: "docker" "inspect" "c613e188e49ecb08aa64ad3d80312307b1511b513e1f29de5ea7af78442a6c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c613e188e49ecb08aa64ad3d80312307b1511b513e1f29de5ea7af78442a6c0d", kill_on_drop: false }` [INFO] [stdout] c613e188e49ecb08aa64ad3d80312307b1511b513e1f29de5ea7af78442a6c0d