[INFO] cloning repository https://github.com/sanjayhashcash/rs-soroban-env [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanjayhashcash/rs-soroban-env" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayhashcash%2Frs-soroban-env", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayhashcash%2Frs-soroban-env'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d45b21be3b38634d1edec6ef2b26a9196d5f7357 [INFO] checking sanjayhashcash/rs-soroban-env against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayhashcash%2Frs-soroban-env" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sanjayhashcash/rs-soroban-env on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/sanjayhashcash/rs-soroban-env [INFO] finished tweaking git repo https://github.com/sanjayhashcash/rs-soroban-env [INFO] tweaked toml for git repo https://github.com/sanjayhashcash/rs-soroban-env written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sanjayhashcash/rs-soroban-env 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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/soroban-env-common/Cargo.toml: `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `soroban-env-common` package) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3ddf9cde3a0b4a742340664043ee8db3dbc397beae588f5808bcc8127381242 [INFO] running `Command { std: "docker" "start" "-a" "f3ddf9cde3a0b4a742340664043ee8db3dbc397beae588f5808bcc8127381242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3ddf9cde3a0b4a742340664043ee8db3dbc397beae588f5808bcc8127381242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ddf9cde3a0b4a742340664043ee8db3dbc397beae588f5808bcc8127381242", kill_on_drop: false }` [INFO] [stdout] f3ddf9cde3a0b4a742340664043ee8db3dbc397beae588f5808bcc8127381242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6aa8b96336b242ee71f0f2351b78c6b6816fa140b769f21705491a4abc677c [INFO] running `Command { std: "docker" "start" "-a" "7e6aa8b96336b242ee71f0f2351b78c6b6816fa140b769f21705491a4abc677c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/soroban-env-common/Cargo.toml: `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `soroban-env-common` package) [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking wasmparser-nostd v0.100.2 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling soroban-env-host v21.0.0 (/opt/rustwide/workdir/soroban-env-host) [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wide v0.7.17 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking wasmparser v0.116.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking perf-event-open-sys v4.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking sec1 v0.7.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking wasmi_core v0.13.0 (https://github.com/HashCash-Consultants/wasmi?rev=2329ceae38c43c15607d71474d7be7776f428b3c#2329ceae) [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking perf-event v0.4.8 [INFO] [stderr] Checking tracking-allocator v0.4.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking drawille v0.3.0 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking soroban-test-wasms v21.0.0 (/opt/rustwide/workdir/soroban-test-wasms) [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking textplots v0.8.4 [INFO] [stderr] Checking tabwriter v1.3.0 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking proc-macro2 v1.0.69 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking soroban-wasmi v0.31.1-soroban.20.0.1 (https://github.com/HashCash-Consultants/wasmi?rev=2329ceae38c43c15607d71474d7be7776f428b3c#2329ceae) [INFO] [stderr] Checking ecdsa v0.16.7 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v21.0.0 (/opt/rustwide/workdir/soroban-builtin-sdk-macros) [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking wasmprinter v0.2.72 [INFO] [stderr] Checking thiserror v1.0.55 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking ed25519-dalek v2.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Checking num_enum v0.7.1 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking wycheproof v0.5.1 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling hcnet-strkey v0.0.8 [INFO] [stderr] Compiling hcnet-xdr v21.0.0 (https://github.com/sanjayhashcash/rs-hcnet-xdr?rev=7cd8fd5243da72c6d71b4f5729c0c7e89f5104d9#7cd8fd52) [INFO] [stderr] Compiling soroban-env-common v21.0.0 (/opt/rustwide/workdir/soroban-env-common) [INFO] [stderr] Checking lstsq v0.5.0 [INFO] [stderr] Checking soroban-env-macros v21.0.0 (/opt/rustwide/workdir/soroban-env-macros) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> soroban-env-common/src/storage_type.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, FromPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageType` [INFO] [stdout] 12 | pub enum StorageType { [INFO] [stdout] | ----------- `StorageType` 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] --> soroban-env-common/src/storage_type.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, FromPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageType` [INFO] [stdout] 12 | pub enum StorageType { [INFO] [stdout] | ----------- `StorageType` 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] [stderr] Checking soroban-bench-utils v21.0.0 (/opt/rustwide/workdir/soroban-bench-utils) [INFO] [stderr] Checking soroban-synth-wasm v21.0.0 (/opt/rustwide/workdir/soroban-synth-wasm) [INFO] [stderr] Checking soroban-env-guest v21.0.0 (/opt/rustwide/workdir/soroban-env-guest) [INFO] [stderr] Checking test_no_std v21.0.0 (/opt/rustwide/workdir/soroban-env-common/tests/no_std) [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracy` [INFO] [stdout] --> soroban-bench-utils/src/tracker.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | #[cfg(feature = "tracy")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tracy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `opt_build` [INFO] [stdout] --> soroban-env-host/src/test.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(opt_build)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(opt_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(opt_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> soroban-env-host/src/builtin_contracts/contract_error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractError` [INFO] [stdout] 8 | pub(crate) enum ContractError { [INFO] [stdout] | ------------- `ContractError` 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] [stderr] Checking soroban-simulation v21.0.0 (/opt/rustwide/workdir/soroban-simulation) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> soroban-env-host/src/builtin_contracts/contract_error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractError` [INFO] [stdout] 8 | pub(crate) enum ContractError { [INFO] [stdout] | ------------- `ContractError` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "7e6aa8b96336b242ee71f0f2351b78c6b6816fa140b769f21705491a4abc677c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6aa8b96336b242ee71f0f2351b78c6b6816fa140b769f21705491a4abc677c", kill_on_drop: false }` [INFO] [stdout] 7e6aa8b96336b242ee71f0f2351b78c6b6816fa140b769f21705491a4abc677c