[INFO] cloning repository https://github.com/kelvinkirima014/solTrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kelvinkirima014/solTrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00eea826ce0e0f7d18390d74bcdf356d0afd3eb8 [INFO] checking kelvinkirima014/solTrust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kelvinkirima014/solTrust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kelvinkirima014/solTrust [INFO] finished tweaking git repo https://github.com/kelvinkirima014/solTrust [INFO] tweaked toml for git repo https://github.com/kelvinkirima014/solTrust written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/kelvinkirima014/solTrust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded feature-probe v0.1.1 [INFO] [stderr] Downloaded solana-logger v1.7.4 [INFO] [stderr] Downloaded num_enum_derive v0.5.3 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Downloaded num_enum v0.5.3 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.4 [INFO] [stderr] Downloaded spl-token v3.2.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.4 [INFO] [stderr] Downloaded borsh v0.9.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.0 [INFO] [stderr] Downloaded solana-program v1.7.4 [INFO] [stderr] Downloaded bv v0.11.1 [INFO] [stderr] Downloaded borsh-derive v0.9.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffb6eece9407dd8eee465a468bee604d4d9a677acd6cbe916f32c26901a6f847 [INFO] running `Command { std: "docker" "start" "-a" "ffb6eece9407dd8eee465a468bee604d4d9a677acd6cbe916f32c26901a6f847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffb6eece9407dd8eee465a468bee604d4d9a677acd6cbe916f32c26901a6f847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb6eece9407dd8eee465a468bee604d4d9a677acd6cbe916f32c26901a6f847", kill_on_drop: false }` [INFO] [stdout] ffb6eece9407dd8eee465a468bee604d4d9a677acd6cbe916f32c26901a6f847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ac64f1e89485c64e8e97d92653f1b745314293c29fe13f9a33ef74b78dd882 [INFO] running `Command { std: "docker" "start" "-a" "67ac64f1e89485c64e8e97d92653f1b745314293c29fe13f9a33ef74b78dd882", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] serde v1.0.126 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [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] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking solana-logger v1.7.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking 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 borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.3 [INFO] [stderr] Checking borsh v0.9.0 [INFO] [stderr] Checking num_enum v0.5.3 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking bpf-program-template v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: no rules expected the token `,` [INFO] [stdout] --> src/state.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | ) = array_ref![src, 1, 32, 32, 32, 8]; [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let escrow_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.data_len())?; [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 import: `array_refs` [INFO] [stdout] --> src/state.rs:7:42 [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] warning: unused import: `Pack` [INFO] [stdout] --> src/processor.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{Pack, IsInitialized}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{Pack, IsInitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: no rules expected the token `,` [INFO] [stdout] --> src/state.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | ) = array_ref![src, 1, 32, 32, 32, 8]; [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let escrow_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.data_len())?; [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 import: `array_refs` [INFO] [stdout] --> src/state.rs:7:42 [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] warning: unused import: `Pack` [INFO] [stdout] --> src/processor.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{Pack, IsInitialized}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | program_pack::{Pack, IsInitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "67ac64f1e89485c64e8e97d92653f1b745314293c29fe13f9a33ef74b78dd882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ac64f1e89485c64e8e97d92653f1b745314293c29fe13f9a33ef74b78dd882", kill_on_drop: false }` [INFO] [stdout] 67ac64f1e89485c64e8e97d92653f1b745314293c29fe13f9a33ef74b78dd882