[INFO] fetching crate pro_env 3.0.0-rc2... [INFO] testing pro_env-3.0.0-rc2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pro_env 3.0.0-rc2 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pro_env 3.0.0-rc2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pro_primitives v3.0.0-rc2 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded tetsy-scale-info v0.5.1 [INFO] [stderr] Downloaded pro_allocator v3.0.0-rc2 [INFO] [stderr] Downloaded tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded pro_metadata v3.0.0-rc2 [INFO] [stderr] Downloaded pro_prelude v3.0.0-rc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a446855803caf113aa86ac5e865a4498ea60e6748bc31d91519e7f4c5fb571a5 [INFO] running `Command { std: "docker" "start" "-a" "a446855803caf113aa86ac5e865a4498ea60e6748bc31d91519e7f4c5fb571a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a446855803caf113aa86ac5e865a4498ea60e6748bc31d91519e7f4c5fb571a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a446855803caf113aa86ac5e865a4498ea60e6748bc31d91519e7f4c5fb571a5", kill_on_drop: false }` [INFO] [stdout] a446855803caf113aa86ac5e865a4498ea60e6748bc31d91519e7f4c5fb571a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d328cec5cf94fefdc21d28ff5cfbd006d92264f8a80fc3292d3c40a9211bd1ff [INFO] running `Command { std: "docker" "start" "-a" "d328cec5cf94fefdc21d28ff5cfbd006d92264f8a80fc3292d3c40a9211bd1ff", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pro_prelude v3.0.0-rc2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pro_allocator v3.0.0-rc2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling 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] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling tetsy-scale-info v0.5.1 [INFO] [stderr] Compiling pro_primitives v3.0.0-rc2 [INFO] [stderr] Compiling pro_metadata v3.0.0-rc2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.78s [INFO] running `Command { std: "docker" "inspect" "d328cec5cf94fefdc21d28ff5cfbd006d92264f8a80fc3292d3c40a9211bd1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d328cec5cf94fefdc21d28ff5cfbd006d92264f8a80fc3292d3c40a9211bd1ff", kill_on_drop: false }` [INFO] [stdout] d328cec5cf94fefdc21d28ff5cfbd006d92264f8a80fc3292d3c40a9211bd1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c44e2d7fbaeb7666ec186eb84e38341d611002525526cecb0d3a11631f820e6f [INFO] running `Command { std: "docker" "start" "-a" "c44e2d7fbaeb7666ec186eb84e38341d611002525526cecb0d3a11631f820e6f", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling pro_env v3.0.0-rc2 (/opt/rustwide/workdir) [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "c44e2d7fbaeb7666ec186eb84e38341d611002525526cecb0d3a11631f820e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44e2d7fbaeb7666ec186eb84e38341d611002525526cecb0d3a11631f820e6f", kill_on_drop: false }` [INFO] [stdout] c44e2d7fbaeb7666ec186eb84e38341d611002525526cecb0d3a11631f820e6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3fc396d8776c504dcc99b2af6a09b4cd617c24e6ee3007a1aeb4ba0734a427c [INFO] running `Command { std: "docker" "start" "-a" "f3fc396d8776c504dcc99b2af6a09b4cd617c24e6ee3007a1aeb4ba0734a427c", kill_on_drop: false }` [INFO] [stderr] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stderr] --> src/lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | const_err, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/lib.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | private_in_public, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/call/selector.rs:18:51 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/call/selector.rs:18:66 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Copy, Clone, PartialEq, Eq, From, scale::Decode, scale::Encode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/engine/off_chain/chain_extension.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/engine/off_chain/chain_extension.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | Debug, From, scale::Encode, scale::Decode, PartialEq, Eq, PartialOrd, Ord, Hash, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AccountKind`, `ContractAccount`, and `ContractStorage` [INFO] [stderr] --> src/engine/off_chain/db/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | AccountKind, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 27 | AccountsDb, [INFO] [stderr] 28 | ContractAccount, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 29 | ContractStorage, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/engine/off_chain/test_api.rs:382:10 [INFO] [stderr] | [INFO] [stderr] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/engine/off_chain/test_api.rs:382:25 [INFO] [stderr] | [INFO] [stderr] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `scale::Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `scale::Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `PastPrints` [INFO] [stderr] --> src/engine/off_chain/mod.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | PastPrints, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AccountError` and `TypedEncodedError` [INFO] [stderr] --> src/engine/mod.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | AccountError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 36 | TypedEncodedError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/types.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | Encode, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/types.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | Decode, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/types.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | Encode, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/types.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | Decode, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `blake2`, `default`, `pro_metadata`, `rand`, `sha2`, `sha3`, `std`, and `tetsy-scale-info` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/chain_extension.rs:383:18 [INFO] [stderr] | [INFO] [stderr] 383 | |mut output| { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `saturating_add`, `saturating_sub`, and `saturating_pow` are never used [INFO] [stderr] --> src/arithmetic.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 143 | pub trait Saturating { [INFO] [stderr] | ---------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 146 | fn saturating_add(self, rhs: Self) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 150 | fn saturating_sub(self, rhs: Self) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | fn saturating_pow(self, exp: usize) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stderr] --> src/call/call_builder.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct CallParams [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | callee: E::AccountId, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 39 | /// The maximum gas costs allowed for the call. [INFO] [stderr] 40 | gas_limit: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 41 | /// The transferred value for the call. [INFO] [stderr] 42 | transferred_value: E::Balance, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | /// The expected return type. [INFO] [stderr] 44 | return_type: ReturnType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stderr] 46 | exec_input: ExecutionInput, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code_hash`, `gas_limit`, `endowment`, `exec_input`, `salt_bytes`, and `return_type` are never read [INFO] [stderr] --> src/call/create_builder.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct CreateParams [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 60 | code_hash: E::Hash, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 61 | /// The maximum gas costs allowed for the instantiation. [INFO] [stderr] 62 | gas_limit: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 63 | /// The endowment for the instantiated contract. [INFO] [stderr] 64 | endowment: E::Balance, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 65 | /// The input data for the instantiation. [INFO] [stderr] 66 | exec_input: ExecutionInput, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 67 | /// The salt for determining the hash for the contract account ID. [INFO] [stderr] 68 | salt_bytes: Salt, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 69 | /// The type of the instantiated contract. [INFO] [stderr] 70 | return_type: ReturnType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/engine/off_chain/db/console.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn past_prints(&self) -> PastPrints { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | pub fn past_prints(&self) -> PastPrints<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/engine/off_chain/db/events.rs:125:27 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn emitted_events(&self) -> core::slice::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 125 | pub fn emitted_events(&self) -> core::slice::Iter<'_, EmittedEvent> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:110:36 [INFO] [stderr] | [INFO] [stderr] 110 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `TypeInfo` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_DefaultEnvironment` [INFO] [stderr] 111 | pub enum DefaultEnvironment {} [INFO] [stderr] | ------------------ `DefaultEnvironment` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:153:36 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `TypeInfo` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_AccountId` [INFO] [stderr] 154 | pub struct AccountId([u8; 32]); [INFO] [stderr] | --------- `AccountId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:185:36 [INFO] [stderr] | [INFO] [stderr] 185 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `TypeInfo` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_Hash` [INFO] [stderr] 186 | pub struct Hash([u8; 32]); [INFO] [stderr] | ---- `Hash` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stderr] --> src/call/call_builder.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct CallParams [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | callee: E::AccountId, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 39 | /// The maximum gas costs allowed for the call. [INFO] [stderr] 40 | gas_limit: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 41 | /// The transferred value for the call. [INFO] [stderr] 42 | transferred_value: E::Balance, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | /// The expected return type. [INFO] [stderr] 44 | return_type: ReturnType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stderr] 46 | exec_input: ExecutionInput, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pro_env` (lib) generated 24 warnings (run `cargo fix --lib -p pro_env` to apply 6 suggestions) [INFO] [stderr] warning: `pro_env` (lib test) generated 23 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pro_env-b4efa1c74b7c4a2a) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test arithmetic::tests::saturating_mul ... ok [INFO] [stdout] test arithmetic::tests::saturating_add ... ok [INFO] [stdout] test arithmetic::tests::saturating_pow ... ok [INFO] [stdout] test call::execution_input::tests::empty_args_works ... ok [INFO] [stdout] test call::execution_input::tests::empty_exec_input_works ... ok [INFO] [stdout] test call::execution_input::tests::multiple_arguments_works ... ok [INFO] [stdout] test engine::off_chain::tests::gas_price ... ok [INFO] [stdout] test engine::off_chain::tests::key_add ... ok [INFO] [stdout] test tests::test_hash_blake2_128 ... ok [INFO] [stderr] Doc-tests pro_env [INFO] [stdout] test call::execution_input::tests::single_argument_works ... ok [INFO] [stdout] test engine::off_chain::tests::key_add_sub ... ok [INFO] [stdout] test tests::test_hash_sha2_256 ... ok [INFO] [stdout] test tests::test_hash_keccak_256 ... ok [INFO] [stdout] test tests::test_hash_blake2_256 ... ok [INFO] [stdout] test engine::off_chain::tests::store_load_clear ... ok [INFO] [stdout] test arithmetic::tests::saturatiung_sub ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stderr] --> src/lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | const_err, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/lib.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | private_in_public, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/call/create_builder.rs - call::create_builder::build_create (line 165) ... ok [INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 175) ... ok [INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod,state::HandleErrorCode>::call (line 361) ... ok [INFO] [stdout] test src/api.rs - api::hash_encoded (line 526) ... ok [INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod,state::IgnoreErrorCode>::call (line 414) ... ok [INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod,state::IgnoreErrorCode>::call (line 303) ... ok [INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 140) ... ok [INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod,state::HandleErrorCode>::call (line 242) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3fc396d8776c504dcc99b2af6a09b4cd617c24e6ee3007a1aeb4ba0734a427c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3fc396d8776c504dcc99b2af6a09b4cd617c24e6ee3007a1aeb4ba0734a427c", kill_on_drop: false }` [INFO] [stdout] f3fc396d8776c504dcc99b2af6a09b4cd617c24e6ee3007a1aeb4ba0734a427c