[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#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [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] validating manifest of git repo https://github.com/jerry-yu/factory_swap on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded solana-crate-features v1.7.4 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded solana-sdk v1.7.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f59cdf457a06601328df7c8e3954cc66863a1d071d6ba5c4390f6d0bec3a48e [INFO] running `Command { std: "docker" "start" "-a" "6f59cdf457a06601328df7c8e3954cc66863a1d071d6ba5c4390f6d0bec3a48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f59cdf457a06601328df7c8e3954cc66863a1d071d6ba5c4390f6d0bec3a48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f59cdf457a06601328df7c8e3954cc66863a1d071d6ba5c4390f6d0bec3a48e", kill_on_drop: false }` [INFO] [stdout] 6f59cdf457a06601328df7c8e3954cc66863a1d071d6ba5c4390f6d0bec3a48e [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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cde59b8611e72c933678224acea4f4dd0f6f1a050f641b9a571732e419885738 [INFO] running `Command { std: "docker" "start" "-a" "cde59b8611e72c933678224acea4f4dd0f6f1a050f641b9a571732e419885738", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.7.4 [INFO] [stderr] Compiling blake3 v0.3.7 [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 borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-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 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 zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling borsh v0.7.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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `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`, `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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.63s [INFO] running `Command { std: "docker" "inspect" "cde59b8611e72c933678224acea4f4dd0f6f1a050f641b9a571732e419885738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde59b8611e72c933678224acea4f4dd0f6f1a050f641b9a571732e419885738", kill_on_drop: false }` [INFO] [stdout] cde59b8611e72c933678224acea4f4dd0f6f1a050f641b9a571732e419885738 [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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b4b174c5a76d68a7fe96d69a42d543619b28aff1a58d761b4bf5566b384a3f [INFO] running `Command { std: "docker" "start" "-a" "98b4b174c5a76d68a7fe96d69a42d543619b28aff1a58d761b4bf5566b384a3f", 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 crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling jobserver v0.1.22 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [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 miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tokio-util v0.6.7 [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 tower-service v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crypto-mac v0.7.0 [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-uds v0.2.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling url v2.2.2 [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-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-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 hmac v0.7.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.60 [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 opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [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 webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.72/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=f770ec6e92fe6ebb -C extra-filename=-f770ec6e92fe6ebb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-76dd7224757c9f30.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-45b8d70d4c4c7b01.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-6d30f83d98b71bf0.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "98b4b174c5a76d68a7fe96d69a42d543619b28aff1a58d761b4bf5566b384a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b4b174c5a76d68a7fe96d69a42d543619b28aff1a58d761b4bf5566b384a3f", kill_on_drop: false }` [INFO] [stdout] 98b4b174c5a76d68a7fe96d69a42d543619b28aff1a58d761b4bf5566b384a3f [INFO] testing jerry-yu/factory_swap against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-yu%2Ffactory_swap" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jerry-yu/factory_swap on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 521615fa8a6c7f0cadf492779fec94e8b2592cc7a00960b78d323fb3cbbec56e [INFO] running `Command { std: "docker" "start" "-a" "521615fa8a6c7f0cadf492779fec94e8b2592cc7a00960b78d323fb3cbbec56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "521615fa8a6c7f0cadf492779fec94e8b2592cc7a00960b78d323fb3cbbec56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521615fa8a6c7f0cadf492779fec94e8b2592cc7a00960b78d323fb3cbbec56e", kill_on_drop: false }` [INFO] [stdout] 521615fa8a6c7f0cadf492779fec94e8b2592cc7a00960b78d323fb3cbbec56e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27e0dc2b8e871db858250f321c28f00241d5d3c3ec3e3ee954d1deb81e9473b0 [INFO] running `Command { std: "docker" "start" "-a" "27e0dc2b8e871db858250f321c28f00241d5d3c3ec3e3ee954d1deb81e9473b0", 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 version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.7.4 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-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 num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [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 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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `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`, `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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.97s [INFO] running `Command { std: "docker" "inspect" "27e0dc2b8e871db858250f321c28f00241d5d3c3ec3e3ee954d1deb81e9473b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e0dc2b8e871db858250f321c28f00241d5d3c3ec3e3ee954d1deb81e9473b0", kill_on_drop: false }` [INFO] [stdout] 27e0dc2b8e871db858250f321c28f00241d5d3c3ec3e3ee954d1deb81e9473b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 323779091fff3ea880ddc6c3bd5421b7c08d7d603dd142fd1dc1842bedc499c0 [INFO] running `Command { std: "docker" "start" "-a" "323779091fff3ea880ddc6c3bd5421b7c08d7d603dd142fd1dc1842bedc499c0", 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 crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling jobserver v0.1.22 [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 futures-core v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling smallvec v0.6.14 [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 crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.5 [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 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-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [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 borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling hmac v0.7.1 [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 fake-simd v0.1.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.7.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.24 [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 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 solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [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 hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling solana-crate-features v1.7.4 [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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `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`, `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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `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`, `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`, `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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "323779091fff3ea880ddc6c3bd5421b7c08d7d603dd142fd1dc1842bedc499c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323779091fff3ea880ddc6c3bd5421b7c08d7d603dd142fd1dc1842bedc499c0", kill_on_drop: false }` [INFO] [stdout] 323779091fff3ea880ddc6c3bd5421b7c08d7d603dd142fd1dc1842bedc499c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3fd6dfda6b060d8703663c71791701a328f62c6c98b07237ed8bb1fb1a49ba0 [INFO] running `Command { std: "docker" "start" "-a" "e3fd6dfda6b060d8703663c71791701a328f62c6c98b07237ed8bb1fb1a49ba0", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `msg`, `next_account_info`, `program_error::ProgramError`, `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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BorshDeserialize`, `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`, `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: 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `factory_swap` (lib) generated 5 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`, `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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `factory_swap` (lib test) generated 8 warnings (5 duplicates) (run `cargo fix --lib -p factory_swap --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/helloworld-1c539264d4195d03) [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] thread 'processor::tests::test_recv' panicked at src/processor.rs:449:9: [INFO] [stdout] assertion failed: res.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563cf9656e86 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x563cf9656e86 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563cf9656e86 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x563cf9656e86 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x563cf967e8dc - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x563cf967e8dc - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x563cf96546af - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x563cf9656c34 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x563cf9656c34 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x563cf965892b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x563cf96585fd - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x563cf9618e57 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x563cf9618e57 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x563cf9658f60 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x563cf9658f60 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x563cf9658c69 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:652:13 [INFO] [stdout] 16: 0x563cf9657366 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x563cf96589d4 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x563cf95dfd15 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x563cf95dfdd3 - core::panicking::panic::h9fb5d6cfd10e47f7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x563cf95e2c14 - helloworld::processor::tests::test_recv::h9ea7a509124bdaf1 [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:449:9 [INFO] [stdout] 21: 0x563cf95e4209 - helloworld::processor::tests::test_recv::{{closure}}::ha3411a58674b8d31 [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:444:19 [INFO] [stdout] 22: 0x563cf95e4209 - core::ops::function::FnOnce::call_once::hba02e6596cf20a1b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x563cf961e65f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x563cf961e65f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x563cf961d1d0 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x563cf961d1d0 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x563cf961d1d0 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 28: 0x563cf961d1d0 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 29: 0x563cf961d1d0 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x563cf961d1d0 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x563cf961d1d0 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 32: 0x563cf95e5513 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x563cf95e5513 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x563cf95ea1af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 35: 0x563cf95ea1af - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x563cf95ea1af - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 37: 0x563cf95ea1af - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 38: 0x563cf95ea1af - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x563cf95ea1af - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 40: 0x563cf95ea1af - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x563cf965d1e5 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 42: 0x563cf965d1e5 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x563cf965d1e5 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f977710bac3 - [INFO] [stdout] 45: 0x7f977719cbf4 - __clone [INFO] [stdout] 46: 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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e3fd6dfda6b060d8703663c71791701a328f62c6c98b07237ed8bb1fb1a49ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fd6dfda6b060d8703663c71791701a328f62c6c98b07237ed8bb1fb1a49ba0", kill_on_drop: false }` [INFO] [stdout] e3fd6dfda6b060d8703663c71791701a328f62c6c98b07237ed8bb1fb1a49ba0