[INFO] fetching crate anchor-modular-program 0.1.3... [INFO] checking anchor-modular-program-0.1.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate anchor-modular-program 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate anchor-modular-program 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate anchor-modular-program 0.1.3 [INFO] tweaked toml for crates.io crate anchor-modular-program 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anchor-modular-program 0.1.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anchor-modular-program 0.1.3 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anchor-syn v0.31.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17d3643345d29a5442a1fa360fe6c8b3439c3385a6970b54df9ebba9c7ac9c3a [INFO] running `Command { std: "docker" "start" "-a" "17d3643345d29a5442a1fa360fe6c8b3439c3385a6970b54df9ebba9c7ac9c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17d3643345d29a5442a1fa360fe6c8b3439c3385a6970b54df9ebba9c7ac9c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d3643345d29a5442a1fa360fe6c8b3439c3385a6970b54df9ebba9c7ac9c3a", kill_on_drop: false }` [INFO] [stdout] 17d3643345d29a5442a1fa360fe6c8b3439c3385a6970b54df9ebba9c7ac9c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 662f7c18f0552c0956228ac46f3cf1a0719bf646d483de294ef337891b529d35 [INFO] running `Command { std: "docker" "start" "-a" "662f7c18f0552c0956228ac46f3cf1a0719bf646d483de294ef337891b529d35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking anchor-syn v0.31.1 [INFO] [stderr] Checking anchor-modular-program v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_program` [INFO] [stdout] --> tests/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_program::anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_program`, use `cargo add test_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_program` [INFO] [stdout] --> tests/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_program::{instruction, entry}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_program`, use `cargo add test_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> tests/test.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | const KEY: Pubkey = Pubkey::new_from_array([0;32]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> tests/test.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_account<'info>() -> AccountInfo<'info> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `anchor_syn::Ty::AccountInfo`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 39 - fn get_account<'info>() -> AccountInfo<'info> { [INFO] [stdout] 39 + fn get_account<'info>() -> anchor_syn::Ty { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_program` [INFO] [stdout] --> tests/test.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | entry(&test_program::ID, &[account], data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_program`, use `cargo add test_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_program` [INFO] [stdout] --> tests/test.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | entry(&test_program::ID, &[account], &data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_program` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_program`, use `cargo add test_program` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> tests/test.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | const KEY: Pubkey = Pubkey::new_from_array([0;32]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> tests/test.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `anchor_syn::Ty::AccountInfo`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 - AccountInfo::new( [INFO] [stdout] 41 + anchor_syn::Ty::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor-modular-program` (test "test") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "662f7c18f0552c0956228ac46f3cf1a0719bf646d483de294ef337891b529d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662f7c18f0552c0956228ac46f3cf1a0719bf646d483de294ef337891b529d35", kill_on_drop: false }` [INFO] [stdout] 662f7c18f0552c0956228ac46f3cf1a0719bf646d483de294ef337891b529d35