[INFO] fetching crate accumulate 3.0.0... [INFO] checking accumulate-3.0.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate accumulate 3.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate accumulate 3.0.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate accumulate 3.0.0 [INFO] finished tweaking crates.io crate accumulate 3.0.0 [INFO] tweaked toml for crates.io crate accumulate 3.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_datetime v0.6.3 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.2 [INFO] [stderr] Downloaded scale-info-derive v2.10.0 [INFO] [stderr] Downloaded wyz v0.5.1 [INFO] [stderr] Downloaded toml_edit v0.20.2 [INFO] [stderr] Downloaded ink_prelude v3.4.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.9 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded byte-slice-cast v1.2.2 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded funty v2.0.0 [INFO] [stderr] Downloaded proc-macro-crate v2.0.2 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] [stderr] Downloaded radium v0.7.0 [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded scale-info v2.10.0 [INFO] [stderr] Downloaded ink_env v3.4.0 [INFO] [stderr] Downloaded parity-scale-codec v3.6.9 [INFO] [stderr] Downloaded sha3 v0.10.8 [INFO] [stderr] Downloaded derive_more v0.99.17 [INFO] [stderr] Downloaded secp256k1-sys v0.6.1 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded bitvec v1.0.1 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded impl-serde v0.3.2 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded heck v0.4.1 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded ink_engine v3.4.0 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded ink_metadata v3.4.0 [INFO] [stderr] Downloaded tap v1.0.1 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b071bd09ab6afc65a9c2208f2ccad8805abb6d4e51c1851e62acb0b5d9c1b3c [INFO] running `Command { std: "docker" "start" "-a" "0b071bd09ab6afc65a9c2208f2ccad8805abb6d4e51c1851e62acb0b5d9c1b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b071bd09ab6afc65a9c2208f2ccad8805abb6d4e51c1851e62acb0b5d9c1b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b071bd09ab6afc65a9c2208f2ccad8805abb6d4e51c1851e62acb0b5d9c1b3c", kill_on_drop: false }` [INFO] [stdout] 0b071bd09ab6afc65a9c2208f2ccad8805abb6d4e51c1851e62acb0b5d9c1b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74ff9e8459de1adfc6cc7be5f6c422cc169c3f50f59d5bad17659bfffcf27ec4 [INFO] running `Command { std: "docker" "start" "-a" "74ff9e8459de1adfc6cc7be5f6c422cc169c3f50f59d5bad17659bfffcf27ec4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.36 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ink_prelude v3.4.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ink_allocator v3.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [INFO] [stderr] Compiling scale-info v2.10.0 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Checking ink_engine v3.4.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Checking ink_metadata v3.4.0 [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Checking ink_env v3.4.0 [INFO] [stderr] Checking ink_storage v3.4.0 [INFO] [stderr] Checking ink_lang v3.4.0 [INFO] [stderr] Checking accumulate v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.95s [INFO] running `Command { std: "docker" "inspect" "74ff9e8459de1adfc6cc7be5f6c422cc169c3f50f59d5bad17659bfffcf27ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ff9e8459de1adfc6cc7be5f6c422cc169c3f50f59d5bad17659bfffcf27ec4", kill_on_drop: false }` [INFO] [stdout] 74ff9e8459de1adfc6cc7be5f6c422cc169c3f50f59d5bad17659bfffcf27ec4 [INFO] checking accumulate-3.0.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate accumulate 3.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate accumulate 3.0.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate accumulate 3.0.0 [INFO] finished tweaking crates.io crate accumulate 3.0.0 [INFO] tweaked toml for crates.io crate accumulate 3.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 793b63196b9917c93ffd632d1b2dbaa6ce36347310c7e5fb23bdd26d4017036c [INFO] running `Command { std: "docker" "start" "-a" "793b63196b9917c93ffd632d1b2dbaa6ce36347310c7e5fb23bdd26d4017036c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "793b63196b9917c93ffd632d1b2dbaa6ce36347310c7e5fb23bdd26d4017036c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793b63196b9917c93ffd632d1b2dbaa6ce36347310c7e5fb23bdd26d4017036c", kill_on_drop: false }` [INFO] [stdout] 793b63196b9917c93ffd632d1b2dbaa6ce36347310c7e5fb23bdd26d4017036c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b6b7af180b96e319f75f92e860e14b35e87973745bdefcce5dcf582240a3e86 [INFO] running `Command { std: "docker" "start" "-a" "4b6b7af180b96e319f75f92e860e14b35e87973745bdefcce5dcf582240a3e86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.36 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ink_prelude v3.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ink_allocator v3.4.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Compiling scale-info v2.10.0 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Checking ink_engine v3.4.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Checking ink_metadata v3.4.0 [INFO] [stderr] Checking ink_env v3.4.0 [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Checking ink_storage v3.4.0 [INFO] [stderr] Checking ink_lang v3.4.0 [INFO] [stderr] Checking accumulate v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Holds a simple `i32` value that can be incremented and decremented. [INFO] [stdout] 13 | | #[ink(storage)] [INFO] [stdout] 14 | | pub struct Accumulator { [INFO] [stdout] 15 | | value: i32, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accumulate` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Holds a simple `i32` value that can be incremented and decremented. [INFO] [stdout] 13 | | #[ink(storage)] [INFO] [stdout] 14 | | pub struct Accumulator { [INFO] [stdout] 15 | | value: i32, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `accumulate` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "4b6b7af180b96e319f75f92e860e14b35e87973745bdefcce5dcf582240a3e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6b7af180b96e319f75f92e860e14b35e87973745bdefcce5dcf582240a3e86", kill_on_drop: false }` [INFO] [stdout] 4b6b7af180b96e319f75f92e860e14b35e87973745bdefcce5dcf582240a3e86