[INFO] fetching crate safecoin-exchange-program 1.6.16... [INFO] testing safecoin-exchange-program-1.6.16 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate safecoin-exchange-program 1.6.16 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate safecoin-exchange-program 1.6.16 [INFO] finished tweaking crates.io crate safecoin-exchange-program 1.6.16 [INFO] tweaked toml for crates.io crate safecoin-exchange-program 1.6.16 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safecoin-exchange-program 1.6.16 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 375 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding cc v1.0.49 (available: v1.2.39) [INFO] [stderr] Adding cxx v1.0.97 (available: v1.0.186) [INFO] [stderr] Adding cxx-build v1.0.97 (available: v1.0.186) [INFO] [stderr] Adding cxxbridge-flags v1.0.97 (available: v1.0.186) [INFO] [stderr] Adding cxxbridge-macro v1.0.97 (available: v1.0.186) [INFO] [stderr] Adding iana-time-zone-haiku v0.1.1 (available: v0.1.2) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding reqwest v0.11.6 (available: v0.11.27) [INFO] [stderr] Adding ring v0.16.12 (available: v0.16.20) [INFO] [stderr] Adding safecoin-config-program v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-frozen-abi v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-frozen-abi-macro v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-logger v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-measure v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-metrics v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-program v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-runtime v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-sdk v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-sdk-macro v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-secp256k1-program v1.6.16 (available: v1.8.12) [INFO] [stderr] Adding safecoin-stake-program v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding safecoin-vote-program v1.6.16 (available: v1.14.17) [INFO] [stderr] Adding sct v0.6.0 (available: v0.6.1) [INFO] [stderr] Adding solana-crate-features v1.6.16 (available: v1.8.16) [INFO] [stderr] Adding solana-frozen-abi v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-metrics v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-rayon-threadlimit v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk v1.6.16 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.6.16 (available: v1.18.26) [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 webpki v0.21.2 (available: v0.21.4) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] [stderr] Adding zstd-sys v1.4.18+zstd.1.4.7 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded ouroboros v0.5.1 [INFO] [stderr] Downloaded safecoin-measure v1.6.16 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded solana-program v1.6.16 [INFO] [stderr] Downloaded cc v1.0.49 [INFO] [stderr] Downloaded safecoin-secp256k1-program v1.6.16 [INFO] [stderr] Downloaded solana-metrics v1.6.16 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.6.16 [INFO] [stderr] Downloaded symlink v0.1.0 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.97 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Downloaded safecoin-metrics v1.6.16 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded ring v0.16.12 [INFO] [stderr] Downloaded dir-diff v0.3.3 [INFO] [stderr] Downloaded safecoin-vote-program v1.6.16 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.6.16 [INFO] [stderr] Downloaded cxx v1.0.97 [INFO] [stderr] Downloaded ouroboros_macro v0.5.1 [INFO] [stderr] Downloaded cxx-build v1.0.97 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded safecoin-frozen-abi-macro v1.6.16 [INFO] [stderr] Downloaded safecoin-logger v1.6.16 [INFO] [stderr] Downloaded safecoin-stake-program v1.6.16 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded jemalloc-ctl v0.3.3 [INFO] [stderr] Downloaded solana-frozen-abi v1.6.16 [INFO] [stderr] Downloaded solana-sdk v1.6.16 [INFO] [stderr] Downloaded solana-logger v1.6.16 [INFO] [stderr] Downloaded solana-sdk-macro v1.6.16 [INFO] [stderr] Downloaded safecoin-program v1.6.16 [INFO] [stderr] Downloaded safecoin-config-program v1.6.16 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded safecoin-frozen-abi v1.6.16 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.97 [INFO] [stderr] Downloaded solana-crate-features v1.6.16 [INFO] [stderr] Downloaded safecoin-runtime v1.6.16 [INFO] [stderr] Downloaded safecoin-sdk v1.6.16 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded safecoin-sdk-macro v1.6.16 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e32936aefafb9687abaffc2ef0c27f33dfde0617aceb4a4b4ae067885ad32da4 [INFO] running `Command { std: "docker" "start" "-a" "e32936aefafb9687abaffc2ef0c27f33dfde0617aceb4a4b4ae067885ad32da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e32936aefafb9687abaffc2ef0c27f33dfde0617aceb4a4b4ae067885ad32da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32936aefafb9687abaffc2ef0c27f33dfde0617aceb4a4b4ae067885ad32da4", kill_on_drop: false }` [INFO] [stdout] e32936aefafb9687abaffc2ef0c27f33dfde0617aceb4a4b4ae067885ad32da4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e0ce344d7bf3e22e806ed8b58a9f8072bbbeabd6d22bceff44615521c94e8c [INFO] running `Command { std: "docker" "start" "-a" "73e0ce344d7bf3e22e806ed8b58a9f8072bbbeabd6d22bceff44615521c94e8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling solana-frozen-abi v1.6.16 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling solana-logger v1.6.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling safecoin-program v1.6.16 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling safecoin-sdk v1.6.16 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling safecoin-logger v1.6.16 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.6.16 [INFO] [stderr] Compiling safecoin-sdk-macro v1.6.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling solana-crate-features v1.6.16 [INFO] [stderr] Compiling safecoin-metrics v1.6.16 [INFO] [stderr] Compiling safecoin-exchange-program v1.6.16 (/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/exchange_processor.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Error, Debug, Serialize, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ExchangeError` [INFO] [stdout] 23 | pub enum ExchangeError { [INFO] [stdout] | ------------- `ExchangeError` 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/exchange_processor.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Error, Debug, Serialize, Clone, PartialEq, FromPrimitive, 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_ExchangeError` [INFO] [stdout] 23 | pub enum ExchangeError { [INFO] [stdout] | ------------- `ExchangeError` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.70s [INFO] running `Command { std: "docker" "inspect" "73e0ce344d7bf3e22e806ed8b58a9f8072bbbeabd6d22bceff44615521c94e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e0ce344d7bf3e22e806ed8b58a9f8072bbbeabd6d22bceff44615521c94e8c", kill_on_drop: false }` [INFO] [stdout] 73e0ce344d7bf3e22e806ed8b58a9f8072bbbeabd6d22bceff44615521c94e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9acd512ba0f131c8127aa8ed0541f4f4ffcc4f6b99ba234fb95d69a5a28432 [INFO] running `Command { std: "docker" "start" "-a" "cb9acd512ba0f131c8127aa8ed0541f4f4ffcc4f6b99ba234fb95d69a5a28432", kill_on_drop: false }` [INFO] [stderr] Compiling solana-program v1.6.16 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling solana-sdk v1.6.16 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling safecoin-vote-program v1.6.16 [INFO] [stderr] Compiling safecoin-frozen-abi-macro v1.6.16 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling safecoin-stake-program v1.6.16 [INFO] [stderr] Compiling safecoin-frozen-abi v1.6.16 [INFO] [stderr] Compiling safecoin-config-program v1.6.16 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling safecoin-runtime v1.6.16 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling dir-diff v0.3.3 [INFO] [stderr] Compiling safecoin-secp256k1-program v1.6.16 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.6.16 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/exchange_processor.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Error, Debug, Serialize, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ExchangeError` [INFO] [stdout] 23 | pub enum ExchangeError { [INFO] [stdout] | ------------- `ExchangeError` 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/exchange_processor.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Error, Debug, Serialize, Clone, PartialEq, FromPrimitive, 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_ExchangeError` [INFO] [stdout] 23 | pub enum ExchangeError { [INFO] [stdout] | ------------- `ExchangeError` 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] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling ouroboros_macro v0.5.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stdout] error[E0463]: can't find crate for `solana_frozen_abi_macro` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/safecoin-frozen-abi-1.6.16/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate solana_frozen_abi_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ouroboros v0.5.1 [INFO] [stdout] error: cannot find derive macro `AbiExample` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/safecoin-frozen-abi-1.6.16/src/hash.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(AbiExample)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use safecoin_frozen_abi_macro::AbiExample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safecoin-frozen-abi` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cb9acd512ba0f131c8127aa8ed0541f4f4ffcc4f6b99ba234fb95d69a5a28432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9acd512ba0f131c8127aa8ed0541f4f4ffcc4f6b99ba234fb95d69a5a28432", kill_on_drop: false }` [INFO] [stdout] cb9acd512ba0f131c8127aa8ed0541f4f4ffcc4f6b99ba234fb95d69a5a28432