[INFO] cloning repository https://github.com/gwalen/solana-hackathon-collateral [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gwalen/solana-hackathon-collateral" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwalen%2Fsolana-hackathon-collateral", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwalen%2Fsolana-hackathon-collateral'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54efd573ca112625e7c7e2922f9aeef844e31b5b [INFO] testing gwalen/solana-hackathon-collateral against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgwalen%2Fsolana-hackathon-collateral" "/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/gwalen/solana-hackathon-collateral [INFO] finished tweaking git repo https://github.com/gwalen/solana-hackathon-collateral [INFO] tweaked toml for git repo https://github.com/gwalen/solana-hackathon-collateral written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gwalen/solana-hackathon-collateral on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gwalen/solana-hackathon-collateral 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.5.3 [INFO] [stderr] Downloaded solana-logger v1.5.3 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded num_enum_derive v0.5.1 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded derivative v2.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.119 [INFO] [stderr] Downloaded serde v1.0.119 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded bv v0.11.1 [INFO] [stderr] Downloaded thread_local v1.1.0 [INFO] [stderr] Downloaded zeroize v1.2.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded syn v1.0.58 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.3 [INFO] [stderr] Downloaded env_logger v0.8.2 [INFO] [stderr] Downloaded solana-program v1.5.3 [INFO] [stderr] Downloaded num_enum v0.5.1 [INFO] [stderr] Downloaded feature-probe v0.1.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.3 [INFO] [stderr] Downloaded spl-token v3.0.1 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ac37124a3e7ddcdb98b7f0977192b93485a165f42aa32372893b725d474968b [INFO] running `Command { std: "docker" "start" "-a" "5ac37124a3e7ddcdb98b7f0977192b93485a165f42aa32372893b725d474968b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ac37124a3e7ddcdb98b7f0977192b93485a165f42aa32372893b725d474968b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac37124a3e7ddcdb98b7f0977192b93485a165f42aa32372893b725d474968b", kill_on_drop: false }` [INFO] [stdout] 5ac37124a3e7ddcdb98b7f0977192b93485a165f42aa32372893b725d474968b [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273a640490d8dc8e21c5ed56d0a809b36689648109f1eb3f94800b245570790f [INFO] running `Command { std: "docker" "start" "-a" "273a640490d8dc8e21c5ed56d0a809b36689648109f1eb3f94800b245570790f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.3 [INFO] [stderr] Compiling solana-frozen-abi v1.5.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling solana-program v1.5.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling solana-logger v1.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling solana-sdk-macro v1.5.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.0.1 [INFO] [stderr] Compiling cap-collateral v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `pda` in this scope [INFO] [stdout] --> src/processor.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | &pda, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pda` in this scope [INFO] [stdout] --> src/processor.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | &[&pda], [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pdas_temp_token_account` in this scope [INFO] [stdout] --> src/processor.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pdas_temp_token_account.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/processor.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | &[&[&b"cap-collateral"[..], &[nonce]]], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `msg` [INFO] [stdout] --> src/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | msg [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 import: `std::str::from_utf8` [INFO] [stdout] --> src/instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token::state::Account as TokenAccount` [INFO] [stdout] --> src/processor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use spl_token::state::Account as TokenAccount; [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: no expected values for `feature` [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: no expected values for `feature` [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: `Pack` [INFO] [stdout] --> src/processor.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cap-collateral` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "273a640490d8dc8e21c5ed56d0a809b36689648109f1eb3f94800b245570790f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273a640490d8dc8e21c5ed56d0a809b36689648109f1eb3f94800b245570790f", kill_on_drop: false }` [INFO] [stdout] 273a640490d8dc8e21c5ed56d0a809b36689648109f1eb3f94800b245570790f