[INFO] cloning repository https://github.com/jerry-yu/factory_swap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jerry-yu/factory_swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-yu%2Ffactory_swap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-yu%2Ffactory_swap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06f75980603a7ab018d0244502a34cca288d27d7 [INFO] building jerry-yu/factory_swap against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-yu%2Ffactory_swap" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jerry-yu/factory_swap [INFO] finished tweaking git repo https://github.com/jerry-yu/factory_swap [INFO] tweaked toml for git repo https://github.com/jerry-yu/factory_swap written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jerry-yu/factory_swap on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jerry-yu/factory_swap 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 thiserror v1.0.24 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded js-sys v0.3.51 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded syn v1.0.72 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded sct v0.6.1 [INFO] [stderr] Downloaded futures-task v0.3.15 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded reqwest v0.11.4 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded bumpalo v3.7.0 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded futures-util v0.3.15 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded h2 v0.3.3 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded tracing v0.1.26 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded blake3 v0.3.7 [INFO] [stderr] Downloaded futures-channel v0.3.15 [INFO] [stderr] Downloaded indexmap v1.7.0 [INFO] [stderr] Downloaded http v0.2.4 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded socket2 v0.4.0 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded net2 v0.2.37 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded ed25519 v1.1.1 [INFO] [stderr] Downloaded futures-core v0.3.15 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.74 [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded futures-sink v0.3.15 [INFO] [stderr] Downloaded encoding_rs v0.8.28 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded bytes v1.0.1 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded tracing-core v0.1.18 [INFO] [stderr] Downloaded unicode-bidi v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded slab v0.4.3 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded zeroize_derive v1.1.0 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded tinyvec v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.74 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.74 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded num_enum_derive v0.5.1 [INFO] [stderr] Downloaded jobserver v0.1.22 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded toml v0.5.8 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded env_logger v0.8.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.74 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded spl-math v0.1.0 [INFO] [stderr] Downloaded num_enum v0.5.1 [INFO] [stderr] Downloaded cc v1.0.68 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded spl-token v3.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fac9654692ac89e0f8adb139738a042bab5ce723d176d67fb1584458ed9d74e [INFO] running `Command { std: "docker" "start" "-a" "3fac9654692ac89e0f8adb139738a042bab5ce723d176d67fb1584458ed9d74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fac9654692ac89e0f8adb139738a042bab5ce723d176d67fb1584458ed9d74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fac9654692ac89e0f8adb139738a042bab5ce723d176d67fb1584458ed9d74e", kill_on_drop: false }` [INFO] [stdout] 3fac9654692ac89e0f8adb139738a042bab5ce723d176d67fb1584458ed9d74e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d000104cd59cd3f512643515824eafdfc1d7cd90a5911a7822b129376b4f94be [INFO] running `Command { std: "docker" "start" "-a" "d000104cd59cd3f512643515824eafdfc1d7cd90a5911a7822b129376b4f94be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.7.4 [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 borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [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 borsh-derive v0.7.2 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling thiserror v1.0.24 [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-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.1.1 [INFO] [stderr] Compiling spl-math v0.1.0 [INFO] [stderr] Compiling factory_swap v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, and `pubkey::Pubkey` [INFO] [stdout] --> src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | entrypoint::ProgramResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pubkey::Pubkey, [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: `BorshDeserialize` and `BorshSerialize` [INFO] [stdout] --> src/processor.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrintProgramError`, `entrypoint`, and `program_option::COption` [INFO] [stdout] --> src/processor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entrypoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | program_error::{PrintProgramError, ProgramError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | program_option::COption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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: `program_error::PrintProgramError` [INFO] [stdout] --> src/entrypoint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | program_error::PrintProgramError, pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d000104cd59cd3f512643515824eafdfc1d7cd90a5911a7822b129376b4f94be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d000104cd59cd3f512643515824eafdfc1d7cd90a5911a7822b129376b4f94be", kill_on_drop: false }` [INFO] [stdout] d000104cd59cd3f512643515824eafdfc1d7cd90a5911a7822b129376b4f94be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82a1745271bd57fb1e316700a70b6169d3229bda27edeccb5b80e2c701ae301d [INFO] running `Command { std: "docker" "start" "-a" "82a1745271bd57fb1e316700a70b6169d3229bda27edeccb5b80e2c701ae301d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [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 bytes v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling smallvec v0.6.14 [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 proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [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 rustls v0.19.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [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 idna v0.2.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [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 syn v0.15.44 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling quote v0.6.13 [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 borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [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 fake-simd v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling tokio v0.1.22 [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 chrono v0.4.19 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling borsh v0.7.2 [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 bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.1.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 solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.9.0 [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 spl-math v0.1.0 [INFO] [stderr] Compiling spl-token v3.1.1 [INFO] [stderr] Compiling solana-crate-features v1.7.4 [INFO] [stderr] Compiling factory_swap v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, and `pubkey::Pubkey` [INFO] [stdout] --> src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | entrypoint::ProgramResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pubkey::Pubkey, [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: `BorshDeserialize` and `BorshSerialize` [INFO] [stdout] --> src/processor.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrintProgramError`, `entrypoint`, and `program_option::COption` [INFO] [stdout] --> src/processor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entrypoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | program_error::{PrintProgramError, ProgramError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | program_option::COption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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: `program_error::PrintProgramError` [INFO] [stdout] --> src/entrypoint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | program_error::PrintProgramError, pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, and `pubkey::Pubkey` [INFO] [stdout] --> src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | entrypoint::ProgramResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pubkey::Pubkey, [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: `BorshDeserialize` and `BorshSerialize` [INFO] [stdout] --> src/processor.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrintProgramError`, `entrypoint`, and `program_option::COption` [INFO] [stdout] --> src/processor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entrypoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | program_error::{PrintProgramError, ProgramError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | program_option::COption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FactoryInstruction` [INFO] [stdout] --> src/processor.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::instruction::{instruction_recv, FactoryInstruction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthorityType`, `approve`, `error::TokenError`, `revoke`, and `set_authority` [INFO] [stdout] --> src/processor.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | error::TokenError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | instruction::{ [INFO] [stdout] 132 | approve, initialize_account, initialize_mint, mint_to, revoke, set_authority, [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 133 | AuthorityType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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/entrypoint.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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: `program_error::PrintProgramError` [INFO] [stdout] --> src/entrypoint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | program_error::PrintProgramError, pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> src/processor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account_b` and `account_b_account` are never read [INFO] [stdout] --> src/processor.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 328 | struct FactoryAccountInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 341 | account_b: Pubkey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 342 | account_b_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "82a1745271bd57fb1e316700a70b6169d3229bda27edeccb5b80e2c701ae301d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a1745271bd57fb1e316700a70b6169d3229bda27edeccb5b80e2c701ae301d", kill_on_drop: false }` [INFO] [stdout] 82a1745271bd57fb1e316700a70b6169d3229bda27edeccb5b80e2c701ae301d