[INFO] fetching crate asset-agnostic-orderbook 1.1.0... [INFO] testing asset-agnostic-orderbook-1.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate asset-agnostic-orderbook 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate asset-agnostic-orderbook 1.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate asset-agnostic-orderbook 1.1.0 [INFO] tweaked toml for crates.io crate asset-agnostic-orderbook 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate asset-agnostic-orderbook 1.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 604 packages to latest compatible versions [INFO] [stderr] Adding bonfida-utils v0.4.4 (available: v0.7.0) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding gnuplot v0.0.37 (available: v0.0.46) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.5) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding solana-program v1.18.26 (available: v3.0.0) [INFO] [stderr] Adding solana-program-test v1.18.26 (available: v3.0.10) [INFO] [stderr] Adding solana-sdk v1.18.26 (available: v3.0.0) [INFO] [stderr] Adding solana_rbpf v0.8.3 (available: v0.8.5) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case-macros v3.3.1 [INFO] [stderr] Downloaded enum-iterator-derive v1.5.0 [INFO] [stderr] Downloaded test-case-core v3.3.1 [INFO] [stderr] Downloaded solana-vote v1.18.26 [INFO] [stderr] Downloaded solana-stake-program v1.18.26 [INFO] [stderr] Downloaded bonfida-macros v0.4.4 [INFO] [stderr] Downloaded spl-name-service v0.3.1 [INFO] [stderr] Downloaded pyth-sdk v0.4.2 [INFO] [stderr] Downloaded bonfida-utils v0.4.4 [INFO] [stderr] Downloaded pyth-sdk-solana v0.4.2 [INFO] [stderr] Downloaded solana-program-test v1.18.26 [INFO] [stderr] Downloaded gnuplot v0.0.37 [INFO] [stderr] Downloaded solana-runtime v1.18.26 [INFO] [stderr] Downloaded index_list v0.2.17 [INFO] [stderr] Downloaded caps v0.5.6 [INFO] [stderr] Downloaded solana-accounts-db v1.18.26 [INFO] [stderr] Downloaded solana-bpf-loader-program v1.18.26 [INFO] [stderr] Downloaded solana-loader-v4-program v1.18.26 [INFO] [stderr] Downloaded solana-zk-token-proof-program v1.18.26 [INFO] [stderr] Downloaded solana-banks-interface v1.18.26 [INFO] [stderr] Downloaded solana-send-transaction-service v1.18.26 [INFO] [stderr] Downloaded solana-bucket-map v1.18.26 [INFO] [stderr] Downloaded solana-compute-budget-program v1.18.26 [INFO] [stderr] Downloaded solana-cost-model v1.18.26 [INFO] [stderr] Downloaded hexdump v0.1.2 [INFO] [stderr] Downloaded solana-banks-server v1.18.26 [INFO] [stderr] Downloaded solana-system-program v1.18.26 [INFO] [stderr] Downloaded solana-banks-client v1.18.26 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.18.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bde1cca81fbb1b69ea543fe34314024b9970fb80fd49fa4f0ababdcd1474e07 [INFO] running `Command { std: "docker" "start" "-a" "0bde1cca81fbb1b69ea543fe34314024b9970fb80fd49fa4f0ababdcd1474e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bde1cca81fbb1b69ea543fe34314024b9970fb80fd49fa4f0ababdcd1474e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bde1cca81fbb1b69ea543fe34314024b9970fb80fd49fa4f0ababdcd1474e07", kill_on_drop: false }` [INFO] [stdout] 0bde1cca81fbb1b69ea543fe34314024b9970fb80fd49fa4f0ababdcd1474e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77b1340f8bd3b3732fbc56af457aec4271084394350ab195d1cdf7089fa5e6e8 [INFO] running `Command { std: "docker" "start" "-a" "77b1340f8bd3b3732fbc56af457aec4271084394350ab195d1cdf7089fa5e6e8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.105 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [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 borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hex v0.4.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 libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.7 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling pyth-sdk v0.4.2 [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.2.0 [INFO] [stderr] Compiling spl-name-service v0.3.1 [INFO] [stderr] Compiling spl-token v4.0.0 [INFO] [stderr] Compiling pyth-sdk-solana v0.4.2 [INFO] [stderr] Compiling bonfida-macros v0.4.4 [INFO] [stderr] Compiling bonfida-utils v0.4.4 [INFO] [stderr] Compiling asset-agnostic-orderbook v1.1.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/error.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug, Error, 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_AoError` [INFO] [stdout] 10 | pub enum AoError { [INFO] [stdout] | ------- `AoError` 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/instruction.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(BorshDeserialize, BorshSerialize, 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_AgnosticOrderbookInstruction` [INFO] [stdout] 14 | /// Describes all possible instructions and their required accounts [INFO] [stdout] 15 | pub enum AgnosticOrderbookInstruction { [INFO] [stdout] | ---------------------------- `AgnosticOrderbookInstruction` 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/state.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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_Side` [INFO] [stdout] ... [INFO] [stdout] 44 | pub enum Side { [INFO] [stdout] | ---- `Side` 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/state.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Side` [INFO] [stdout] ... [INFO] [stdout] 44 | pub enum Side { [INFO] [stdout] | ---- `Side` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(BorshDeserialize, BorshSerialize, Clone, PartialEq, FromPrimitive, BorshSize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SelfTradeBehavior` [INFO] [stdout] 60 | /// Describes what happens when two order with identical callback informations are matched together [INFO] [stdout] 61 | pub enum SelfTradeBehavior { [INFO] [stdout] | ----------------- `SelfTradeBehavior` 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/state/event_queue.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(FromPrimitive, Clone, Copy, CheckedBitPattern, NoUninit)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EventTag` [INFO] [stdout] 94 | #[repr(u8)] [INFO] [stdout] 95 | pub(crate) enum EventTag { [INFO] [stdout] | -------- `EventTag` 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 01s [INFO] running `Command { std: "docker" "inspect" "77b1340f8bd3b3732fbc56af457aec4271084394350ab195d1cdf7089fa5e6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b1340f8bd3b3732fbc56af457aec4271084394350ab195d1cdf7089fa5e6e8", kill_on_drop: false }` [INFO] [stdout] 77b1340f8bd3b3732fbc56af457aec4271084394350ab195d1cdf7089fa5e6e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 364a3d8395f1f57d0d40aa7a1f19004c235bfaa47441c5620ece2f4feb6e312b [INFO] running `Command { std: "docker" "start" "-a" "364a3d8395f1f57d0d40aa7a1f19004c235bfaa47441c5620ece2f4feb6e312b", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling compression-core v0.4.30 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling solana-program-runtime v1.18.26 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling compression-codecs v0.4.32 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling goblin v0.5.4 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling solana-logger v1.18.26 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling solana-vote-program v1.18.26 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling solana-version v1.18.26 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.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 --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(loom)' --check-cfg 'cfg(mio_unsupported_force_poll_poll)' --check-cfg 'cfg(tokio_allow_from_blocking_fd)' --check-cfg 'cfg(tokio_internal_mt_counters)' --check-cfg 'cfg(tokio_no_parking_lot)' --check-cfg 'cfg(tokio_no_tuning_tests)' --check-cfg 'cfg(tokio_unstable)' --check-cfg 'cfg(target_os, values("cygwin"))' --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="full"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --cfg 'feature="windows-sys"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-uring", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "taskdump", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=5bb73171eab32c50 -C extra-filename=-622537fef853d262 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-5123f14f31b09f0b.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-16c58d00f52d7ac7.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-16a1624ee75064be.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-bedc6e0acd72ff2a.rmeta --extern signal_hook_registry=/opt/rustwide/target/debug/deps/libsignal_hook_registry-14e7508bd0e6dbac.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a73ad5df8447450a.rmeta --extern tokio_macros=/opt/rustwide/target/debug/deps/libtokio_macros-959a071182ecc05a.so --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" "364a3d8395f1f57d0d40aa7a1f19004c235bfaa47441c5620ece2f4feb6e312b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364a3d8395f1f57d0d40aa7a1f19004c235bfaa47441c5620ece2f4feb6e312b", kill_on_drop: false }` [INFO] [stdout] 364a3d8395f1f57d0d40aa7a1f19004c235bfaa47441c5620ece2f4feb6e312b