[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] testing BaldyAsh/test-token-solana/e60e997e65e684e95c176dedbc0a31b74e6f16c7 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [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 d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded socket2 v0.4.0 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded base64 v0.13.0 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded num_enum_derive v0.5.1 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded futures-channel v0.3.15 [INFO] [stderr] Downloaded futures-util v0.3.15 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded h2 v0.3.3 [INFO] [stderr] Downloaded http v0.2.4 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded reqwest v0.11.4 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded futures-task v0.3.15 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded indexmap v1.7.0 [INFO] [stderr] Downloaded futures-sink v0.3.15 [INFO] [stderr] Downloaded bumpalo v3.7.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.74 [INFO] [stderr] Downloaded num_enum v0.5.1 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded futures-core v0.3.15 [INFO] [stderr] Downloaded js-sys v0.3.51 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded ed25519 v1.1.1 [INFO] [stderr] Downloaded tracing v0.1.26 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded blake3 v0.3.8 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded tracing-core v0.1.18 [INFO] [stderr] Downloaded cc v1.0.68 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded sct v0.6.1 [INFO] [stderr] Downloaded bytes v1.0.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded tinyvec v1.2.0 [INFO] [stderr] Downloaded encoding_rs v0.8.28 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded jobserver v0.1.22 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded slab v0.4.3 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.74 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded cpufeatures v0.1.5 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded unicode-bidi v0.3.5 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.74 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.74 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded zeroize_derive v1.1.0 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded syn v1.0.73 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94fe6d9cede045f9340f8fbb2d3c850d6b4d274702c1995b529640cdc621fbdc [INFO] running `Command { std: "docker" "start" "-a" "94fe6d9cede045f9340f8fbb2d3c850d6b4d274702c1995b529640cdc621fbdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94fe6d9cede045f9340f8fbb2d3c850d6b4d274702c1995b529640cdc621fbdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fe6d9cede045f9340f8fbb2d3c850d6b4d274702c1995b529640cdc621fbdc", kill_on_drop: false }` [INFO] [stdout] 94fe6d9cede045f9340f8fbb2d3c850d6b4d274702c1995b529640cdc621fbdc [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa8ad6c0dfa9b80bad84bca479975d4548772341bfbef3d44144ec092f44030a [INFO] running `Command { std: "docker" "start" "-a" "fa8ad6c0dfa9b80bad84bca479975d4548772341bfbef3d44144ec092f44030a", kill_on_drop: false }` [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 libc v0.2.98 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [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 atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.7.4 [INFO] [stderr] Compiling blake3 v0.3.8 [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 thiserror-impl v1.0.26 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [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 2m 39s [INFO] running `Command { std: "docker" "inspect" "fa8ad6c0dfa9b80bad84bca479975d4548772341bfbef3d44144ec092f44030a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8ad6c0dfa9b80bad84bca479975d4548772341bfbef3d44144ec092f44030a", kill_on_drop: false }` [INFO] [stdout] fa8ad6c0dfa9b80bad84bca479975d4548772341bfbef3d44144ec092f44030a [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d544bfc69e2eb54ae32c4e335fff1af8b8f7542887fdbd3f532c8cddfd220caa [INFO] running `Command { std: "docker" "start" "-a" "d544bfc69e2eb54ae32c4e335fff1af8b8f7542887fdbd3f532c8cddfd220caa", 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 slab v0.4.3 [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 bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling bytes v0.4.12 [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 futures-macro v0.3.15 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling futures-sink v0.3.15 [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 percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [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 libsecp256k1 v0.3.5 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.8 [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 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 serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [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 h2 v0.3.3 [INFO] [stderr] Compiling serde v1.0.126 [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 bv v0.11.1 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [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 curve25519-dalek v3.1.0 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.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 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] Compiling borsh v0.9.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling solana-program v1.7.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)]` 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)]` 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 5m 46s [INFO] running `Command { std: "docker" "inspect" "d544bfc69e2eb54ae32c4e335fff1af8b8f7542887fdbd3f532c8cddfd220caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d544bfc69e2eb54ae32c4e335fff1af8b8f7542887fdbd3f532c8cddfd220caa", kill_on_drop: false }` [INFO] [stdout] d544bfc69e2eb54ae32c4e335fff1af8b8f7542887fdbd3f532c8cddfd220caa [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8802dc34f79436f9cdb90569c145e81e152b400841c5e20bcd4acf67b26062d0 [INFO] running `Command { std: "docker" "start" "-a" "8802dc34f79436f9cdb90569c145e81e152b400841c5e20bcd4acf67b26062d0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> src/lib.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> src/lib.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:10:35 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenError` [INFO] [stderr] 11 | pub enum TokenError { [INFO] [stderr] | ---------- `TokenError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `test-token-solana` (lib) generated 3 warnings [INFO] [stderr] warning: unused import: `crate::instruction::*` [INFO] [stderr] --> src/processor.rs:320:9 [INFO] [stderr] | [INFO] [stderr] 320 | use crate::instruction::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `account_info::IntoAccountInfo`, `clock::Epoch`, and `sysvar::rent` [INFO] [stderr] --> src/processor.rs:322:9 [INFO] [stderr] | [INFO] [stderr] 322 | account_info::IntoAccountInfo, clock::Epoch, instruction::Instruction, sysvar::rent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `do_process_instruction` is never used [INFO] [stderr] --> src/processor.rs:328:8 [INFO] [stderr] | [INFO] [stderr] 328 | fn do_process_instruction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `do_process_instruction_dups` is never used [INFO] [stderr] --> src/processor.rs:343:8 [INFO] [stderr] | [INFO] [stderr] 343 | fn do_process_instruction_dups( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rent_sysvar` is never used [INFO] [stderr] --> src/processor.rs:350:8 [INFO] [stderr] | [INFO] [stderr] 350 | fn rent_sysvar() -> SolanaAccount { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mint_minimum_balance` is never used [INFO] [stderr] --> src/processor.rs:354:8 [INFO] [stderr] | [INFO] [stderr] 354 | fn mint_minimum_balance() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `account_minimum_balance` is never used [INFO] [stderr] --> src/processor.rs:358:8 [INFO] [stderr] | [INFO] [stderr] 358 | fn account_minimum_balance() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `test-token-solana` (lib test) generated 10 warnings (3 duplicates) (run `cargo fix --lib -p test-token-solana --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/test_token_solana-89c35463d56a860d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test instruction::test::test_init_account1 ... ok [INFO] [stdout] test processor::tests::test_pack_unpack_mint ... ok [INFO] [stdout] test processor::tests::test_pack_unpack_account ... ok [INFO] [stdout] test instruction::test::test_mint1 ... ok [INFO] [stdout] test instruction::test::test_mint2 ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests test_token_solana [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8802dc34f79436f9cdb90569c145e81e152b400841c5e20bcd4acf67b26062d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8802dc34f79436f9cdb90569c145e81e152b400841c5e20bcd4acf67b26062d0", kill_on_drop: false }` [INFO] [stdout] 8802dc34f79436f9cdb90569c145e81e152b400841c5e20bcd4acf67b26062d0