[INFO] cloning repository https://github.com/scrtlabs/dNetflix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrtlabs/dNetflix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45d8065b9d5b4ed485d7fb0838cae346dfc09f39 [INFO] building scrtlabs/dNetflix against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/scrtlabs/dNetflix [INFO] finished tweaking git repo https://github.com/scrtlabs/dNetflix [INFO] tweaked toml for git repo https://github.com/scrtlabs/dNetflix written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scrtlabs/dNetflix on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/scrtlabs/dNetflix 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/access-manager/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/access-manager/packages/snip721/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/scrtlabs/cosmwasm` [INFO] [stderr] Updating git repository `https://github.com/scrtlabs/secret-toolkit` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded secret-toolkit-serialization v0.3.0 [INFO] [stderr] Downloaded secret-toolkit v0.3.0 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded zeroize v1.3.0 [INFO] [stderr] Downloaded primitive-types v0.11.1 [INFO] [stderr] Downloaded cosmwasm-schema v0.10.1 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded der v0.5.1 [INFO] [stderr] Downloaded schemars v0.8.10 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded secret-toolkit-storage v0.3.0 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded base64ct v1.5.2 [INFO] [stderr] Downloaded pkcs8 v0.8.0 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded schemars_derive v0.8.10 [INFO] [stderr] Downloaded serde-json-wasm v0.4.1 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] [stderr] Downloaded bincode2 v2.0.1 [INFO] [stderr] Downloaded secret-cosmwasm-std v0.10.1 [INFO] [stderr] Downloaded secret-toolkit-utils v0.3.1 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded curve25519-dalek v3.2.1 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded remain v0.2.4 [INFO] [stderr] Downloaded secret-toolkit-crypto v0.3.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.34 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded const-oid v0.7.1 [INFO] [stderr] Downloaded dyn-clone v1.0.9 [INFO] [stderr] Downloaded secret-toolkit-permit v0.3.1 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded spki v0.5.4 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded bech32 v0.8.1 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7cffce7570ea375beb54f45e2a7dd0a029f97c07be42da30396d543b796b471 [INFO] running `Command { std: "docker" "start" "-a" "a7cffce7570ea375beb54f45e2a7dd0a029f97c07be42da30396d543b796b471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7cffce7570ea375beb54f45e2a7dd0a029f97c07be42da30396d543b796b471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7cffce7570ea375beb54f45e2a7dd0a029f97c07be42da30396d543b796b471", kill_on_drop: false }` [INFO] [stdout] a7cffce7570ea375beb54f45e2a7dd0a029f97c07be42da30396d543b796b471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] fe205cded73b15ea6f4920d22471df3d4485046b9844e394a8b24aeff8a2f600 [INFO] running `Command { std: "docker" "start" "-a" "fe205cded73b15ea6f4920d22471df3d4485046b9844e394a8b24aeff8a2f600", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/packages/snip721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling remain v0.2.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling secret-cosmwasm-std v0.10.1 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Compiling secret-toolkit-serialization v0.3.0 [INFO] [stderr] Compiling secret-toolkit-crypto v0.3.0 [INFO] [stderr] Compiling secret-toolkit-permit v0.3.1 [INFO] [stderr] Compiling secret-toolkit-storage v0.3.0 [INFO] [stderr] Compiling secret-toolkit-utils v0.3.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling secret-toolkit-serialization v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-utils v0.3.1 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-storage v0.5.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit v0.3.0 [INFO] [stderr] Compiling snip721-reference-impl v0.1.0 (/opt/rustwide/workdir/access-manager/packages/snip721) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-snip721 v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit v0.5.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling access-manager v0.0.1 (/opt/rustwide/workdir/access-manager) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> access-manager/src/reply.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> access-manager/src/reply.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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 43.57s [INFO] running `Command { std: "docker" "inspect" "fe205cded73b15ea6f4920d22471df3d4485046b9844e394a8b24aeff8a2f600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe205cded73b15ea6f4920d22471df3d4485046b9844e394a8b24aeff8a2f600", kill_on_drop: false }` [INFO] [stdout] fe205cded73b15ea6f4920d22471df3d4485046b9844e394a8b24aeff8a2f600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 792657ebeae86513cffcfcf479fe2d2b1000161f6247610c1c0b7220dfd3dcca [INFO] running `Command { std: "docker" "start" "-a" "792657ebeae86513cffcfcf479fe2d2b1000161f6247610c1c0b7220dfd3dcca", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/packages/snip721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling cosmwasm-schema v0.10.1 [INFO] [stderr] Compiling access-manager v0.0.1 (/opt/rustwide/workdir/access-manager) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> access-manager/src/reply.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> access-manager/src/reply.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling snip721-reference-impl v0.1.0 (/opt/rustwide/workdir/access-manager/packages/snip721) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> access-manager/src/reply.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> access-manager/src/reply.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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 6.79s [INFO] running `Command { std: "docker" "inspect" "792657ebeae86513cffcfcf479fe2d2b1000161f6247610c1c0b7220dfd3dcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792657ebeae86513cffcfcf479fe2d2b1000161f6247610c1c0b7220dfd3dcca", kill_on_drop: false }` [INFO] [stdout] 792657ebeae86513cffcfcf479fe2d2b1000161f6247610c1c0b7220dfd3dcca