[INFO] fetching crate anchor-generate-cpi-interface 0.3.1... [INFO] testing anchor-generate-cpi-interface-0.3.1 against try#5a3d3b91048a0adf280e7a4e589c1dda6443f172 for pr-115235 [INFO] extracting crate anchor-generate-cpi-interface 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate anchor-generate-cpi-interface 0.3.1 on toolchain 5a3d3b91048a0adf280e7a4e589c1dda6443f172 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate anchor-generate-cpi-interface 0.3.1 [INFO] finished tweaking crates.io crate anchor-generate-cpi-interface 0.3.1 [INFO] tweaked toml for crates.io crate anchor-generate-cpi-interface 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb77e6ac7dff36c5d0f27655712a304ed2a5deb5ae8008dd2fed8c1b7bf9cceb [INFO] running `Command { std: "docker" "start" "-a" "cb77e6ac7dff36c5d0f27655712a304ed2a5deb5ae8008dd2fed8c1b7bf9cceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb77e6ac7dff36c5d0f27655712a304ed2a5deb5ae8008dd2fed8c1b7bf9cceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb77e6ac7dff36c5d0f27655712a304ed2a5deb5ae8008dd2fed8c1b7bf9cceb", kill_on_drop: false }` [INFO] [stdout] cb77e6ac7dff36c5d0f27655712a304ed2a5deb5ae8008dd2fed8c1b7bf9cceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281bfc260050f602bc08b1c998f815bbcf5c631a7218b9b2e3db4ef4bf1d4b1f [INFO] running `Command { std: "docker" "start" "-a" "281bfc260050f602bc08b1c998f815bbcf5c631a7218b9b2e3db4ef4bf1d4b1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-idl v0.3.1 [INFO] [stderr] Compiling anchor-generate-cpi-interface v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.89s [INFO] running `Command { std: "docker" "inspect" "281bfc260050f602bc08b1c998f815bbcf5c631a7218b9b2e3db4ef4bf1d4b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281bfc260050f602bc08b1c998f815bbcf5c631a7218b9b2e3db4ef4bf1d4b1f", kill_on_drop: false }` [INFO] [stdout] 281bfc260050f602bc08b1c998f815bbcf5c631a7218b9b2e3db4ef4bf1d4b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0c57a6ccfa1f2770e3ea90d1fad90dba28109c5342496a1040e61524de3251 [INFO] running `Command { std: "docker" "start" "-a" "7d0c57a6ccfa1f2770e3ea90d1fad90dba28109c5342496a1040e61524de3251", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-generate-cpi-interface v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anchor-lang v0.24.2 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.94s [INFO] running `Command { std: "docker" "inspect" "7d0c57a6ccfa1f2770e3ea90d1fad90dba28109c5342496a1040e61524de3251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0c57a6ccfa1f2770e3ea90d1fad90dba28109c5342496a1040e61524de3251", kill_on_drop: false }` [INFO] [stdout] 7d0c57a6ccfa1f2770e3ea90d1fad90dba28109c5342496a1040e61524de3251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ef345b10d9434fb4cc3442ee07e9703f65f191342a0ffe8cbf756541c1b8018 [INFO] running `Command { std: "docker" "start" "-a" "7ef345b10d9434fb4cc3442ee07e9703f65f191342a0ffe8cbf756541c1b8018", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anchor_generate_cpi_interface-281dd7aa92898fc4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests anchor_generate_cpi_interface [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - generate_cpi_interface (line 30) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - generate_cpi_interface (line 30) stdout ---- [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | anchor_generate_cpi_interface::generate_cpi_interface!(idl_path = "../../examples/govern-cpi/idl.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_id` in this scope [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 5 | declare_id!("GjphYQcbP1m3FuDyCTUJf2mUMxKPE3j6feWU1rxvC7Ps"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use anchor_lang::declare_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceParameters` in this scope [INFO] [stdout] --> src/lib.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 7 | let _my_governor = GovernanceParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> 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] 6 | fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - generate_cpi_interface (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7ef345b10d9434fb4cc3442ee07e9703f65f191342a0ffe8cbf756541c1b8018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef345b10d9434fb4cc3442ee07e9703f65f191342a0ffe8cbf756541c1b8018", kill_on_drop: false }` [INFO] [stdout] 7ef345b10d9434fb4cc3442ee07e9703f65f191342a0ffe8cbf756541c1b8018