[INFO] fetching crate tensor-amm 1.0.0... [INFO] testing tensor-amm-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tensor-amm 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tensor-amm 1.0.0 [INFO] finished tweaking crates.io crate tensor-amm 1.0.0 [INFO] tweaked toml for crates.io crate tensor-amm 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tensor-amm 1.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 672 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.29.0 (available: v0.31.1) [INFO] [stderr] Adding array-bytes v1.4.1 (available: v1.6.0) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding solana-account-decoder v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-address-lookup-table-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-interface v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-banks-server v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-bpf-loader-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-bucket-map v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-clap-utils v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-compute-budget-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-config-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-connection-cache v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-loader-v4-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-measure v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-metrics v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-net-utils v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-perf v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-program-runtime v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-program-test v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-pubsub-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-quic-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-rayon-threadlimit v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-remote-wallet v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client-api v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-rpc-client-nonce-utils v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-runtime v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-send-transaction-service v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-stake-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-streamer v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-system-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-thin-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-tpu-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-transaction-status v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-udp-client v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-version v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-vote-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-zk-token-proof-program v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding solana-zk-token-sdk v1.16.15 (available: v1.18.26) [INFO] [stderr] Adding spl-associated-token-account v2.2.0 (available: v2.3.0) [INFO] [stderr] Adding spl-math v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding spl-memo v4.0.3 (available: v4.0.4) [INFO] [stderr] Adding spl-token v4.0.2 (available: v4.0.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tensor-whitelist v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.16.15 [INFO] [stderr] Downloaded solana-sdk-macro v1.16.15 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.16.15 [INFO] [stderr] Downloaded solana-banks-interface v1.16.15 [INFO] [stderr] Downloaded solana-client v1.16.15 [INFO] [stderr] Downloaded solana-tpu-client v1.16.15 [INFO] [stderr] Downloaded solana-frozen-abi v1.16.15 [INFO] [stderr] Downloaded solana-version v1.16.15 [INFO] [stderr] Downloaded solana-thin-client v1.16.15 [INFO] [stderr] Downloaded solana-clap-utils v1.16.15 [INFO] [stderr] Downloaded solana-quic-client v1.16.15 [INFO] [stderr] Downloaded solana-banks-client v1.16.15 [INFO] [stderr] Downloaded solana-net-utils v1.16.15 [INFO] [stderr] Downloaded solana-remote-wallet v1.16.15 [INFO] [stderr] Downloaded solana-rpc-client v1.16.15 [INFO] [stderr] Downloaded solana-stake-program v1.16.15 [INFO] [stderr] Downloaded solana-metrics v1.16.15 [INFO] [stderr] Downloaded solana-program v1.16.15 [INFO] [stderr] Downloaded solana-program-test v1.16.15 [INFO] [stderr] Downloaded solana-program-runtime v1.16.15 [INFO] [stderr] Downloaded solana-vote-program v1.16.15 [INFO] [stderr] Downloaded solana-connection-cache v1.16.15 [INFO] [stderr] Downloaded solana-transaction-status v1.16.15 [INFO] [stderr] Downloaded solana-send-transaction-service v1.16.15 [INFO] [stderr] Downloaded solana-loader-v4-program v1.16.15 [INFO] [stderr] Downloaded solana-perf v1.16.15 [INFO] [stderr] Downloaded solana-streamer v1.16.15 [INFO] [stderr] Downloaded solana-bpf-loader-program v1.16.15 [INFO] [stderr] Downloaded solana-banks-server v1.16.15 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.16.15 [INFO] [stderr] Downloaded solana-bucket-map v1.16.15 [INFO] [stderr] Downloaded solana-udp-client v1.16.15 [INFO] [stderr] Downloaded solana-rpc-client-api v1.16.15 [INFO] [stderr] Downloaded solana-system-program v1.16.15 [INFO] [stderr] Downloaded solana-zk-token-proof-program v1.16.15 [INFO] [stderr] Downloaded solana-measure v1.16.15 [INFO] [stderr] Downloaded solana-rpc-client-nonce-utils v1.16.15 [INFO] [stderr] Downloaded solana-pubsub-client v1.16.15 [INFO] [stderr] Downloaded solana-account-decoder v1.16.15 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.16.15 [INFO] [stderr] Downloaded solana-sdk v1.16.15 [INFO] [stderr] Downloaded solana-compute-budget-program v1.16.15 [INFO] [stderr] Downloaded solana-config-program v1.16.15 [INFO] [stderr] Downloaded tensor-whitelist v0.1.0 [INFO] [stderr] Downloaded solana-runtime v1.16.15 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.16.15 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b039c28559851acf613e9b85f7bc2526b759f537100bb7945bb7e77eda3c739f [INFO] running `Command { std: "docker" "start" "-a" "b039c28559851acf613e9b85f7bc2526b759f537100bb7945bb7e77eda3c739f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b039c28559851acf613e9b85f7bc2526b759f537100bb7945bb7e77eda3c739f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b039c28559851acf613e9b85f7bc2526b759f537100bb7945bb7e77eda3c739f", kill_on_drop: false }` [INFO] [stdout] b039c28559851acf613e9b85f7bc2526b759f537100bb7945bb7e77eda3c739f [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16bf96da89f8ea737ce0fce98d6435f1dd6427c59566e2f250a5592e367d7cbb [INFO] running `Command { std: "docker" "start" "-a" "16bf96da89f8ea737ce0fce98d6435f1dd6427c59566e2f250a5592e367d7cbb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.16.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-frozen-abi v1.16.15 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-sdk-macro v1.16.15 [INFO] [stderr] Compiling array-bytes v1.4.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.16.15 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [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 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 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 tiny-bip39 v0.8.2 [INFO] [stderr] Compiling ark-ff 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 spl-math v0.2.0 [INFO] [stderr] Compiling tensor-amm v1.0.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_amm.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_TensorAmmError` [INFO] [stdout] 12 | pub enum TensorAmmError { [INFO] [stdout] | -------------- `TensorAmmError` 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/curve_type.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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_CurveType` [INFO] [stdout] ... [INFO] [stdout] 30 | pub enum CurveType { [INFO] [stdout] | --------- `CurveType` 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/direction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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_Direction` [INFO] [stdout] ... [INFO] [stdout] 26 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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/pool_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 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_PoolType` [INFO] [stdout] ... [INFO] [stdout] 32 | pub enum PoolType { [INFO] [stdout] | -------- `PoolType` 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/taker_side.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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_TakerSide` [INFO] [stdout] ... [INFO] [stdout] 26 | pub enum TakerSide { [INFO] [stdout] | --------- `TakerSide` 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/transfer_direction.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_TransferDirection` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum TransferDirection { [INFO] [stdout] | ----------------- `TransferDirection` 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 36.28s [INFO] running `Command { std: "docker" "inspect" "16bf96da89f8ea737ce0fce98d6435f1dd6427c59566e2f250a5592e367d7cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16bf96da89f8ea737ce0fce98d6435f1dd6427c59566e2f250a5592e367d7cbb", kill_on_drop: false }` [INFO] [stdout] 16bf96da89f8ea737ce0fce98d6435f1dd6427c59566e2f250a5592e367d7cbb [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 319b900da7aa30d7ff8508f834ae2a184a77e4b75974577c96be85900c664a6a [INFO] running `Command { std: "docker" "start" "-a" "319b900da7aa30d7ff8508f834ae2a184a77e4b75974577c96be85900c664a6a", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.16.15 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling solana-frozen-abi v1.16.15 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling solana-program v1.16.15 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling solana-sdk-macro v1.16.15 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling solana-sdk v1.16.15 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling solana-logger v1.16.15 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling solana-program-runtime v1.16.15 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling solana-vote-program v1.16.15 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling solana_rbpf v0.6.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling solana-sha256-hasher v2.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.16.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling solana-version v1.16.15 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling compression-codecs v0.4.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling solana-perf v1.16.15 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.16.15 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling socket2 v0.4.10 [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/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_taskdump)' --check-cfg 'cfg(tokio_unstable)' --check-cfg 'cfg(tokio_uring)' --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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=137f8d5ffaa59cf1 -C extra-filename=-5f78c768c2150962 --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-6ff14bdbae7df518.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-fe6705667b7d5975.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-91adfcd77f31170a.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-f5c79e880fb2e29e.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-eb03072834f8462a.rmeta --extern tokio_macros=/opt/rustwide/target/debug/deps/libtokio_macros-c9a065b4e9dbd546.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" "319b900da7aa30d7ff8508f834ae2a184a77e4b75974577c96be85900c664a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319b900da7aa30d7ff8508f834ae2a184a77e4b75974577c96be85900c664a6a", kill_on_drop: false }` [INFO] [stdout] 319b900da7aa30d7ff8508f834ae2a184a77e4b75974577c96be85900c664a6a