[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 try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [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: 99% (1426/1432) Updating files: 100% (1432/1432) Updating files: 100% (1432/1432), done. [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] validating manifest of git repo https://github.com/Khixinhxan/near_workshop on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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 near-vm-errors v2.0.0 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded near-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded near-vm-logic v2.0.0 [INFO] [stderr] Downloaded near-sdk-macros v2.0.0 [INFO] [stderr] Downloaded near-sdk-core v2.0.0 [INFO] [stderr] Downloaded borsh-derive v0.7.0 [INFO] [stderr] Downloaded near-sdk v2.0.0 [INFO] [stderr] Downloaded sha2 v0.8.1 [INFO] [stderr] Downloaded near-runtime-fees v2.2.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.0 [INFO] [stderr] Downloaded borsh v0.7.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.0 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33de76bbe9e47adacd279affa5ba46d09de014eaf8f3929c7f28785a33769712 [INFO] running `Command { std: "docker" "start" "-a" "33de76bbe9e47adacd279affa5ba46d09de014eaf8f3929c7f28785a33769712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33de76bbe9e47adacd279affa5ba46d09de014eaf8f3929c7f28785a33769712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33de76bbe9e47adacd279affa5ba46d09de014eaf8f3929c7f28785a33769712", kill_on_drop: false }` [INFO] [stdout] 33de76bbe9e47adacd279affa5ba46d09de014eaf8f3929c7f28785a33769712 [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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f75e0177f08be9de7ca7577f5a85e0f649ade088ed02076f98ac8192613924 [INFO] running `Command { std: "docker" "start" "-a" "d4f75e0177f08be9de7ca7577f5a85e0f649ade088ed02076f98ac8192613924", 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 itoa v0.4.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [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 quote v1.0.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [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] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/art.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/circle.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/hardcore.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/invert.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/rect.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/art.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/circle.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/hardcore.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/invert.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/rect.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(not(target = "wasm32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("wasm32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"wasm32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/hardcore.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SetPixelRequest` [INFO] [stdout] 50 | #[serde(crate = "near_sdk::serde")] [INFO] [stdout] 51 | pub struct SetPixelRequest { [INFO] [stdout] | --------------- `SetPixelRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/hardcore.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SetPixelRequest` [INFO] [stdout] 50 | #[serde(crate = "near_sdk::serde")] [INFO] [stdout] 51 | pub struct SetPixelRequest { [INFO] [stdout] | --------------- `SetPixelRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `near_sdk::serde::Serialize` which comes from the expansion of the attribute macro `ext_contract` (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/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `near_sdk::serde::Serialize` which comes from the expansion of the attribute macro `ext_contract` (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/hardcore.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SetPixelRequest` [INFO] [stdout] 50 | #[serde(crate = "near_sdk::serde")] [INFO] [stdout] 51 | pub struct SetPixelRequest { [INFO] [stdout] | --------------- `SetPixelRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/hardcore.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SetPixelRequest` [INFO] [stdout] 50 | #[serde(crate = "near_sdk::serde")] [INFO] [stdout] 51 | pub struct SetPixelRequest { [INFO] [stdout] | --------------- `SetPixelRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `near_sdk::serde::Serialize` which comes from the expansion of the attribute macro `ext_contract` (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/hardcore.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[ext_contract(ext_berryclub)] [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Input` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Input` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `near_sdk::serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `near_sdk::serde::Serialize` which comes from the expansion of the attribute macro `ext_contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.72s [INFO] running `Command { std: "docker" "inspect" "d4f75e0177f08be9de7ca7577f5a85e0f649ade088ed02076f98ac8192613924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f75e0177f08be9de7ca7577f5a85e0f649ade088ed02076f98ac8192613924", kill_on_drop: false }` [INFO] [stdout] d4f75e0177f08be9de7ca7577f5a85e0f649ade088ed02076f98ac8192613924