[INFO] fetching crate solarti-stake-pool 0.7.1... [INFO] testing solarti-stake-pool-0.7.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate solarti-stake-pool 0.7.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate solarti-stake-pool 0.7.1 [INFO] finished tweaking crates.io crate solarti-stake-pool 0.7.1 [INFO] tweaked toml for crates.io crate solarti-stake-pool 0.7.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solarti-stake-pool 0.7.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 532 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding borsh v0.9.3 (available: v1.5.7) [INFO] [stderr] Adding hyper v0.14.29 (available: v0.14.32) [INFO] [stderr] Adding miraland-account-decoder v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-address-lookup-table-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-banks-client v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-banks-interface v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-banks-server v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-bpf-loader-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-bucket-map v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-clap-utils v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-cli-config v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-client v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-compute-budget-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-config-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-faucet v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-frozen-abi v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-frozen-abi-macro v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-logger v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-measure v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-metrics v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-net-utils v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-perf v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-program-runtime v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-program-test v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-rayon-threadlimit v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-remote-wallet v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-runtime v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-sdk v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-sdk-macro v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-send-transaction-service v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-stake-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-streamer v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-transaction-status v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-version v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-vote-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-zk-token-proof-program v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraland-zk-token-sdk v1.14.17-rc4 (available: v1.19.2) [INFO] [stderr] Adding miraplex-token-auth-rules v1.3.0 (available: v1.4.0) [INFO] [stderr] Adding miraplex-token-metadata v1.7.0-beta (available: v1.11.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.4) [INFO] [stderr] Adding reqwest v0.11.17 (available: v0.11.27) [INFO] [stderr] Adding solana_rbpf v0.2.31 (available: v0.2.40) [INFO] [stderr] Adding solarti-associated-token-account v1.1.5 (available: v1.1.8) [INFO] [stderr] Adding solarti-math v0.1.1 (available: v0.1.3) [INFO] [stderr] Adding solarti-memo v3.0.4 (available: v3.0.7) [INFO] [stderr] Adding solarti-token v3.5.3 (available: v3.5.6) [INFO] [stderr] Adding solarti-token-2022 v0.6.4 (available: v0.6.7) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding test-case v2.2.2 (available: v3.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding time v0.3.9 (available: v0.3.44) [INFO] [stderr] Adding time-macros v0.2.4 (available: v0.2.24) [INFO] [stderr] Adding tokio v1.14.1 (available: v1.47.1) [INFO] [stderr] Adding tokio-stream v0.1.12 (available: v0.1.17) [INFO] [stderr] Adding tokio-util v0.7.2 (available: v0.7.16) [INFO] [stderr] Adding winnow v0.4.1 (available: v0.4.12) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9abe07b8d96fa23e4350d1b4bf5dd9a6561fc2820a28c3bde57015e975297fd2 [INFO] running `Command { std: "docker" "start" "-a" "9abe07b8d96fa23e4350d1b4bf5dd9a6561fc2820a28c3bde57015e975297fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9abe07b8d96fa23e4350d1b4bf5dd9a6561fc2820a28c3bde57015e975297fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abe07b8d96fa23e4350d1b4bf5dd9a6561fc2820a28c3bde57015e975297fd2", kill_on_drop: false }` [INFO] [stdout] 9abe07b8d96fa23e4350d1b4bf5dd9a6561fc2820a28c3bde57015e975297fd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f34a00506a58ac44a21c908a88f45b0e25990134117284b33afae94957e63cc [INFO] running `Command { std: "docker" "start" "-a" "0f34a00506a58ac44a21c908a88f45b0e25990134117284b33afae94957e63cc", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling miraland-frozen-abi-macro v1.14.17-rc4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling miraland-frozen-abi v1.14.17-rc4 [INFO] [stderr] Compiling miraland-program v1.14.17-rc4 [INFO] [stderr] Compiling miraland-sdk-macro v1.14.17-rc4 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling miraland-sdk v1.14.17-rc4 [INFO] [stderr] Compiling miraland-logger v1.14.17-rc4 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling winnow v0.4.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling miraplex-token-metadata-context-derive v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling shank_macro_impl v0.0.11 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling shank_macro v0.0.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling shank v0.0.11 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling solarti-token v3.5.3 [INFO] [stderr] Compiling solarti-memo v3.0.4 [INFO] [stderr] Compiling solarti-math v0.1.1 [INFO] [stderr] Compiling miraplex-utils v0.0.6 [INFO] [stderr] Compiling miraland-zk-token-sdk v1.14.17-rc4 [INFO] [stderr] Compiling solarti-token-2022 v0.6.4 [INFO] [stderr] Compiling miraplex-token-auth-rules v1.3.0 [INFO] [stderr] Compiling solarti-associated-token-account v1.1.5 [INFO] [stderr] Compiling miraplex-token-metadata v1.7.0-beta [INFO] [stderr] Compiling solarti-stake-pool v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/entrypoint.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg(all(target_os = "solana", not(feature = "no-entrypoint")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [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: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:1167:13 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut validator_stake_info = maybe_validator_stake_info.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:1317:13 [INFO] [stdout] | [INFO] [stdout] 1317 | let mut validator_stake_info = maybe_validator_stake_info.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:1579:13 [INFO] [stdout] | [INFO] [stdout] 1579 | let mut validator_stake_info = maybe_validator_stake_info.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:1906:17 [INFO] [stdout] | [INFO] [stdout] 1906 | let mut validator_stake_info = maybe_validator_stake_info.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:2011:17 [INFO] [stdout] | [INFO] [stdout] 2011 | let mut validator_stake_info = maybe_validator_stake_info.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:2698:13 [INFO] [stdout] | [INFO] [stdout] 2698 | let mut validator_stake_info = validator_list [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 931 | SolReferral(u8), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:933:19 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 933 | StakeReferral(u8), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:935:11 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 935 | Epoch(Fee), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 937 | StakeWithdrawal(Fee), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:939:16 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 939 | SolDeposit(Fee), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:941:18 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 941 | StakeDeposit(Fee), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:943:19 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 943 | SolWithdrawal(Fee), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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/error.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[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_StakePoolError` [INFO] [stdout] 11 | pub enum StakePoolError { [INFO] [stdout] | -------------- `StakePoolError` 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/state.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | FromPrimitive, Copy, Clone, Debug, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StakeStatus` [INFO] [stdout] 562 | )] [INFO] [stdout] 563 | pub enum StakeStatus { [INFO] [stdout] | ----------- `StakeStatus` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:784:34 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn deserialize_vec(data: &mut [u8]) -> Result<(Self, BigVec), ProgramError> { [INFO] [stdout] | ^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 784 | pub fn deserialize_vec(data: &mut [u8]) -> Result<(Self, BigVec<'_>), ProgramError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.00s [INFO] running `Command { std: "docker" "inspect" "0f34a00506a58ac44a21c908a88f45b0e25990134117284b33afae94957e63cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f34a00506a58ac44a21c908a88f45b0e25990134117284b33afae94957e63cc", kill_on_drop: false }` [INFO] [stdout] 0f34a00506a58ac44a21c908a88f45b0e25990134117284b33afae94957e63cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faf65f91dd674603714a3a92a54a5138563795502f3a05992b44fd9b0bf2a001 [INFO] running `Command { std: "docker" "start" "-a" "faf65f91dd674603714a3a92a54a5138563795502f3a05992b44fd9b0bf2a001", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling tokio v1.14.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling miraland-frozen-abi-macro v1.14.17-rc4 [INFO] [stderr] Compiling miraland-frozen-abi v1.14.17-rc4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling miraland-program v1.14.17-rc4 [INFO] [stderr] Compiling miraland-sdk v1.14.17-rc4 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling miraland-program-runtime v1.14.17-rc4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling miraland-vote-program v1.14.17-rc4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miraland-rayon-threadlimit v1.14.17-rc4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling miraland-perf v1.14.17-rc4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling miraland-address-lookup-table-program v1.14.17-rc4 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling miraland-version v1.14.17-rc4 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [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] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/bin/rustc --crate-name brotli --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brotli-3.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc-stdlib", "benchmark", "default", "disable-timer", "external-literal-probability", "ffi-api", "pass-through-ffi-panics", "seccomp", "sha2", "simd", "std", "validation", "vector_scratch_space"))' -C metadata=9a63fd5c89d01b4c -C extra-filename=-fccb9ce38319a1da --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-06c983927188c99c.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-be9175862277e1f4.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-24ee79edf4d8af6d.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "faf65f91dd674603714a3a92a54a5138563795502f3a05992b44fd9b0bf2a001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf65f91dd674603714a3a92a54a5138563795502f3a05992b44fd9b0bf2a001", kill_on_drop: false }` [INFO] [stdout] faf65f91dd674603714a3a92a54a5138563795502f3a05992b44fd9b0bf2a001