[INFO] cloning repository https://github.com/BaldyAsh/test-token-solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BaldyAsh/test-token-solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaldyAsh%2Ftest-token-solana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaldyAsh%2Ftest-token-solana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e60e997e65e684e95c176dedbc0a31b74e6f16c7 [INFO] checking BaldyAsh/test-token-solana against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaldyAsh%2Ftest-token-solana" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BaldyAsh/test-token-solana [INFO] finished tweaking git repo https://github.com/BaldyAsh/test-token-solana [INFO] tweaked toml for git repo https://github.com/BaldyAsh/test-token-solana written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BaldyAsh/test-token-solana on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BaldyAsh/test-token-solana already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded num_enum_derive v0.5.1 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded tracing-core v0.1.18 [INFO] [stderr] Downloaded jobserver v0.1.22 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded h2 v0.3.3 [INFO] [stderr] Downloaded tracing v0.1.26 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded num_enum v0.5.1 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded ed25519 v1.1.1 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded zeroize_derive v1.1.0 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 401a307d417a2ea884d0b5fa94848ec54f27a5b4652b0b010fa94cfb64019772 [INFO] running `Command { std: "docker" "start" "-a" "401a307d417a2ea884d0b5fa94848ec54f27a5b4652b0b010fa94cfb64019772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "401a307d417a2ea884d0b5fa94848ec54f27a5b4652b0b010fa94cfb64019772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401a307d417a2ea884d0b5fa94848ec54f27a5b4652b0b010fa94cfb64019772", kill_on_drop: false }` [INFO] [stdout] 401a307d417a2ea884d0b5fa94848ec54f27a5b4652b0b010fa94cfb64019772 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa7224303f01b5f03fc4062dd2e90b395a4380b6bbce0989e57092a22f68f01 [INFO] running `Command { std: "docker" "start" "-a" "9aa7224303f01b5f03fc4062dd2e90b395a4380b6bbce0989e57092a22f68f01", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking uriparse v0.6.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking solana-logger v1.7.4 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking derivation-path v0.1.3 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking pbkdf2 v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking borsh v0.9.0 [INFO] [stderr] Checking solana-crate-features v1.7.4 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking test-token-solana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (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/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_TokenError` [INFO] [stdout] 11 | pub enum TokenError { [INFO] [stdout] | ---------- `TokenError` 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: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::*` [INFO] [stdout] --> src/processor.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use crate::instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `account_info::IntoAccountInfo`, `clock::Epoch`, and `sysvar::rent` [INFO] [stdout] --> src/processor.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | account_info::IntoAccountInfo, clock::Epoch, instruction::Instruction, sysvar::rent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_process_instruction` is never used [INFO] [stdout] --> src/processor.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn do_process_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_process_instruction_dups` is never used [INFO] [stdout] --> src/processor.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn do_process_instruction_dups( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rent_sysvar` is never used [INFO] [stdout] --> src/processor.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn rent_sysvar() -> SolanaAccount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mint_minimum_balance` is never used [INFO] [stdout] --> src/processor.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn mint_minimum_balance() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_minimum_balance` is never used [INFO] [stdout] --> src/processor.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | fn account_minimum_balance() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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_TokenError` [INFO] [stdout] 11 | pub enum TokenError { [INFO] [stdout] | ---------- `TokenError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.86s [INFO] running `Command { std: "docker" "inspect" "9aa7224303f01b5f03fc4062dd2e90b395a4380b6bbce0989e57092a22f68f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7224303f01b5f03fc4062dd2e90b395a4380b6bbce0989e57092a22f68f01", kill_on_drop: false }` [INFO] [stdout] 9aa7224303f01b5f03fc4062dd2e90b395a4380b6bbce0989e57092a22f68f01