[INFO] fetching crate anchor-modular-program 0.1.3... [INFO] checking anchor-modular-program-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate anchor-modular-program 0.1.3 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anchor-modular-program 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6638d06c0b49223ab50cb647c036e6378c3f1ba04bf9681db0ca3448f6c9aad4 [INFO] running `Command { std: "docker" "start" "-a" "6638d06c0b49223ab50cb647c036e6378c3f1ba04bf9681db0ca3448f6c9aad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6638d06c0b49223ab50cb647c036e6378c3f1ba04bf9681db0ca3448f6c9aad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6638d06c0b49223ab50cb647c036e6378c3f1ba04bf9681db0ca3448f6c9aad4", kill_on_drop: false }` [INFO] [stdout] 6638d06c0b49223ab50cb647c036e6378c3f1ba04bf9681db0ca3448f6c9aad4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d526fc91f612df749d09780664d01be6563ab2a08a1e33c423e5781e1ea37e8 [INFO] running `Command { std: "docker" "start" "-a" "9d526fc91f612df749d09780664d01be6563ab2a08a1e33c423e5781e1ea37e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [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 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" "9d526fc91f612df749d09780664d01be6563ab2a08a1e33c423e5781e1ea37e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d526fc91f612df749d09780664d01be6563ab2a08a1e33c423e5781e1ea37e8", kill_on_drop: false }` [INFO] [stdout] 9d526fc91f612df749d09780664d01be6563ab2a08a1e33c423e5781e1ea37e8