[INFO] cloning repository https://github.com/jumanzi/mona-escrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jumanzi/mona-escrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjumanzi%2Fmona-escrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjumanzi%2Fmona-escrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b987022e6dc58e3b61acd089472fd3c0921f55c [INFO] checking jumanzi/mona-escrow against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjumanzi%2Fmona-escrow" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jumanzi/mona-escrow 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/jumanzi/mona-escrow [INFO] finished tweaking git repo https://github.com/jumanzi/mona-escrow [INFO] tweaked toml for git repo https://github.com/jumanzi/mona-escrow written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/jumanzi/mona-escrow 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded solana-sdk-macro v1.7.0 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded bv v0.11.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.7.0 [INFO] [stderr] Downloaded feature-probe v0.1.1 [INFO] [stderr] Downloaded spl-token v3.1.1 [INFO] [stderr] Downloaded solana-program v1.7.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.7.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded solana-logger v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] 5ac774f88201d442ab497d7278ff5a9f5fe3e847e7c9f5e11ae8daf3f2b1a05b [INFO] running `Command { std: "docker" "start" "-a" "5ac774f88201d442ab497d7278ff5a9f5fe3e847e7c9f5e11ae8daf3f2b1a05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ac774f88201d442ab497d7278ff5a9f5fe3e847e7c9f5e11ae8daf3f2b1a05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac774f88201d442ab497d7278ff5a9f5fe3e847e7c9f5e11ae8daf3f2b1a05b", kill_on_drop: false }` [INFO] [stdout] 5ac774f88201d442ab497d7278ff5a9f5fe3e847e7c9f5e11ae8daf3f2b1a05b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] 1599b6c85497841508754232c9e7becbfe9c72b8663344b140bda516f59db1cb [INFO] running `Command { std: "docker" "start" "-a" "1599b6c85497841508754232c9e7becbfe9c72b8663344b140bda516f59db1cb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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 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 typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.95 [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 feature-probe v0.1.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.0 [INFO] [stderr] Compiling solana-frozen-abi v1.7.0 [INFO] [stderr] Compiling solana-program v1.7.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking solana-logger v1.7.0 [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.25 [INFO] [stderr] Compiling solana-sdk-macro v1.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.25 [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 borsh-derive v0.8.2 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking spl-token v3.1.1 [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[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/entrypoint.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | solana_sdk::{signature::Signer, transaction::Transaction}, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `assert_matches`, `solana_program_test`, `solana_sdk::signature::Signer`, `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/entrypoint.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_matches::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `std::assert_matches` [INFO] [stdout] 21 | solana_program::instruction::{AccountMeta, Instruction}, [INFO] [stdout] 22 | solana_program_test::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program_test` [INFO] [stdout] 23 | solana_sdk::{signature::Signer, transaction::Transaction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/entrypoint.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `processor` in this scope [INFO] [stdout] --> src/entrypoint.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | processor!(process_instruction), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_matches` in this scope [INFO] [stdout] --> src/entrypoint.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_matches!(banks_client.process_transaction(transaction).await, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] core::assert_matches::assert_matches [INFO] [stdout] std::assert_matches::assert_matches [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramTest` [INFO] [stdout] --> src/entrypoint.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut banks_client, payer, recent_blockhash) = ProgramTest::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgramTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/entrypoint.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let mut transaction = Transaction::new_with_payer( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "1599b6c85497841508754232c9e7becbfe9c72b8663344b140bda516f59db1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1599b6c85497841508754232c9e7becbfe9c72b8663344b140bda516f59db1cb", kill_on_drop: false }` [INFO] [stdout] 1599b6c85497841508754232c9e7becbfe9c72b8663344b140bda516f59db1cb