[INFO] cloning repository https://github.com/ukangaekom/escrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ukangaekom/escrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Fescrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Fescrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02356ae03c11af61cd5da675809be79cd2abf29f [INFO] checking ukangaekom/escrow against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Fescrow" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ukangaekom/escrow [INFO] finished tweaking git repo https://github.com/ukangaekom/escrow [INFO] tweaked toml for git repo https://github.com/ukangaekom/escrow written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ukangaekom/escrow on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ukangaekom/escrow 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86ce35bb530f3e4dc36af422cf2af9898ff3615ba9acb05a9565bb2160a6042c [INFO] running `Command { std: "docker" "start" "-a" "86ce35bb530f3e4dc36af422cf2af9898ff3615ba9acb05a9565bb2160a6042c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86ce35bb530f3e4dc36af422cf2af9898ff3615ba9acb05a9565bb2160a6042c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ce35bb530f3e4dc36af422cf2af9898ff3615ba9acb05a9565bb2160a6042c", kill_on_drop: false }` [INFO] [stdout] 86ce35bb530f3e4dc36af422cf2af9898ff3615ba9acb05a9565bb2160a6042c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfd3e53bfc55ca3a36d5b19651826652fdd06ff97922cddaf97ee3468680cbe7 [INFO] running `Command { std: "docker" "start" "-a" "cfd3e53bfc55ca3a36d5b19651826652fdd06ff97922cddaf97ee3468680cbe7", kill_on_drop: false }` [INFO] [stderr] Checking escrow v0.1.0 (/opt/rustwide/workdir/programs/escrow) [INFO] [stdout] error[E0583]: file not found for module `errors` [INFO] [stdout] --> programs/escrow/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `errors`, create file "programs/escrow/src/errors.rs" or "programs/escrow/src/errors/mod.rs" [INFO] [stdout] = note: if there is a `mod errors` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `initialize` [INFO] [stdout] --> programs/escrow/src/instructions/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod initialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `initialize`, create file "programs/escrow/src/instructions/initialize.rs" or "programs/escrow/src/instructions/initialize/mod.rs" [INFO] [stdout] = note: if there is a `mod initialize` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `errors` [INFO] [stdout] --> programs/escrow/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `errors`, create file "programs/escrow/src/errors.rs" or "programs/escrow/src/errors/mod.rs" [INFO] [stdout] = note: if there is a `mod errors` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `initialize` [INFO] [stdout] --> programs/escrow/src/instructions/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod initialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `initialize`, create file "programs/escrow/src/instructions/initialize.rs" or "programs/escrow/src/instructions/initialize/mod.rs" [INFO] [stdout] = note: if there is a `mod initialize` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_lang::prelud` [INFO] [stdout] --> programs/escrow/src/lib.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelud::*; [INFO] [stdout] | ^^^^^^ could not find `prelud` in `anchor_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_lang::prelud` [INFO] [stdout] --> programs/escrow/src/lib.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelud::*; [INFO] [stdout] | ^^^^^^ could not find `prelud` in `anchor_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_id` in this scope [INFO] [stdout] --> programs/escrow/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | declare_id!("F4GoauSrJTPm7Q6e4MHnSo38Z5s26xYgfcBfTMpw8xTD"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro `crate::take_offer::__cpi_client_accounts_take_offer::declare_id` exists but is inaccessible [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use anchor_lang::declare_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_id` in this scope [INFO] [stdout] --> programs/escrow/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | declare_id!("F4GoauSrJTPm7Q6e4MHnSo38Z5s26xYgfcBfTMpw8xTD"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro `crate::take_offer::__cpi_client_accounts_take_offer::declare_id` exists but is inaccessible [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use anchor_lang::declare_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> programs/escrow/src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attribute macro `crate::take_offer::__cpi_client_accounts_take_offer::program` exists but is inaccessible [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use anchor_lang::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> programs/escrow/src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attribute macro `crate::take_offer::__cpi_client_accounts_take_offer::program` exists but is inaccessible [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use anchor_lang::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instructions::*` [INFO] [stdout] --> programs/escrow/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use instructions::*; [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: `instructions::*` [INFO] [stdout] --> programs/escrow/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use instructions::*; [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: `initialize::*` [INFO] [stdout] --> programs/escrow/src/instructions/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use initialize::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initialize::*` [INFO] [stdout] --> programs/escrow/src/instructions/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use initialize::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_offer(context: Context) -> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_offer(context: Context) -> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn take_offer(context: Context) -> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 25 | pub fn take_offer(context: Context) -> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn refund_offer(context: Context)-> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 31 | pub fn refund_offer(context: Context)-> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_offer(context: Context) -> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_offer(context: Context) -> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn take_offer(context: Context) -> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 25 | pub fn take_offer(context: Context) -> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn refund_offer(context: Context)-> Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 31 | pub fn refund_offer(context: Context)-> Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escrow` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `escrow` (lib) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfd3e53bfc55ca3a36d5b19651826652fdd06ff97922cddaf97ee3468680cbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd3e53bfc55ca3a36d5b19651826652fdd06ff97922cddaf97ee3468680cbe7", kill_on_drop: false }` [INFO] [stdout] cfd3e53bfc55ca3a36d5b19651826652fdd06ff97922cddaf97ee3468680cbe7