[INFO] cloning repository https://github.com/ranman911/vulnerable.so
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ranman911/vulnerable.so" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franman911%2Fvulnerable.so", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franman911%2Fvulnerable.so'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 955a8e7c6ad0e5991297651ff08604e5423bac1c
[INFO] testing ranman911/vulnerable.so against beta-2026-03-05 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franman911%2Fvulnerable.so" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/ranman911/vulnerable.so
[INFO] finished tweaking git repo https://github.com/ranman911/vulnerable.so
[INFO] tweaked toml for git repo https://github.com/ranman911/vulnerable.so written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ranman911/vulnerable.so on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ranman911/vulnerable.so 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" "+beta-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 475af15af7d61cd548a9bc78b4aa6d8778c01c36f30dede3f25ad259844459d0
[INFO] running `Command { std: "docker" "start" "-a" "475af15af7d61cd548a9bc78b4aa6d8778c01c36f30dede3f25ad259844459d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "475af15af7d61cd548a9bc78b4aa6d8778c01c36f30dede3f25ad259844459d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "475af15af7d61cd548a9bc78b4aa6d8778c01c36f30dede3f25ad259844459d0", kill_on_drop: false }`
[INFO] [stdout] 475af15af7d61cd548a9bc78b4aa6d8778c01c36f30dede3f25ad259844459d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c3cc1727ff634fa15829ff48e98bae8221b0e8e6eab0a6eefdd8e14c0acca74
[INFO] running `Command { std: "docker" "start" "-a" "4c3cc1727ff634fa15829ff48e98bae8221b0e8e6eab0a6eefdd8e14c0acca74", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling borsh v1.6.0
[INFO] [stderr]    Compiling five8_core v0.1.2
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling five8 v0.2.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling solana-atomic-u64 v2.2.1
[INFO] [stderr]    Compiling solana-sanitize v2.2.1
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling five8_const v0.1.4
[INFO] [stderr]    Compiling solana-decode-error v2.3.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling solana-msg v2.2.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling solana-program-memory v2.3.1
[INFO] [stderr]    Compiling solana-program-error v3.0.0
[INFO] [stderr]    Compiling solana-define-syscall v2.3.0
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling solana-address v2.0.0
[INFO] [stderr]    Compiling solana-program-option v2.2.1
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling solana-account-view v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling pinocchio v0.10.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling ark-std v0.4.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.18.26
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling anchor-derive-space v0.32.1
[INFO] [stderr]    Compiling ark-serialize-derive v0.4.2
[INFO] [stderr]    Compiling ark-ff-asm v0.4.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling borsh-derive v1.6.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling solana-sdk-macro v2.2.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling blake3 v1.8.3
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling solana-frozen-abi v1.18.26
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling solana-program v1.18.26
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling constant_time_eq v0.4.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling solana-sdk-macro v1.18.26
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling anchor-derive-space v0.30.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling anchor-syn v0.32.1
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]    Compiling anchor-syn v0.30.1
[INFO] [stderr]    Compiling solana-hash v2.3.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling solana-fee-calculator v2.2.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.2
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]    Compiling ark-serialize v0.4.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling borsh v0.10.4
[INFO] [stderr]    Compiling solana-sha256-hasher v2.3.0
[INFO] [stderr]    Compiling ark-ff v0.4.2
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling pbkdf2 v0.4.0
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling solana-pubkey v2.4.0
[INFO] [stderr]    Compiling solana-sdk-ids v2.2.1
[INFO] [stderr]    Compiling solana-instruction v2.3.3
[INFO] [stderr]    Compiling solana-sysvar-id v2.2.1
[INFO] [stderr]    Compiling solana-clock v2.2.2
[INFO] [stderr]    Compiling solana-last-restart-slot v2.2.1
[INFO] [stderr]    Compiling solana-program-error v2.2.2
[INFO] [stderr]    Compiling solana-system-interface v1.0.0
[INFO] [stderr]    Compiling solana-serialize-utils v2.2.1
[INFO] [stderr]    Compiling solana-account-info v2.3.0
[INFO] [stderr]    Compiling solana-program-entrypoint v2.3.0
[INFO] [stderr]    Compiling solana-cpi v2.2.1
[INFO] [stderr]    Compiling solana-instructions-sysvar v2.2.2
[INFO] [stderr]    Compiling solana-stake-interface v1.2.1
[INFO] [stderr]    Compiling solana-stable-layout v2.2.1
[INFO] [stderr]    Compiling solana-slot-history v2.2.1
[INFO] [stderr]    Compiling solana-epoch-rewards v2.2.1
[INFO] [stderr]    Compiling solana-slot-hashes v2.2.1
[INFO] [stderr]    Compiling solana-epoch-schedule v2.2.1
[INFO] [stderr]    Compiling solana-rent v2.2.1
[INFO] [stderr]    Compiling solana-invoke v0.4.0
[INFO] [stderr]    Compiling solana-loader-v3-interface v3.0.0
[INFO] [stderr]    Compiling solana-program-pack v2.2.1
[INFO] [stderr]    Compiling solana-feature-gate-interface v2.2.2
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling tiny-bip39 v0.8.2
[INFO] [stderr]    Compiling solana-sysvar v2.3.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-event v0.32.1
[INFO] [stderr]    Compiling anchor-derive-accounts v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-program v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.32.1
[INFO] [stderr]    Compiling anchor-derive-serde v0.32.1
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.30.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.30.1
[INFO] [stderr]    Compiling anchor-attribute-account v0.30.1
[INFO] [stderr]    Compiling anchor-derive-serde v0.30.1
[INFO] [stderr]    Compiling anchor-attribute-program v0.30.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.30.1
[INFO] [stderr]    Compiling anchor-derive-accounts v0.30.1
[INFO] [stderr]    Compiling anchor-attribute-event v0.30.1
[INFO] [stderr]    Compiling anchor-lang v0.32.1
[INFO] [stderr]    Compiling ark-poly v0.4.2
[INFO] [stderr]    Compiling cpi-reentrancy-fix v0.1.0 (/opt/rustwide/workdir/programs/04b-cpi-reentrancy-fix)
[INFO] [stderr]    Compiling unsafe-arithmetic-attacker v0.1.0 (/opt/rustwide/workdir/programs/03c-unsafe-arithmetic-attacker)
[INFO] [stderr]    Compiling incorrect-authority-fix v0.1.0 (/opt/rustwide/workdir/programs/02b-incorrect-authority-fix)
[INFO] [stderr]    Compiling signer-privilege-vuln v0.1.0 (/opt/rustwide/workdir/programs/05a-signer-privilege-escalation-vuln)
[INFO] [stderr]    Compiling missing-account-vuln v0.1.0 (/opt/rustwide/workdir/programs/01a-missing-account-validation-vuln)
[INFO] [stderr]    Compiling unsafe-arithmetic-vuln v0.1.0 (/opt/rustwide/workdir/programs/03a-unsafe-arithmetic-vuln)
[INFO] [stderr]    Compiling ark-ec v0.4.2
[INFO] [stderr]    Compiling missing-account-fix v0.1.0 (/opt/rustwide/workdir/programs/01b-missing-account-validation-fix)
[INFO] [stderr]    Compiling signer-privilege-attacker v0.1.0 (/opt/rustwide/workdir/programs/05c-signer-privilege-escalation-attacker)
[INFO] [stderr]    Compiling missing-account-attacker v0.1.0 (/opt/rustwide/workdir/programs/01c-missing-account-validation-attacker)
[INFO] [stderr]    Compiling incorrect-authority-attacker v0.1.0 (/opt/rustwide/workdir/programs/02c-incorrect-authority-attacker)
[INFO] [stderr]    Compiling unsafe-arithmetic-fix v0.1.0 (/opt/rustwide/workdir/programs/03b-unsafe-arithmetic-fix)
[INFO] [stderr]    Compiling incorrect-authority-vuln v0.1.0 (/opt/rustwide/workdir/programs/02a-incorrect-authority-vuln)
[INFO] [stderr]    Compiling signer-privilege-fix v0.1.0 (/opt/rustwide/workdir/programs/05b-signer-privilege-escalation-fix)
[INFO] [stderr]    Compiling cpi-reentrancy-vuln v0.1.0 (/opt/rustwide/workdir/programs/04a-cpi-reentrancy-vuln)
[INFO] [stderr]    Compiling ark-bn254 v0.4.0
[INFO] [stderr]    Compiling light-poseidon v0.2.0
[INFO] [stderr]    Compiling anchor-lang v0.30.1
[INFO] [stderr]    Compiling cpi-reentrancy-attacker v0.1.0 (/opt/rustwide/workdir/programs/04c-cpi-reentrancy-attacker)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s
[INFO] running `Command { std: "docker" "inspect" "4c3cc1727ff634fa15829ff48e98bae8221b0e8e6eab0a6eefdd8e14c0acca74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c3cc1727ff634fa15829ff48e98bae8221b0e8e6eab0a6eefdd8e14c0acca74", kill_on_drop: false }`
[INFO] [stdout] 4c3cc1727ff634fa15829ff48e98bae8221b0e8e6eab0a6eefdd8e14c0acca74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0ec381d43d546c84b3354ef58692c4ee483b464cea4cfcd407aff6cf4d4b96d
[INFO] running `Command { std: "docker" "start" "-a" "e0ec381d43d546c84b3354ef58692c4ee483b464cea4cfcd407aff6cf4d4b96d", kill_on_drop: false }`
[INFO] [stderr]    Compiling missing-account-fix v0.1.0 (/opt/rustwide/workdir/programs/01b-missing-account-validation-fix)
[INFO] [stderr]    Compiling unsafe-arithmetic-fix v0.1.0 (/opt/rustwide/workdir/programs/03b-unsafe-arithmetic-fix)
[INFO] [stderr]    Compiling missing-account-vuln v0.1.0 (/opt/rustwide/workdir/programs/01a-missing-account-validation-vuln)
[INFO] [stderr]    Compiling unsafe-arithmetic-vuln v0.1.0 (/opt/rustwide/workdir/programs/03a-unsafe-arithmetic-vuln)
[INFO] [stderr]    Compiling incorrect-authority-vuln v0.1.0 (/opt/rustwide/workdir/programs/02a-incorrect-authority-vuln)
[INFO] [stderr]    Compiling incorrect-authority-fix v0.1.0 (/opt/rustwide/workdir/programs/02b-incorrect-authority-fix)
[INFO] [stderr]    Compiling cpi-reentrancy-attacker v0.1.0 (/opt/rustwide/workdir/programs/04c-cpi-reentrancy-attacker)
[INFO] [stderr]    Compiling signer-privilege-attacker v0.1.0 (/opt/rustwide/workdir/programs/05c-signer-privilege-escalation-attacker)
[INFO] [stderr]    Compiling signer-privilege-vuln v0.1.0 (/opt/rustwide/workdir/programs/05a-signer-privilege-escalation-vuln)
[INFO] [stderr]    Compiling incorrect-authority-attacker v0.1.0 (/opt/rustwide/workdir/programs/02c-incorrect-authority-attacker)
[INFO] [stderr]    Compiling unsafe-arithmetic-attacker v0.1.0 (/opt/rustwide/workdir/programs/03c-unsafe-arithmetic-attacker)
[INFO] [stderr]    Compiling missing-account-attacker v0.1.0 (/opt/rustwide/workdir/programs/01c-missing-account-validation-attacker)
[INFO] [stderr]    Compiling cpi-reentrancy-fix v0.1.0 (/opt/rustwide/workdir/programs/04b-cpi-reentrancy-fix)
[INFO] [stderr]    Compiling signer-privilege-fix v0.1.0 (/opt/rustwide/workdir/programs/05b-signer-privilege-escalation-fix)
[INFO] [stderr]    Compiling cpi-reentrancy-vuln v0.1.0 (/opt/rustwide/workdir/programs/04a-cpi-reentrancy-vuln)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.20s
[INFO] running `Command { std: "docker" "inspect" "e0ec381d43d546c84b3354ef58692c4ee483b464cea4cfcd407aff6cf4d4b96d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0ec381d43d546c84b3354ef58692c4ee483b464cea4cfcd407aff6cf4d4b96d", kill_on_drop: false }`
[INFO] [stdout] e0ec381d43d546c84b3354ef58692c4ee483b464cea4cfcd407aff6cf4d4b96d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 69ab0af19f9eabca0a4c21c254e2f45e425ccb35d0fccebf67b4ba1690aceefd
[INFO] running `Command { std: "docker" "start" "-a" "69ab0af19f9eabca0a4c21c254e2f45e425ccb35d0fccebf67b4ba1690aceefd", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cpi_reentrancy_attacker-80799c55b383f0df)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cpi_reentrancy_fix-3d0eee854cef078d)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::fix_blocks_reentrancy_and_checks_funds ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cpi_reentrancy_vuln-7e1a65d0d1404c67)
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/incorrect_authority_attacker-542188827f9654a7)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::vuln_allows_stale_write_after_external_call ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::attack_fails_against_fixed_program ... ok
[INFO] [stdout] test tests::attack_succeeds_against_vulnerable_program ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/incorrect_authority_fix-c5bb94943e0a3b48)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::safe_enforces_admin_and_bounds ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/incorrect_authority_vuln-db14847df30e9e6b)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::vuln_allows_non_admin_to_set_fee ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/missing_account_attacker-d74a138fff3c52c1)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::attack_succeeds_against_vulnerable_program ... ok
[INFO] [stdout] test tests::attack_fails_against_fixed_program ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/missing_account_fix-6effb3749c04600d)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/missing_account_vuln-84313efb70af8af0)
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::safe_accepts_pda_and_updates_content ... ok
[INFO] [stdout] test tests::safe_rejects_wrong_owner ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::vulnerable_allows_foreign_owner_overwrite ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signer_privilege_attacker-aedb000fd5d1a082)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signer_privilege_fix-6a31fb01ee705651)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::fix_requires_owner_to_toggle ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/signer_privilege_vuln-81c86885679a64d4)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::vuln_allows_any_signer_to_toggle ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_arithmetic_attacker-8946b14a54e1384c)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::underflow_succeeds_against_vulnerable_program ... ok
[INFO] [stdout] test tests::underflow_blocked_by_fixed_program ... ok
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_arithmetic_fix-ee43cd6edbddcb16)
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test tests::safe_blocks_underflow_and_allows_valid_withdraw ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_arithmetic_vuln-a8467018b7bee3d6)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_id ... ok
[INFO] [stderr]    Doc-tests cpi_reentrancy_attacker
[INFO] [stdout] test tests::vuln_wraps_on_underflow ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker::reentrancy_hook (line 148) ... ok
[INFO] [stdout] test programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 28) ... FAILED
[INFO] [stdout] test programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 80) ... FAILED
[INFO] [stdout] test programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker::reentrancy_hook (line 134) ... FAILED
[INFO] [stdout] test programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 64) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn unsafe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Withdraw` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:30:37
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn unsafe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn unsafe_withdraw<Withdraw>(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:30:64
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn unsafe_withdraw(ctx: Context<Withdraw>, amount: u64) -> 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] 30 | pub fn unsafe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<(), E> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `cpi` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     cpi::notify_external_program(&ctx.accounts.notifier)?;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `cpi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cpi`, use `cargo add cpi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 80) stdout ----
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 |     require!(!ctx.accounts.vault.locked, ErrorCode::Locked);
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:81:3
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[account]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 80 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Withdraw` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:87:35
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn safe_withdraw<Withdraw>(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:87:62
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> 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] 87 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<(), E> {
[INFO] [stdout]    |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `cpi` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     cpi::notify_external_program(&ctx.accounts.notifier)?;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `cpi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cpi`, use `cargo add cpi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker::reentrancy_hook (line 134) stdout ----
[INFO] [stdout] error: cannot find macro `msg` in this scope
[INFO] [stdout]    --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | msg!("Victim balance: {}", balance);
[INFO] [stdout]     | ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope
[INFO] [stdout]    --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 | let vault_data = ctx.accounts.victim_vault.try_borrow_data()?;
[INFO] [stdout]     |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 64) stdout ----
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     require!(amount <= ctx.accounts.vault.balance, ErrorCode::InsufficientBalance);
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 64 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Withdraw` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn safe_withdraw<Withdraw>(ctx: Context<Withdraw>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:66:62
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> 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] 66 | pub fn safe_withdraw(ctx: Context<Withdraw>, amount: u64) -> Result<(), E> {
[INFO] [stdout]    |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `cpi` in this scope
[INFO] [stdout]   --> programs/04c-cpi-reentrancy-attacker/src/lib.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     cpi::notify_external_program(&ctx.accounts.notifier)?;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `cpi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cpi`, use `cargo add cpi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[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]     programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 28)
[INFO] [stdout]     programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 64)
[INFO] [stdout]     programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker (line 80)
[INFO] [stdout]     programs/04c-cpi-reentrancy-attacker/src/lib.rs - cpi_reentrancy_attacker::reentrancy_hook (line 134)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p cpi-reentrancy-attacker --doc`
[INFO] running `Command { std: "docker" "inspect" "69ab0af19f9eabca0a4c21c254e2f45e425ccb35d0fccebf67b4ba1690aceefd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69ab0af19f9eabca0a4c21c254e2f45e425ccb35d0fccebf67b4ba1690aceefd", kill_on_drop: false }`
[INFO] [stdout] 69ab0af19f9eabca0a4c21c254e2f45e425ccb35d0fccebf67b4ba1690aceefd
