[INFO] cloning repository https://github.com/denisro2010/oee_smartContract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denisro2010/oee_smartContract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenisro2010%2Foee_smartContract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenisro2010%2Foee_smartContract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 559303b3e4bbeeb9822862adb40c7770a976578e [INFO] checking denisro2010/oee_smartContract against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenisro2010%2Foee_smartContract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denisro2010/oee_smartContract 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 git repo https://github.com/denisro2010/oee_smartContract [INFO] finished tweaking git repo https://github.com/denisro2010/oee_smartContract [INFO] tweaked toml for git repo https://github.com/denisro2010/oee_smartContract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/denisro2010/oee_smartContract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ink_lang v3.2.0 [INFO] [stderr] Downloaded ink_lang_ir v3.2.0 [INFO] [stderr] Downloaded ink_allocator v3.2.0 [INFO] [stderr] Downloaded ink_lang_macro v3.2.0 [INFO] [stderr] Downloaded ink_storage_derive v3.2.0 [INFO] [stderr] Downloaded ink_storage v3.2.0 [INFO] [stderr] Downloaded ink_env v3.2.0 [INFO] [stderr] Downloaded secp256k1 v0.22.1 [INFO] [stderr] Downloaded scale-info-derive v2.1.2 [INFO] [stderr] Downloaded ink_lang_codegen v3.2.0 [INFO] [stderr] Downloaded scale-info v2.1.2 [INFO] [stderr] Downloaded ink_primitives v3.2.0 [INFO] [stderr] Downloaded ink_metadata v3.2.0 [INFO] [stderr] Downloaded ink_prelude v3.2.0 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] [stderr] Downloaded ink_engine v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9ddfad410b39e8e66742449485782a7e1b579c797449c030d51e805f867e6835 [INFO] running `Command { std: "docker" "start" "-a" "9ddfad410b39e8e66742449485782a7e1b579c797449c030d51e805f867e6835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ddfad410b39e8e66742449485782a7e1b579c797449c030d51e805f867e6835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddfad410b39e8e66742449485782a7e1b579c797449c030d51e805f867e6835", kill_on_drop: false }` [INFO] [stdout] 9ddfad410b39e8e66742449485782a7e1b579c797449c030d51e805f867e6835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2c9b555cdca4206078404682ac1df55f6f4a324def83071ed921b29425338893 [INFO] running `Command { std: "docker" "start" "-a" "2c9b555cdca4206078404682ac1df55f6f4a324def83071ed921b29425338893", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ink_prelude v3.2.0 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking bitvec v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking ink_allocator v3.2.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking sha3 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking blake2 v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking secp256k1 v0.22.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_lang_ir v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling ink_storage_derive v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.1.3 [INFO] [stderr] Compiling scale-info-derive v2.1.2 [INFO] [stderr] Compiling parity-scale-codec v3.1.5 [INFO] [stderr] Compiling ink_lang_codegen v3.2.0 [INFO] [stderr] Compiling ink_primitives v3.2.0 [INFO] [stderr] Compiling ink_lang_macro v3.2.0 [INFO] [stderr] Checking scale-info v2.1.2 [INFO] [stderr] Checking ink_engine v3.2.0 [INFO] [stderr] Checking ink_metadata v3.2.0 [INFO] [stderr] Checking ink_env v3.2.0 [INFO] [stderr] Checking ink_storage v3.2.0 [INFO] [stderr] Checking ink_lang v3.2.0 [INFO] [stderr] Checking flipper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.11s [INFO] running `Command { std: "docker" "inspect" "2c9b555cdca4206078404682ac1df55f6f4a324def83071ed921b29425338893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9b555cdca4206078404682ac1df55f6f4a324def83071ed921b29425338893", kill_on_drop: false }` [INFO] [stdout] 2c9b555cdca4206078404682ac1df55f6f4a324def83071ed921b29425338893 [INFO] checking denisro2010/oee_smartContract against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenisro2010%2Foee_smartContract" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denisro2010/oee_smartContract 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 git repo https://github.com/denisro2010/oee_smartContract [INFO] finished tweaking git repo https://github.com/denisro2010/oee_smartContract [INFO] tweaked toml for git repo https://github.com/denisro2010/oee_smartContract written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/denisro2010/oee_smartContract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb32a075f7ebec081d0c082c08063beb05484c43819183944e3dd59a5665ef6f [INFO] running `Command { std: "docker" "start" "-a" "cb32a075f7ebec081d0c082c08063beb05484c43819183944e3dd59a5665ef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb32a075f7ebec081d0c082c08063beb05484c43819183944e3dd59a5665ef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb32a075f7ebec081d0c082c08063beb05484c43819183944e3dd59a5665ef6f", kill_on_drop: false }` [INFO] [stdout] cb32a075f7ebec081d0c082c08063beb05484c43819183944e3dd59a5665ef6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 13498bcb92777b982548f4d59db60436328c75f9eca96e302e55c7b47a07aa5a [INFO] running `Command { std: "docker" "start" "-a" "13498bcb92777b982548f4d59db60436328c75f9eca96e302e55c7b47a07aa5a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ink_prelude v3.2.0 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking bitvec v1.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking ink_allocator v3.2.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking sha3 v0.10.1 [INFO] [stderr] Checking blake2 v0.10.4 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Checking secp256k1 v0.22.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_lang_ir v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling ink_storage_derive v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.1.3 [INFO] [stderr] Compiling scale-info-derive v2.1.2 [INFO] [stderr] Compiling parity-scale-codec v3.1.5 [INFO] [stderr] Compiling ink_primitives v3.2.0 [INFO] [stderr] Compiling ink_lang_codegen v3.2.0 [INFO] [stderr] Compiling ink_lang_macro v3.2.0 [INFO] [stderr] Checking scale-info v2.1.2 [INFO] [stderr] Checking ink_engine v3.2.0 [INFO] [stderr] Checking ink_metadata v3.2.0 [INFO] [stderr] Checking ink_env v3.2.0 [INFO] [stderr] Checking ink_storage v3.2.0 [INFO] [stderr] Checking ink_lang v3.2.0 [INFO] [stderr] Checking flipper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / #[derive(SpreadAllocate)] [INFO] [stdout] 12 | | pub struct Incrementer { [INFO] [stdout] 13 | | value: i32, [INFO] [stdout] 14 | | valid: bool, [INFO] [stdout] 15 | | my_value: ink_storage::Mapping, [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / #[derive(SpreadAllocate)] [INFO] [stdout] 12 | | pub struct Incrementer { [INFO] [stdout] 13 | | value: i32, [INFO] [stdout] 14 | | valid: bool, [INFO] [stdout] 15 | | my_value: ink_storage::Mapping, [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] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flipper` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `flipper` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "13498bcb92777b982548f4d59db60436328c75f9eca96e302e55c7b47a07aa5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13498bcb92777b982548f4d59db60436328c75f9eca96e302e55c7b47a07aa5a", kill_on_drop: false }` [INFO] [stdout] 13498bcb92777b982548f4d59db60436328c75f9eca96e302e55c7b47a07aa5a