[INFO] fetching crate tensor-price-lock 0.2.0... [INFO] testing tensor-price-lock-0.2.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate tensor-price-lock 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tensor-price-lock 0.2.0 [INFO] finished tweaking crates.io crate tensor-price-lock 0.2.0 [INFO] tweaked toml for crates.io crate tensor-price-lock 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tensor-price-lock 0.2.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 593 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.29.0 (available: v0.32.1) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding kaigan v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding solana-account-decoder v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-accounts-db v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-address-lookup-table-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-interface v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-server v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-bpf-loader-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-bucket-map v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-clap-utils v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-compute-budget-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-config-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-connection-cache v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-cost-model v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-loader-v4-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-measure v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-metrics v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-net-utils v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-perf v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-program-runtime v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-program-test v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-pubsub-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-quic-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-rayon-threadlimit v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-remote-wallet v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client-api v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client-nonce-utils v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-runtime v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-send-transaction-service v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-stake-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-streamer v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-system-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-thin-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-tpu-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-transaction-status v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-udp-client v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-version v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-vote v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-vote-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-zk-token-proof-program v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding solana-zk-token-sdk v1.17.3 (available: v1.18.26) [INFO] [stderr] Adding spl-associated-token-account v2.2.0 (available: v2.3.0) [INFO] [stderr] Adding spl-memo v4.0.0 (available: v4.0.4) [INFO] [stderr] Adding spl-token v4.0.0 (available: v4.0.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi v1.17.3 [INFO] [stderr] Downloaded solana-sdk-macro v1.17.3 [INFO] [stderr] Downloaded solana-logger v1.17.3 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.17.3 [INFO] [stderr] Downloaded anchor-attribute-constant v0.29.0 [INFO] [stderr] Downloaded solana-vote-program v1.17.3 [INFO] [stderr] Downloaded solana-loader-v4-program v1.17.3 [INFO] [stderr] Downloaded solana-clap-utils v1.17.3 [INFO] [stderr] Downloaded solana-net-utils v1.17.3 [INFO] [stderr] Downloaded anchor-derive-space v0.29.0 [INFO] [stderr] Downloaded solana-account-decoder v1.17.3 [INFO] [stderr] Downloaded anchor-attribute-program v0.29.0 [INFO] [stderr] Downloaded solana-banks-interface v1.17.3 [INFO] [stderr] Downloaded solana-sdk v1.17.3 [INFO] [stderr] Downloaded anchor-lang v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.29.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Downloaded solana-remote-wallet v1.17.3 [INFO] [stderr] Downloaded solana-metrics v1.17.3 [INFO] [stderr] Downloaded solana-bucket-map v1.17.3 [INFO] [stderr] Downloaded solana-stake-program v1.17.3 [INFO] [stderr] Downloaded solana-system-program v1.17.3 [INFO] [stderr] Downloaded solana-zk-token-proof-program v1.17.3 [INFO] [stderr] Downloaded solana-program-runtime v1.17.3 [INFO] [stderr] Downloaded anchor-attribute-account v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-error v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.29.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.29.0 [INFO] [stderr] Downloaded anchor-derive-serde v0.29.0 [INFO] [stderr] Downloaded anchor-syn v0.29.0 [INFO] [stderr] Downloaded kaigan v0.2.6 [INFO] [stderr] Downloaded solana-quic-client v1.17.3 [INFO] [stderr] Downloaded serde_with v3.15.1 [INFO] [stderr] Downloaded solana-rpc-client-api v1.17.3 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded solana-bpf-loader-program v1.17.3 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.17.3 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.17.3 [INFO] [stderr] Downloaded solana-accounts-db v1.17.3 [INFO] [stderr] Downloaded solana_rbpf v0.7.2 [INFO] [stderr] Downloaded solana-perf v1.17.3 [INFO] [stderr] Downloaded solana-config-program v1.17.3 [INFO] [stderr] Downloaded solana-version v1.17.3 [INFO] [stderr] Downloaded solana-vote v1.17.3 [INFO] [stderr] Downloaded solana-runtime v1.17.3 [INFO] [stderr] Downloaded schemars v1.0.5 [INFO] [stderr] Downloaded spl-token-2022 v0.9.0 [INFO] [stderr] Downloaded solana-measure v1.17.3 [INFO] [stderr] Downloaded solana-program-test v1.17.3 [INFO] [stderr] Downloaded light-poseidon v0.1.2 [INFO] [stderr] Downloaded solana-program v1.17.3 [INFO] [stderr] Downloaded serde_with_macros v3.15.1 [INFO] [stderr] Downloaded solana-banks-client v1.17.3 [INFO] [stderr] Downloaded solana-rpc-client-nonce-utils v1.17.3 [INFO] [stderr] Downloaded solana-streamer v1.17.3 [INFO] [stderr] Downloaded solana-client v1.17.3 [INFO] [stderr] Downloaded solana-connection-cache v1.17.3 [INFO] [stderr] Downloaded solana-pubsub-client v1.17.3 [INFO] [stderr] Downloaded solana-rpc-client v1.17.3 [INFO] [stderr] Downloaded solana-transaction-status v1.17.3 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Downloaded solana-tpu-client v1.17.3 [INFO] [stderr] Downloaded solana-banks-server v1.17.3 [INFO] [stderr] Downloaded solana-cost-model v1.17.3 [INFO] [stderr] Downloaded solana-udp-client v1.17.3 [INFO] [stderr] Downloaded spl-associated-token-account v2.2.0 [INFO] [stderr] Downloaded solana-compute-budget-program v1.17.3 [INFO] [stderr] Downloaded solana-thin-client v1.17.3 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.17.3 [INFO] [stderr] Downloaded solana-send-transaction-service v1.17.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74ea5ed12960e309acd96b1f9c5330484327f573bedf7f402cb5119c92adb39 [INFO] running `Command { std: "docker" "start" "-a" "e74ea5ed12960e309acd96b1f9c5330484327f573bedf7f402cb5119c92adb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74ea5ed12960e309acd96b1f9c5330484327f573bedf7f402cb5119c92adb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74ea5ed12960e309acd96b1f9c5330484327f573bedf7f402cb5119c92adb39", kill_on_drop: false }` [INFO] [stdout] e74ea5ed12960e309acd96b1f9c5330484327f573bedf7f402cb5119c92adb39 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebeaadc7abacced7433507ba5688c94606afee39a43396720588224fcc69fba0 [INFO] running `Command { std: "docker" "start" "-a" "ebeaadc7abacced7433507ba5688c94606afee39a43396720588224fcc69fba0", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.17.3 [INFO] [stderr] Compiling solana-frozen-abi v1.17.3 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling kaigan v0.2.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.17.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling solana-sdk-macro v1.17.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.1.2 [INFO] [stderr] Compiling tensor-price-lock v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/generated/errors/tensor_price_lock.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TensorPriceLockError` [INFO] [stdout] 12 | pub enum TensorPriceLockError { [INFO] [stdout] | -------------------- `TensorPriceLockError` 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] --> src/generated/types/asset_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AssetType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum AssetType { [INFO] [stdout] | --------- `AssetType` 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: 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] --> src/generated/types/collateral_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CollateralType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum CollateralType { [INFO] [stdout] | -------------- `CollateralType` 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: 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] --> src/generated/types/order_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrderType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum OrderType { [INFO] [stdout] | --------- `OrderType` 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: 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] --> src/generated/types/t_token_program_version.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenProgramVersion` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenProgramVersion { [INFO] [stdout] | -------------------- `TTokenProgramVersion` 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: 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] --> src/generated/types/t_token_standard.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenStandard` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenStandard { [INFO] [stdout] | -------------- `TTokenStandard` 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: 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] --> src/generated/types/t_use_method.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TUseMethod` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TUseMethod { [INFO] [stdout] | ---------- `TUseMethod` 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: 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] --> src/generated/types/trade_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TradeAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TradeAction { [INFO] [stdout] | ----------- `TradeAction` 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: 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] --> src/generated/types/xfer_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_XferAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum XferAction { [INFO] [stdout] | ---------- `XferAction` 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: this warning originates in the derive macro `FromPrimitive` (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 1m 13s [INFO] running `Command { std: "docker" "inspect" "ebeaadc7abacced7433507ba5688c94606afee39a43396720588224fcc69fba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebeaadc7abacced7433507ba5688c94606afee39a43396720588224fcc69fba0", kill_on_drop: false }` [INFO] [stdout] ebeaadc7abacced7433507ba5688c94606afee39a43396720588224fcc69fba0 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd4f193f0800f2b89e0361c9b75f1b3c053c8a07622bcea5643b39608d10be6 [INFO] running `Command { std: "docker" "start" "-a" "fcd4f193f0800f2b89e0361c9b75f1b3c053c8a07622bcea5643b39608d10be6", kill_on_drop: false }` [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.17.3 [INFO] [stderr] Compiling solana-frozen-abi v1.17.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.17.3 [INFO] [stderr] Compiling solana-sdk-macro v1.17.3 [INFO] [stderr] Compiling solana-sdk v1.17.3 [INFO] [stderr] Compiling solana-logger v1.17.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling solana-program-runtime v1.17.3 [INFO] [stderr] Compiling solana_rbpf v0.7.2 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling solana-vote-program v1.17.3 [INFO] [stderr] Compiling solana-version v1.17.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.17.3 [INFO] [stderr] Compiling solana-perf v1.17.3 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling solana-stake-program v1.17.3 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.17.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling solana-cost-model v1.17.3 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling solana-accounts-db v1.17.3 [INFO] [stderr] Compiling solana-vote v1.17.3 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling light-poseidon v0.1.2 [INFO] [stderr] Compiling solana-runtime v1.17.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rcgen v0.10.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki-roots v0.24.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling quinn-proto v0.10.6 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling quinn v0.10.2 [INFO] [stderr] Compiling spl-program-error v0.3.0 [INFO] [stderr] Compiling spl-discriminator v0.1.0 [INFO] [stderr] Compiling spl-token v4.0.0 [INFO] [stderr] Compiling spl-memo v4.0.0 [INFO] [stderr] Compiling tensor-price-lock v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling solana-measure v1.17.3 [INFO] [stderr] Compiling solana-metrics v1.17.3 [INFO] [stderr] Compiling solana-zk-token-sdk v1.17.3 [INFO] [stderr] Compiling solana-remote-wallet v1.17.3 [INFO] [stderr] Compiling solana-banks-interface v1.17.3 [INFO] [stderr] Compiling solana-bucket-map v1.17.3 [INFO] [stderr] Compiling solana-net-utils v1.17.3 [INFO] [stderr] Compiling solana-connection-cache v1.17.3 [INFO] [stderr] Compiling solana-clap-utils v1.17.3 [INFO] [stderr] Compiling solana-banks-client v1.17.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/generated/errors/tensor_price_lock.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TensorPriceLockError` [INFO] [stdout] 12 | pub enum TensorPriceLockError { [INFO] [stdout] | -------------------- `TensorPriceLockError` 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] --> src/generated/types/asset_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AssetType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum AssetType { [INFO] [stdout] | --------- `AssetType` 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: 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] --> src/generated/types/collateral_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CollateralType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum CollateralType { [INFO] [stdout] | -------------- `CollateralType` 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: 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] --> src/generated/types/order_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrderType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum OrderType { [INFO] [stdout] | --------- `OrderType` 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: 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] --> src/generated/types/t_token_program_version.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenProgramVersion` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenProgramVersion { [INFO] [stdout] | -------------------- `TTokenProgramVersion` 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: 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] --> src/generated/types/t_token_standard.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenStandard` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenStandard { [INFO] [stdout] | -------------- `TTokenStandard` 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: 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] --> src/generated/types/t_use_method.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TUseMethod` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TUseMethod { [INFO] [stdout] | ---------- `TUseMethod` 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: 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] --> src/generated/types/trade_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TradeAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TradeAction { [INFO] [stdout] | ----------- `TradeAction` 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: 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] --> src/generated/types/xfer_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_XferAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum XferAction { [INFO] [stdout] | ---------- `XferAction` 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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-config-program v1.17.3 [INFO] [stderr] Compiling solana-system-program v1.17.3 [INFO] [stderr] Compiling solana-loader-v4-program v1.17.3 [INFO] [stderr] Compiling solana-compute-budget-program v1.17.3 [INFO] [stderr] Compiling solana-streamer v1.17.3 [INFO] [stderr] Compiling solana-udp-client v1.17.3 [INFO] [stderr] Compiling spl-pod v0.1.0 [INFO] [stderr] Compiling solana-bpf-loader-program v1.17.3 [INFO] [stderr] Compiling solana-zk-token-proof-program v1.17.3 [INFO] [stderr] Compiling spl-type-length-value v0.3.0 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Compiling spl-token-2022 v0.9.0 [INFO] [stderr] Compiling solana-account-decoder v1.17.3 [INFO] [stderr] Compiling spl-associated-token-account v2.2.0 [INFO] [stderr] Compiling solana-transaction-status v1.17.3 [INFO] [stderr] Compiling solana-rpc-client-api v1.17.3 [INFO] [stderr] Compiling solana-rpc-client v1.17.3 [INFO] [stderr] Compiling solana-pubsub-client v1.17.3 [INFO] [stderr] Compiling solana-quic-client v1.17.3 [INFO] [stderr] Compiling solana-rpc-client-nonce-utils v1.17.3 [INFO] [stderr] Compiling solana-tpu-client v1.17.3 [INFO] [stderr] Compiling solana-thin-client v1.17.3 [INFO] [stderr] Compiling solana-client v1.17.3 [INFO] [stderr] Compiling solana-send-transaction-service v1.17.3 [INFO] [stderr] Compiling solana-banks-server v1.17.3 [INFO] [stderr] Compiling solana-program-test v1.17.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/generated/errors/tensor_price_lock.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TensorPriceLockError` [INFO] [stdout] 12 | pub enum TensorPriceLockError { [INFO] [stdout] | -------------------- `TensorPriceLockError` 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] --> src/generated/types/asset_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AssetType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum AssetType { [INFO] [stdout] | --------- `AssetType` 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: 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] --> src/generated/types/collateral_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CollateralType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum CollateralType { [INFO] [stdout] | -------------- `CollateralType` 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: 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] --> src/generated/types/order_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrderType` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum OrderType { [INFO] [stdout] | --------- `OrderType` 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: 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] --> src/generated/types/t_token_program_version.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenProgramVersion` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenProgramVersion { [INFO] [stdout] | -------------------- `TTokenProgramVersion` 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: 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] --> src/generated/types/t_token_standard.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenStandard` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TTokenStandard { [INFO] [stdout] | -------------- `TTokenStandard` 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: 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] --> src/generated/types/t_use_method.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TUseMethod` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TUseMethod { [INFO] [stdout] | ---------- `TUseMethod` 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: 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] --> src/generated/types/trade_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TradeAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TradeAction { [INFO] [stdout] | ----------- `TradeAction` 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: 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] --> src/generated/types/xfer_action.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_XferAction` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum XferAction { [INFO] [stdout] | ---------- `XferAction` 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: this warning originates in the derive macro `FromPrimitive` (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 3m 54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: solana-client v1.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fcd4f193f0800f2b89e0361c9b75f1b3c053c8a07622bcea5643b39608d10be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd4f193f0800f2b89e0361c9b75f1b3c053c8a07622bcea5643b39608d10be6", kill_on_drop: false }` [INFO] [stdout] fcd4f193f0800f2b89e0361c9b75f1b3c053c8a07622bcea5643b39608d10be6 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c4509ffefefa5945fe59c468a6131ca5d310d819c578e277198e5cd5f15b6be [INFO] running `Command { std: "docker" "start" "-a" "9c4509ffefefa5945fe59c468a6131ca5d310d819c578e277198e5cd5f15b6be", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/errors/tensor_price_lock.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TensorPriceLockError` [INFO] [stderr] 12 | pub enum TensorPriceLockError { [INFO] [stderr] | -------------------- `TensorPriceLockError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/asset_type.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AssetType` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum AssetType { [INFO] [stderr] | --------- `AssetType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/collateral_type.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CollateralType` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum CollateralType { [INFO] [stderr] | -------------- `CollateralType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/order_type.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrderType` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum OrderType { [INFO] [stderr] | --------- `OrderType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/t_token_program_version.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenProgramVersion` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum TTokenProgramVersion { [INFO] [stderr] | -------------------- `TTokenProgramVersion` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/t_token_standard.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TTokenStandard` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum TTokenStandard { [INFO] [stderr] | -------------- `TTokenStandard` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/t_use_method.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TUseMethod` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum TUseMethod { [INFO] [stderr] | ---------- `TUseMethod` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/trade_action.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TradeAction` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum TradeAction { [INFO] [stderr] | ----------- `TradeAction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/generated/types/xfer_action.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_XferAction` [INFO] [stderr] ... [INFO] [stderr] 25 | pub enum XferAction { [INFO] [stderr] | ---------- `XferAction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tensor-price-lock` (lib) generated 9 warnings [INFO] [stderr] warning: `tensor-price-lock` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: solana-client v1.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tensor_price_lock-9a85cfe7964e084d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests tensor_price_lock [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c4509ffefefa5945fe59c468a6131ca5d310d819c578e277198e5cd5f15b6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4509ffefefa5945fe59c468a6131ca5d310d819c578e277198e5cd5f15b6be", kill_on_drop: false }` [INFO] [stdout] 9c4509ffefefa5945fe59c468a6131ca5d310d819c578e277198e5cd5f15b6be