[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] testing jerry-yu/factory_swap against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-yu%2Ffactory_swap" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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] 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 solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded spl-token v3.1.1 [INFO] [stderr] Downloaded derivation-path v0.1.3 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded uriparse v0.6.3 [INFO] [stderr] Downloaded spl-math v0.1.0 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Downloaded blake3 v0.3.7 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0131a3234fe9a92609f77cb1bc2d0bed3ad790aa25b965fbed4b99518cbece12 [INFO] running `Command { std: "docker" "start" "-a" "0131a3234fe9a92609f77cb1bc2d0bed3ad790aa25b965fbed4b99518cbece12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0131a3234fe9a92609f77cb1bc2d0bed3ad790aa25b965fbed4b99518cbece12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0131a3234fe9a92609f77cb1bc2d0bed3ad790aa25b965fbed4b99518cbece12", kill_on_drop: false }` [INFO] [stdout] 0131a3234fe9a92609f77cb1bc2d0bed3ad790aa25b965fbed4b99518cbece12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cab009be4018028695c3541c48e850ac9eb43dda3a3163b95b2f793e6d6e4a70 [INFO] running `Command { std: "docker" "start" "-a" "cab009be4018028695c3541c48e850ac9eb43dda3a3163b95b2f793e6d6e4a70", kill_on_drop: false }` [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 semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [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 blake3 v0.3.7 [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-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling 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-math v0.1.0 [INFO] [stderr] Compiling spl-token v3.1.1 [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 55.08s [INFO] running `Command { std: "docker" "inspect" "cab009be4018028695c3541c48e850ac9eb43dda3a3163b95b2f793e6d6e4a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab009be4018028695c3541c48e850ac9eb43dda3a3163b95b2f793e6d6e4a70", kill_on_drop: false }` [INFO] [stdout] cab009be4018028695c3541c48e850ac9eb43dda3a3163b95b2f793e6d6e4a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81cc999fae5079bd6bb5476cba7388c439e36d7448c9f4882ad5f2021905fb3e [INFO] running `Command { std: "docker" "start" "-a" "81cc999fae5079bd6bb5476cba7388c439e36d7448c9f4882ad5f2021905fb3e", 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 maybe-uninit v2.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [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 smallvec v0.6.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling mio v0.6.23 [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 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 gimli v0.24.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling tracing v0.1.26 [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 crossbeam-deque v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [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-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tokio v0.1.22 [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 serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [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 tokio-rustls v0.22.0 [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 hyper v0.14.9 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.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 04s [INFO] running `Command { std: "docker" "inspect" "81cc999fae5079bd6bb5476cba7388c439e36d7448c9f4882ad5f2021905fb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81cc999fae5079bd6bb5476cba7388c439e36d7448c9f4882ad5f2021905fb3e", kill_on_drop: false }` [INFO] [stdout] 81cc999fae5079bd6bb5476cba7388c439e36d7448c9f4882ad5f2021905fb3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d62f7041a10e61d8e4c3e2d1b54264faa8c8db0ea09faf79f3275e1b30c426a [INFO] running `Command { std: "docker" "start" "-a" "0d62f7041a10e61d8e4c3e2d1b54264faa8c8db0ea09faf79f3275e1b30c426a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, and `pubkey::Pubkey` [INFO] [stderr] --> src/lib.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | account_info::{next_account_info, AccountInfo}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 3 | entrypoint::ProgramResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | msg, [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | program_error::ProgramError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | pubkey::Pubkey, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BorshDeserialize` and `BorshSerialize` [INFO] [stderr] --> src/processor.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PrintProgramError`, `entrypoint`, and `program_option::COption` [INFO] [stderr] --> src/processor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | entrypoint, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | program_error::{PrintProgramError, ProgramError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | program_option::COption, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> src/entrypoint.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | 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/entrypoint.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | 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: unused import: `program_error::PrintProgramError` [INFO] [stderr] --> src/entrypoint.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | program_error::PrintProgramError, pubkey::Pubkey, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> src/processor.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `factory_swap` (lib) generated 7 warnings (run `cargo fix --lib -p factory_swap` to apply 4 suggestions) [INFO] [stderr] warning: unused import: `FactoryInstruction` [INFO] [stderr] --> src/processor.rs:126:48 [INFO] [stderr] | [INFO] [stderr] 126 | use crate::instruction::{instruction_recv, FactoryInstruction}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AuthorityType`, `approve`, `error::TokenError`, `revoke`, and `set_authority` [INFO] [stderr] --> src/processor.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | error::TokenError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 131 | instruction::{ [INFO] [stderr] 132 | approve, initialize_account, initialize_mint, mint_to, revoke, set_authority, [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 133 | AuthorityType, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `account_b` and `account_b_account` are never read [INFO] [stderr] --> src/processor.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 328 | struct FactoryAccountInfo { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 341 | account_b: Pubkey, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 342 | account_b_account: Account, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `factory_swap` (lib test) generated 10 warnings (7 duplicates) (run `cargo fix --lib -p factory_swap --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/helloworld-3364626f38a45ddc) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test processor::tests::test_recv ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- processor::tests::test_recv stdout ---- [INFO] [stdout] Instruction: InitializeMint [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] Instruction: InitializeMint [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] process_factory_instruction [INFO] [stdout] ---- *** owner AccountInfo { key: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM owner: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 1000000 data.len: 0 } [INFO] [stdout] mint_to [INFO] [stdout] --- AccountInfo { key: UKrXU5bFrTzrqqpZXs8GVDbp4xPweiM65ADXNAy3ddR owner: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 2039280 data.len: 165 data: 06000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000 ... } [INFO] [stdout] ---AccountInfo { key: CiDwVBFgWV9E5MvXWoLgnEgn2hK7rJikbvfWavzAQz3 owner: CiDwVBFgWV9E5MvXWoLgnEgn2hK7rJikbvfWavzAQz3 is_signer: true is_writable: false executable: false rent_epoch: 0 lamports: 1000000 data.len: 0 } [INFO] [stdout] ---AccountInfo { key: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM owner: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 1000000 data.len: 0 } [INFO] [stdout] [INFO] [stdout] TestSyscallStubs::sol_invoke_signed() [INFO] [stdout] ************* instruction Instruction { program_id: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA, accounts: [AccountMeta { pubkey: QRSsyMWN1yHT9ir42bgNZUNZ4PdEhcSWCrL2AryKpy5, is_signer: false, is_writable: true }, AccountMeta { pubkey: UKrXU5bFrTzrqqpZXs8GVDbp4xPweiM65ADXNAy3ddR, is_signer: false, is_writable: true }, AccountMeta { pubkey: CiDwVBFgWV9E5MvXWoLgnEgn2hK7rJikbvfWavzAQz3, is_signer: false, is_writable: false }, AccountMeta { pubkey: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM, is_signer: true, is_writable: false }], data: [7, 10, 0, 0, 0, 0, 0, 0, 0] } invoked account info : [AccountInfo { key: QRSsyMWN1yHT9ir42bgNZUNZ4PdEhcSWCrL2AryKpy5 owner: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 1461600 data.len: 82 data: 010000000300000000000000000000000000000000000000000000000000000000000000e8030000000000000201000000000000000000000000000000000000 ... }, AccountInfo { key: UKrXU5bFrTzrqqpZXs8GVDbp4xPweiM65ADXNAy3ddR owner: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 2039280 data.len: 165 data: 06000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000 ... }, AccountInfo { key: CiDwVBFgWV9E5MvXWoLgnEgn2hK7rJikbvfWavzAQz3 owner: CiDwVBFgWV9E5MvXWoLgnEgn2hK7rJikbvfWavzAQz3 is_signer: true is_writable: false executable: false rent_epoch: 0 lamports: 1000000 data.len: 0 }, AccountInfo { key: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM owner: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM is_signer: false is_writable: false executable: false rent_epoch: 0 lamports: 1000000 data.len: 0 }] [INFO] [stdout] Instruction: MintTo [INFO] [stdout] factory invoke result Ok(()) [INFO] [stdout] --------- new token b amount 1010 [INFO] [stdout] --------- Account { lamports: 1000000 data.len: 0 owner: 4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM executable: false rent_epoch: 0 } [INFO] [stdout] result Ok(()) [INFO] [stdout] [INFO] [stdout] thread 'processor::tests::test_recv' (17) panicked at src/processor.rs:449:9: [INFO] [stdout] assertion failed: res.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60663e97a5b2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60663e97a5b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60663e97a5b2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60663e97a5b2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60663e98a98f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60663e98a98f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60663e947a81 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60663e947a81 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60663e9539e2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60663e95858f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60663e958421 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60663e8d475e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x60663e8d475e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60663e958c4f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x60663e958c4f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60663e958a76 - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x60663e953b29 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60663e93bd2d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60663e9924b0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x60663e99248c - core::panicking::panic::h5b3f22493728bee0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x60663e8a8dd1 - helloworld::processor::tests::test_recv::hdb97ff85abbef498 [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:449:9 [INFO] [stdout] 21: 0x60663e8a8e27 - helloworld::processor::tests::test_recv::{{closure}}::h6752b6aee674bb4e [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:444:19 [INFO] [stdout] 22: 0x60663e8ab226 - core::ops::function::FnOnce::call_once::hcb2d425b213f7588 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x60663e8d451b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x60663e8d451b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x60663e8ea005 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x60663e8ea005 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x60663e8ea005 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x60663e8ea005 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x60663e8ea005 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x60663e8ea005 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x60663e8ea005 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x60663e8c0974 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x60663e8c0974 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x60663e8c431a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x60663e8c431a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x60663e8c431a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x60663e8c431a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x60663e8c431a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x60663e8c431a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x60663e8c431a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x60663e94dc4f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x60663e94dc4f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 43: 0x7cdae3f7faa4 - [INFO] [stdout] 44: 0x7cdae400ca34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] processor::tests::test_recv [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "0d62f7041a10e61d8e4c3e2d1b54264faa8c8db0ea09faf79f3275e1b30c426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d62f7041a10e61d8e4c3e2d1b54264faa8c8db0ea09faf79f3275e1b30c426a", kill_on_drop: false }` [INFO] [stdout] 0d62f7041a10e61d8e4c3e2d1b54264faa8c8db0ea09faf79f3275e1b30c426a