[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaldyAsh%2Ftest-token-solana" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BaldyAsh/test-token-solana on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded zeroize_derive v1.1.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded ed25519 v1.1.1 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1db0c351233264a5ab6fcd7d6fa2a17dd9c93b1e879ca7c4cb6c4975cd348913 [INFO] running `Command { std: "docker" "start" "-a" "1db0c351233264a5ab6fcd7d6fa2a17dd9c93b1e879ca7c4cb6c4975cd348913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1db0c351233264a5ab6fcd7d6fa2a17dd9c93b1e879ca7c4cb6c4975cd348913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db0c351233264a5ab6fcd7d6fa2a17dd9c93b1e879ca7c4cb6c4975cd348913", kill_on_drop: false }` [INFO] [stdout] 1db0c351233264a5ab6fcd7d6fa2a17dd9c93b1e879ca7c4cb6c4975cd348913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed66b37a745205a9efde00e7803d144ac89f92dfcd634659cc8b6d9d6a270b0 [INFO] running `Command { std: "docker" "start" "-a" "eed66b37a745205a9efde00e7803d144ac89f92dfcd634659cc8b6d9d6a270b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking uriparse v0.6.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [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 mio v0.7.13 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking solana-logger v1.7.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking jobserver v0.1.22 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking cc v1.0.68 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking libsecp256k1 v0.3.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 tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [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 serde_derive v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [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] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking generic-array v0.14.4 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking derivation-path v0.1.3 [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.10.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking pbkdf2 v0.6.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [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 38.62s [INFO] running `Command { std: "docker" "inspect" "eed66b37a745205a9efde00e7803d144ac89f92dfcd634659cc8b6d9d6a270b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed66b37a745205a9efde00e7803d144ac89f92dfcd634659cc8b6d9d6a270b0", kill_on_drop: false }` [INFO] [stdout] eed66b37a745205a9efde00e7803d144ac89f92dfcd634659cc8b6d9d6a270b0