[INFO] cloning repository https://github.com/Khixinhxan/near_workshop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Khixinhxan/near_workshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhixinhxan%2Fnear_workshop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhixinhxan%2Fnear_workshop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff9d388227646dbf6c21c6d2c31dadfe07b6bfee [INFO] checking Khixinhxan/near_workshop against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhixinhxan%2Fnear_workshop" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 94% (1347/1432) Updating files: 95% (1361/1432) Updating files: 96% (1375/1432) Updating files: 97% (1390/1432) Updating files: 98% (1404/1432) Updating files: 99% (1418/1432) Updating files: 100% (1432/1432) Updating files: 100% (1432/1432), done. [INFO] validating manifest of git repo https://github.com/Khixinhxan/near_workshop 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/Khixinhxan/near_workshop [INFO] finished tweaking git repo https://github.com/Khixinhxan/near_workshop [INFO] tweaked toml for git repo https://github.com/Khixinhxan/near_workshop written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Khixinhxan/near_workshop 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 near-runtime-fees v2.2.0 [INFO] [stderr] Downloaded near-sdk-macros v2.0.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.0 [INFO] [stderr] Downloaded bs58 v0.3.0 [INFO] [stderr] Downloaded near-sdk-core v2.0.0 [INFO] [stderr] Downloaded borsh v0.7.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.0 [INFO] [stderr] Downloaded near-vm-errors v2.0.0 [INFO] [stderr] Downloaded borsh-derive v0.7.0 [INFO] [stderr] Downloaded near-sdk v2.0.0 [INFO] [stderr] Downloaded near-vm-logic v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 93393c192466fb9fc7077e6f8b21a90f616e5d344c336f7cd8c0ff6e9dc9df35 [INFO] running `Command { std: "docker" "start" "-a" "93393c192466fb9fc7077e6f8b21a90f616e5d344c336f7cd8c0ff6e9dc9df35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93393c192466fb9fc7077e6f8b21a90f616e5d344c336f7cd8c0ff6e9dc9df35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93393c192466fb9fc7077e6f8b21a90f616e5d344c336f7cd8c0ff6e9dc9df35", kill_on_drop: false }` [INFO] [stdout] 93393c192466fb9fc7077e6f8b21a90f616e5d344c336f7cd8c0ff6e9dc9df35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 80ef5bc7eb4c30af17f386e787721633d5a732234c1d0aac923dd8b4e3a3b86a [INFO] running `Command { std: "docker" "start" "-a" "80ef5bc7eb4c30af17f386e787721633d5a732234c1d0aac923dd8b4e3a3b86a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.0 [INFO] [stderr] Compiling borsh-derive-internal v0.7.0 [INFO] [stderr] Compiling near-sdk-core v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling borsh-derive v0.7.0 [INFO] [stderr] Compiling near-sdk-macros v2.0.0 [INFO] [stderr] Checking borsh v0.7.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking near-runtime-fees v2.2.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Checking near-vm-errors v2.0.0 [INFO] [stderr] Checking near-vm-logic v2.0.0 [INFO] [stderr] Checking near-sdk v2.0.0 [INFO] [stderr] Checking berry-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.64s [INFO] running `Command { std: "docker" "inspect" "80ef5bc7eb4c30af17f386e787721633d5a732234c1d0aac923dd8b4e3a3b86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ef5bc7eb4c30af17f386e787721633d5a732234c1d0aac923dd8b4e3a3b86a", kill_on_drop: false }` [INFO] [stdout] 80ef5bc7eb4c30af17f386e787721633d5a732234c1d0aac923dd8b4e3a3b86a [INFO] checking Khixinhxan/near_workshop 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%2FKhixinhxan%2Fnear_workshop" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 77% (1109/1432) Updating files: 78% (1117/1432) Updating files: 79% (1132/1432) Updating files: 80% (1146/1432) Updating files: 81% (1160/1432) Updating files: 82% (1175/1432) Updating files: 83% (1189/1432) Updating files: 84% (1203/1432) Updating files: 85% (1218/1432) Updating files: 86% (1232/1432) Updating files: 87% (1246/1432) Updating files: 88% (1261/1432) Updating files: 89% (1275/1432) Updating files: 90% (1289/1432) Updating files: 91% (1304/1432) Updating files: 92% (1318/1432) Updating files: 93% (1332/1432) Updating files: 94% (1347/1432) Updating files: 95% (1361/1432) Updating files: 96% (1375/1432) Updating files: 97% (1390/1432) Updating files: 98% (1404/1432) Updating files: 99% (1418/1432) Updating files: 100% (1432/1432) Updating files: 100% (1432/1432), done. [INFO] validating manifest of git repo https://github.com/Khixinhxan/near_workshop 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/Khixinhxan/near_workshop [INFO] finished tweaking git repo https://github.com/Khixinhxan/near_workshop [INFO] tweaked toml for git repo https://github.com/Khixinhxan/near_workshop written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Khixinhxan/near_workshop 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fb73439febac1411ab69d914998e83fb0333a428bb8d545f673ec073199e3e5b [INFO] running `Command { std: "docker" "start" "-a" "fb73439febac1411ab69d914998e83fb0333a428bb8d545f673ec073199e3e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb73439febac1411ab69d914998e83fb0333a428bb8d545f673ec073199e3e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb73439febac1411ab69d914998e83fb0333a428bb8d545f673ec073199e3e5b", kill_on_drop: false }` [INFO] [stdout] fb73439febac1411ab69d914998e83fb0333a428bb8d545f673ec073199e3e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2bd82ed625db20fc8d0d7867fc159cb62228997c844998cce78a7c2c2bce7526 [INFO] running `Command { std: "docker" "start" "-a" "2bd82ed625db20fc8d0d7867fc159cb62228997c844998cce78a7c2c2bce7526", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Compiling borsh-derive-internal v0.7.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.0 [INFO] [stderr] Compiling near-sdk-core v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling borsh-derive v0.7.0 [INFO] [stderr] Compiling near-sdk-macros v2.0.0 [INFO] [stderr] Checking borsh v0.7.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking near-runtime-fees v2.2.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Checking near-vm-errors v2.0.0 [INFO] [stderr] Checking near-vm-logic v2.0.0 [INFO] [stderr] Checking near-sdk v2.0.0 [INFO] [stderr] Checking berry-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_SetPixelRequest` [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] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SetPixelRequest` [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: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Input` 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: this error originates in the derive macro `near_sdk::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Input` 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: this error originates in the derive macro `near_sdk::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berry-bot` (lib) due to 5 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] --> src/hardcore.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_SetPixelRequest` [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] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SetPixelRequest` [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: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Input` 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: this error originates in the derive macro `near_sdk::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Input` 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: this error originates in the derive macro `near_sdk::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berry-bot` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2bd82ed625db20fc8d0d7867fc159cb62228997c844998cce78a7c2c2bce7526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd82ed625db20fc8d0d7867fc159cb62228997c844998cce78a7c2c2bce7526", kill_on_drop: false }` [INFO] [stdout] 2bd82ed625db20fc8d0d7867fc159cb62228997c844998cce78a7c2c2bce7526