[INFO] cloning repository https://github.com/tmyracle/solana-escrow-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmyracle/solana-escrow-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmyracle%2Fsolana-escrow-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmyracle%2Fsolana-escrow-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03f0333bc952c573159799b4a5b6a4e3b7efd841 [INFO] testing tmyracle/solana-escrow-tutorial against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmyracle%2Fsolana-escrow-tutorial" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmyracle/solana-escrow-tutorial on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmyracle/solana-escrow-tutorial [INFO] finished tweaking git repo https://github.com/tmyracle/solana-escrow-tutorial [INFO] tweaked toml for git repo https://github.com/tmyracle/solana-escrow-tutorial written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/tmyracle/solana-escrow-tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f39a0ccaea977b50cbda2bef8edeee3ee1b78764bb413cf535275b764793883 [INFO] running `Command { std: "docker" "start" "-a" "5f39a0ccaea977b50cbda2bef8edeee3ee1b78764bb413cf535275b764793883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f39a0ccaea977b50cbda2bef8edeee3ee1b78764bb413cf535275b764793883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f39a0ccaea977b50cbda2bef8edeee3ee1b78764bb413cf535275b764793883", kill_on_drop: false }` [INFO] [stdout] 5f39a0ccaea977b50cbda2bef8edeee3ee1b78764bb413cf535275b764793883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36001ab8e4434f05e6d48c422dc87b82eb519b1b4decb05bb449fa8be034bd14 [INFO] running `Command { std: "docker" "start" "-a" "36001ab8e4434f05e6d48c422dc87b82eb519b1b4decb05bb449fa8be034bd14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.9 [INFO] [stderr] Compiling solana-frozen-abi v1.7.9 [INFO] [stderr] Compiling solana-program v1.7.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.23 [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.69 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-logger v1.7.9 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-sdk-macro v1.7.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [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 crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.3 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling bpf-program-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.data.borrow())?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Escrow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array_mut_ref`, `mut_array_refs` [INFO] [stdout] --> src/state.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use arrayref::{array_mut_ref, array_ref, array_refs, mut_array_refs}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `pack_into_slice` [INFO] [stdout] --> src/state.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pack for Escrow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `pack_into_slice` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn pack_into_slice(&self, _: &mut [u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pack` [INFO] [stdout] --> src/processor.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36001ab8e4434f05e6d48c422dc87b82eb519b1b4decb05bb449fa8be034bd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36001ab8e4434f05e6d48c422dc87b82eb519b1b4decb05bb449fa8be034bd14", kill_on_drop: false }` [INFO] [stdout] 36001ab8e4434f05e6d48c422dc87b82eb519b1b4decb05bb449fa8be034bd14