[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] building BaldyAsh/test-token-solana against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaldyAsh%2Ftest-token-solana" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BaldyAsh/test-token-solana on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded solana-program 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 pbkdf2 v0.6.0 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded ed25519 v1.1.1 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5449d42d0afa255a3e7d2a7b8f4de49179e92971cdca60a13b5490d0ac391a41 [INFO] running `Command { std: "docker" "start" "-a" "5449d42d0afa255a3e7d2a7b8f4de49179e92971cdca60a13b5490d0ac391a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5449d42d0afa255a3e7d2a7b8f4de49179e92971cdca60a13b5490d0ac391a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5449d42d0afa255a3e7d2a7b8f4de49179e92971cdca60a13b5490d0ac391a41", kill_on_drop: false }` [INFO] [stdout] 5449d42d0afa255a3e7d2a7b8f4de49179e92971cdca60a13b5490d0ac391a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51de7620d22cb3475e7615e2dfd7fd04559481ee5e49e2814b411f162056ca07 [INFO] running `Command { std: "docker" "start" "-a" "51de7620d22cb3475e7615e2dfd7fd04559481ee5e49e2814b411f162056ca07", kill_on_drop: false }` [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 libc v0.2.98 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.7.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.04s [INFO] running `Command { std: "docker" "inspect" "51de7620d22cb3475e7615e2dfd7fd04559481ee5e49e2814b411f162056ca07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51de7620d22cb3475e7615e2dfd7fd04559481ee5e49e2814b411f162056ca07", kill_on_drop: false }` [INFO] [stdout] 51de7620d22cb3475e7615e2dfd7fd04559481ee5e49e2814b411f162056ca07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d76a76da57689fe8cad10583854c4cca8ba3bc81b8fca67de26bcf96cb718a [INFO] running `Command { std: "docker" "start" "-a" "75d76a76da57689fe8cad10583854c4cca8ba3bc81b8fca67de26bcf96cb718a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [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 solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling solana-crate-features v1.7.4 [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "75d76a76da57689fe8cad10583854c4cca8ba3bc81b8fca67de26bcf96cb718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d76a76da57689fe8cad10583854c4cca8ba3bc81b8fca67de26bcf96cb718a", kill_on_drop: false }` [INFO] [stdout] 75d76a76da57689fe8cad10583854c4cca8ba3bc81b8fca67de26bcf96cb718a