[INFO] fetching crate anchor-modular-program 0.1.3... [INFO] testing anchor-modular-program-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate anchor-modular-program 0.1.3 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate anchor-modular-program 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43ea0e2114722aa15e580a887ca3a7a9bfebdc7122cbf679426c0b23ef02ea81 [INFO] running `Command { std: "docker" "start" "-a" "43ea0e2114722aa15e580a887ca3a7a9bfebdc7122cbf679426c0b23ef02ea81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43ea0e2114722aa15e580a887ca3a7a9bfebdc7122cbf679426c0b23ef02ea81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ea0e2114722aa15e580a887ca3a7a9bfebdc7122cbf679426c0b23ef02ea81", kill_on_drop: false }` [INFO] [stdout] 43ea0e2114722aa15e580a887ca3a7a9bfebdc7122cbf679426c0b23ef02ea81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbec8f508f7c162082a2f25aee358680bce86f547f642172e8d1b8dbca4b4b33 [INFO] running `Command { std: "docker" "start" "-a" "dbec8f508f7c162082a2f25aee358680bce86f547f642172e8d1b8dbca4b4b33", kill_on_drop: false }` [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-modular-program v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.41s [INFO] running `Command { std: "docker" "inspect" "dbec8f508f7c162082a2f25aee358680bce86f547f642172e8d1b8dbca4b4b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbec8f508f7c162082a2f25aee358680bce86f547f642172e8d1b8dbca4b4b33", kill_on_drop: false }` [INFO] [stdout] dbec8f508f7c162082a2f25aee358680bce86f547f642172e8d1b8dbca4b4b33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 936bb0cb837afea64c993d7ec3064da316ed4971cd69848a942370a1cd61f462 [INFO] running `Command { std: "docker" "start" "-a" "936bb0cb837afea64c993d7ec3064da316ed4971cd69848a942370a1cd61f462", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling 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" "936bb0cb837afea64c993d7ec3064da316ed4971cd69848a942370a1cd61f462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936bb0cb837afea64c993d7ec3064da316ed4971cd69848a942370a1cd61f462", kill_on_drop: false }` [INFO] [stdout] 936bb0cb837afea64c993d7ec3064da316ed4971cd69848a942370a1cd61f462