[INFO] cloning repository https://github.com/Emengkeng/eventop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emengkeng/eventop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmengkeng%2Feventop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmengkeng%2Feventop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ca51cc85fa0c45fdb9124e858701e799ea2366f
[INFO] testing Emengkeng/eventop against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmengkeng%2Feventop" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Emengkeng/eventop
[INFO] finished tweaking git repo https://github.com/Emengkeng/eventop
[INFO] tweaked toml for git repo https://github.com/Emengkeng/eventop written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Emengkeng/eventop on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Emengkeng/eventop 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anchor-derive-serde v0.32.1
[INFO] [stderr]   Downloaded anchor-derive-accounts v0.32.1
[INFO] [stderr]   Downloaded solana-invoke v0.4.0
[INFO] [stderr]   Downloaded anchor-lang v0.32.1
[INFO] [stderr]   Downloaded darling_macro v0.14.4
[INFO] [stderr]   Downloaded solana-instruction v2.3.3
[INFO] [stderr]   Downloaded anchor-derive-space v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-account v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-access-control v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-event v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-program v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-constant v0.32.1
[INFO] [stderr]   Downloaded anchor-generate-cpi-crate v0.4.0
[INFO] [stderr]   Downloaded anchor-attribute-error v0.32.1
[INFO] [stderr]   Downloaded anchor-gen v0.4.1
[INFO] [stderr]   Downloaded anchor-spl v0.32.1
[INFO] [stderr]   Downloaded anchor-idl v0.4.1
[INFO] [stderr]   Downloaded darling_core v0.14.4
[INFO] [stderr]   Downloaded anchor-syn v0.32.1
[INFO] [stderr]   Downloaded darling v0.14.4
[INFO] [stderr]   Downloaded cc v1.2.46
[INFO] [stderr]   Downloaded anchor-generate-cpi-interface v0.4.0
[INFO] [stderr]   Downloaded kamino-lend v0.4.1
[INFO] [stderr]   Downloaded syn v2.0.110
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4bc1dffa9da57dfabaf52e41d10683d398ec0fe31fa243e618a19c90b3c4c7c
[INFO] running `Command { std: "docker" "start" "-a" "f4bc1dffa9da57dfabaf52e41d10683d398ec0fe31fa243e618a19c90b3c4c7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4bc1dffa9da57dfabaf52e41d10683d398ec0fe31fa243e618a19c90b3c4c7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4bc1dffa9da57dfabaf52e41d10683d398ec0fe31fa243e618a19c90b3c4c7c", kill_on_drop: false }`
[INFO] [stdout] f4bc1dffa9da57dfabaf52e41d10683d398ec0fe31fa243e618a19c90b3c4c7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9afc04ab9b4ff7f618315d1952da3c4185722f93932412d0ec3cd73c7f92c187
[INFO] running `Command { std: "docker" "start" "-a" "9afc04ab9b4ff7f618315d1952da3c4185722f93932412d0ec3cd73c7f92c187", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling borsh v1.5.7
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling five8_core v0.1.2
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling five8 v0.2.1
[INFO] [stderr]    Compiling solana-sanitize v2.2.1
[INFO] [stderr]    Compiling solana-atomic-u64 v2.2.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling solana-decode-error v2.3.0
[INFO] [stderr]    Compiling five8_const v0.1.4
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling solana-msg v2.2.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling solana-program-memory v2.3.1
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling qstring v0.7.2
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling derivation-path v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling solana-derivation-path v2.2.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling solana-signature v2.3.0
[INFO] [stderr]    Compiling solana-program-option v2.2.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling solana-seed-phrase v2.2.1
[INFO] [stderr]    Compiling solana-seed-derivable v2.2.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling blake3 v1.8.2
[INFO] [stderr]    Compiling solana-define-syscall v2.3.0
[INFO] [stderr]    Compiling solana-native-token v2.3.0
[INFO] [stderr]    Compiling solana-security-txt v1.1.1
[INFO] [stderr]    Compiling anchor-derive-space v0.32.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling borsh-derive v1.5.7
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling solana-sdk-macro v2.2.1
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling aes-gcm-siv v0.11.1
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling spl-discriminator-syn v0.2.1
[INFO] [stderr]    Compiling spl-program-error-derive v0.5.0
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling solana-big-mod-exp v2.2.1
[INFO] [stderr]    Compiling spl-discriminator-derive v0.2.0
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling solana-hash v2.3.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling anchor-syn v0.32.1
[INFO] [stderr]    Compiling solana-fee-calculator v2.2.1
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]    Compiling solana-sha256-hasher v2.3.0
[INFO] [stderr]    Compiling solana-short-vec v2.2.1
[INFO] [stderr]    Compiling solana-keccak-hasher v2.2.1
[INFO] [stderr]    Compiling solana-serde-varint v2.2.2
[INFO] [stderr]    Compiling solana-blake3-hasher v2.2.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling anchor-idl v0.4.1
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.2
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]    Compiling solana-curve25519 v2.3.13
[INFO] [stderr]    Compiling borsh v0.10.4
[INFO] [stderr]    Compiling anchor-generate-cpi-interface v0.4.0
[INFO] [stderr]    Compiling anchor-generate-cpi-crate v0.4.0
[INFO] [stderr]    Compiling anchor-gen v0.4.1
[INFO] [stderr]    Compiling solana-pubkey v2.4.0
[INFO] [stderr]    Compiling solana-instruction v2.3.3
[INFO] [stderr]    Compiling solana-sdk-ids v2.2.1
[INFO] [stderr]    Compiling solana-borsh v2.2.1
[INFO] [stderr]    Compiling solana-nonce v2.2.1
[INFO] [stderr]    Compiling solana-sysvar-id v2.2.1
[INFO] [stderr]    Compiling solana-clock v2.2.2
[INFO] [stderr]    Compiling solana-slot-hashes v2.2.1
[INFO] [stderr]    Compiling solana-program-error v2.2.2
[INFO] [stderr]    Compiling solana-transaction-error v2.2.1
[INFO] [stderr]    Compiling solana-system-interface v1.0.0
[INFO] [stderr]    Compiling solana-serialize-utils v2.2.1
[INFO] [stderr]    Compiling solana-signer v2.2.1
[INFO] [stderr]    Compiling solana-rent v2.2.1
[INFO] [stderr]    Compiling solana-slot-history v2.2.1
[INFO] [stderr]    Compiling solana-last-restart-slot v2.2.1
[INFO] [stderr]    Compiling solana-epoch-rewards v2.2.1
[INFO] [stderr]    Compiling solana-account-info v2.3.0
[INFO] [stderr]    Compiling solana-zk-sdk v2.3.13
[INFO] [stderr]    Compiling solana-epoch-schedule v2.2.1
[INFO] [stderr]    Compiling solana-cpi v2.2.1
[INFO] [stderr]    Compiling solana-program-entrypoint v2.3.0
[INFO] [stderr]    Compiling solana-instructions-sysvar v2.2.2
[INFO] [stderr]    Compiling solana-stake-interface v1.2.1
[INFO] [stderr]    Compiling spl-discriminator v0.4.1
[INFO] [stderr]    Compiling solana-program-pack v2.2.1
[INFO] [stderr]    Compiling solana-account v2.2.1
[INFO] [stderr]    Compiling solana-stable-layout v2.2.1
[INFO] [stderr]    Compiling solana-feature-gate-interface v2.2.2
[INFO] [stderr]    Compiling spl-program-error v0.7.0
[INFO] [stderr]    Compiling solana-bincode v2.2.1
[INFO] [stderr]    Compiling solana-message v2.4.0
[INFO] [stderr]    Compiling solana-address-lookup-table-interface v2.2.2
[INFO] [stderr]    Compiling solana-invoke v0.4.0
[INFO] [stderr]    Compiling spl-memo v6.0.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-program v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-account v0.32.1
[INFO] [stderr]    Compiling anchor-derive-serde v0.32.1
[INFO] [stderr]    Compiling solana-sysvar v2.3.0
[INFO] [stderr]    Compiling solana-secp256k1-recover v2.2.1
[INFO] [stderr]    Compiling anchor-derive-accounts v0.32.1
[INFO] [stderr]    Compiling solana-loader-v3-interface v5.0.0
[INFO] [stderr]    Compiling solana-loader-v3-interface v3.0.0
[INFO] [stderr]    Compiling solana-vote-interface v2.2.6
[INFO] [stderr]    Compiling spl-token v8.0.0
[INFO] [stderr]    Compiling solana-example-mocks v2.2.1
[INFO] [stderr]    Compiling solana-loader-v4-interface v2.2.1
[INFO] [stderr]    Compiling solana-loader-v2-interface v2.2.1
[INFO] [stderr]    Compiling spl-associated-token-account-client v2.0.0
[INFO] [stderr]    Compiling anchor-lang v0.32.1
[INFO] [stderr]    Compiling kamino-lend v0.4.1
[INFO] [stderr]    Compiling solana-program v2.3.0
[INFO] [stderr]    Compiling spl-pod v0.5.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-generation v0.4.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.3.1
[INFO] [stderr]    Compiling spl-type-length-value v0.8.0
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-extraction v0.3.0
[INFO] [stderr]    Compiling spl-token-group-interface v0.6.0
[INFO] [stderr]    Compiling spl-elgamal-registry v0.2.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.10.0
[INFO] [stderr]    Compiling spl-token-metadata-interface v0.7.0
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.10.0
[INFO] [stderr]    Compiling spl-token-2022 v8.0.1
[INFO] [stderr]    Compiling spl-associated-token-account v7.0.0
[INFO] [stderr]    Compiling anchor-spl v0.32.1
[INFO] [stderr]    Compiling subscription-protocol v0.1.8 (/opt/rustwide/workdir/programs/subscription-protocol)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/protocol/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use initialize_protocol::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use initialize_yield_vault::*;
[INFO] [stdout] 7 | pub use update_protocol_fee::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/wallet/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use create_wallet::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use deposit::*;
[INFO] [stdout] 7 | pub use withdraw::*;
[INFO] [stdout]   |         ----------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/yield_ops/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use enable_yield::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use withdraw_from_yield::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/subscription/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use register_merchant::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use cancel_subscription::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/vault_management/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use rebalance_vault::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 5 | pub use set_emergency_mode::*;
[INFO] [stdout]   |         --------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/mod.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub use protocol::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub use vault_management::*;
[INFO] [stdout]    |         ------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `merchant_plan`
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/subscription/execute_payment.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let merchant_plan = &ctx.accounts.merchant_plan;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merchant_plan`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s
[INFO] running `Command { std: "docker" "inspect" "9afc04ab9b4ff7f618315d1952da3c4185722f93932412d0ec3cd73c7f92c187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9afc04ab9b4ff7f618315d1952da3c4185722f93932412d0ec3cd73c7f92c187", kill_on_drop: false }`
[INFO] [stdout] 9afc04ab9b4ff7f618315d1952da3c4185722f93932412d0ec3cd73c7f92c187
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 738c82bad0987341534adc04688106065f4f536325b8230ab0e020a6b83406c0
[INFO] running `Command { std: "docker" "start" "-a" "738c82bad0987341534adc04688106065f4f536325b8230ab0e020a6b83406c0", kill_on_drop: false }`
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/protocol/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use initialize_protocol::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use initialize_yield_vault::*;
[INFO] [stdout] 7 | pub use update_protocol_fee::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/wallet/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use create_wallet::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use deposit::*;
[INFO] [stdout] 7 | pub use withdraw::*;
[INFO] [stdout]   |         ----------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/yield_ops/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use enable_yield::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use withdraw_from_yield::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/subscription/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use register_merchant::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use cancel_subscription::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/vault_management/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use rebalance_vault::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 5 | pub use set_emergency_mode::*;
[INFO] [stdout]   |         --------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/mod.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub use protocol::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub use vault_management::*;
[INFO] [stdout]    |         ------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `merchant_plan`
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/subscription/execute_payment.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let merchant_plan = &ctx.accounts.merchant_plan;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merchant_plan`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling subscription-protocol v0.1.8 (/opt/rustwide/workdir/programs/subscription-protocol)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/protocol/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use initialize_protocol::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use initialize_yield_vault::*;
[INFO] [stdout] 7 | pub use update_protocol_fee::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/wallet/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use create_wallet::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 6 | pub use deposit::*;
[INFO] [stdout] 7 | pub use withdraw::*;
[INFO] [stdout]   |         ----------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/yield_ops/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use enable_yield::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use withdraw_from_yield::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/subscription/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use register_merchant::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub use cancel_subscription::*;
[INFO] [stdout]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> programs/subscription-protocol/src/instructions/vault_management/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use rebalance_vault::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] 5 | pub use set_emergency_mode::*;
[INFO] [stdout]   |         --------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/mod.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub use protocol::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub use vault_management::*;
[INFO] [stdout]    |         ------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `merchant_plan`
[INFO] [stdout]   --> programs/subscription-protocol/src/instructions/subscription/execute_payment.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let merchant_plan = &ctx.accounts.merchant_plan;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merchant_plan`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.53s
[INFO] running `Command { std: "docker" "inspect" "738c82bad0987341534adc04688106065f4f536325b8230ab0e020a6b83406c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "738c82bad0987341534adc04688106065f4f536325b8230ab0e020a6b83406c0", kill_on_drop: false }`
[INFO] [stdout] 738c82bad0987341534adc04688106065f4f536325b8230ab0e020a6b83406c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2f537d075b0902f8bd4e60d6c4f2cb16140051ff68d6e006de2a58b047f77a9c
[INFO] running `Command { std: "docker" "start" "-a" "2f537d075b0902f8bd4e60d6c4f2cb16140051ff68d6e006de2a58b047f77a9c", kill_on_drop: false }`
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]  --> programs/subscription-protocol/src/instructions/protocol/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use initialize_protocol::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] 6 | pub use initialize_yield_vault::*;
[INFO] [stderr] 7 | pub use update_protocol_fee::*;
[INFO] [stderr]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]  --> programs/subscription-protocol/src/instructions/wallet/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use create_wallet::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] 6 | pub use deposit::*;
[INFO] [stderr] 7 | pub use withdraw::*;
[INFO] [stderr]   |         ----------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]  --> programs/subscription-protocol/src/instructions/yield_ops/mod.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use enable_yield::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 9 | pub use withdraw_from_yield::*;
[INFO] [stderr]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]  --> programs/subscription-protocol/src/instructions/subscription/mod.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use register_merchant::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 9 | pub use cancel_subscription::*;
[INFO] [stderr]   |         ---------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]  --> programs/subscription-protocol/src/instructions/vault_management/mod.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use rebalance_vault::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] 5 | pub use set_emergency_mode::*;
[INFO] [stderr]   |         --------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> programs/subscription-protocol/src/instructions/mod.rs:8:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub use protocol::*;
[INFO] [stderr]    |         ^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 12 | pub use vault_management::*;
[INFO] [stderr]    |         ------------------- but the name `handler` in the value namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `merchant_plan`
[INFO] [stderr]   --> programs/subscription-protocol/src/instructions/subscription/execute_payment.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |     let merchant_plan = &ctx.accounts.merchant_plan;
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merchant_plan`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `subscription-protocol` (lib) generated 7 warnings (run `cargo fix --lib -p subscription-protocol` to apply 1 suggestion)
[INFO] [stderr] warning: `subscription-protocol` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/subscription_protocol-04a860210995fbd6)
[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.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests subscription_protocol
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_deposit (line 39) ... FAILED
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_current_exchange_rate (line 151) ... FAILED
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_buffer_amount (line 14) ... FAILED
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_withdrawal (line 115) ... FAILED
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_usdc_value_of_shares (line 78) ... FAILED
[INFO] [stdout] test programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_committed_balance (line 190) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_deposit (line 39) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_shares_for_deposit` in this scope
[INFO] [stdout]   --> programs/subscription-protocol/src/utils/calculations.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 | let shares = calculate_shares_for_deposit(1_000, 5_000, 10_000)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 39 + use subscription_protocol::utils::calculate_shares_for_deposit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_current_exchange_rate (line 151) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_current_exchange_rate` in this scope
[INFO] [stdout]    --> programs/subscription-protocol/src/utils/calculations.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | let rate = calculate_current_exchange_rate(5_000, 10_000)?;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 151 + use subscription_protocol::utils::calculate_current_exchange_rate;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_buffer_amount (line 14) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_buffer_amount` in this scope
[INFO] [stdout]   --> programs/subscription-protocol/src/utils/calculations.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let buffer = calculate_buffer_amount(10_000, 1500)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 14 + use subscription_protocol::utils::calculate_buffer_amount;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_withdrawal (line 115) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_shares_for_withdrawal` in this scope
[INFO] [stdout]    --> programs/subscription-protocol/src/utils/calculations.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | let shares = calculate_shares_for_withdrawal(2_000, 5_000, 10_000)?;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 115 + use subscription_protocol::utils::calculate_shares_for_withdrawal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_usdc_value_of_shares (line 78) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_usdc_value_of_shares` in this scope
[INFO] [stdout]   --> programs/subscription-protocol/src/utils/calculations.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 | let value = calculate_usdc_value_of_shares(1_000, 5_000, 10_000)?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 78 + use subscription_protocol::utils::calculate_usdc_value_of_shares;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_committed_balance (line 190) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `calculate_committed_balance` in this scope
[INFO] [stdout]    --> programs/subscription-protocol/src/utils/calculations.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | let committed = calculate_committed_balance(&wallet)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 190 + use subscription_protocol::utils::calculate_committed_balance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wallet` in this scope
[INFO] [stdout]    --> programs/subscription-protocol/src/utils/calculations.rs:191:46
[INFO] [stdout]     |
[INFO] [stdout] 191 | let committed = calculate_committed_balance(&wallet)?;
[INFO] [stdout]     |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wallet_balance` in this scope
[INFO] [stdout]    --> programs/subscription-protocol/src/utils/calculations.rs:192:20
[INFO] [stdout]     |
[INFO] [stdout] 192 | let withdrawable = wallet_balance - committed;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_buffer_amount (line 14)
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_committed_balance (line 190)
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_current_exchange_rate (line 151)
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_deposit (line 39)
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_shares_for_withdrawal (line 115)
[INFO] [stdout]     programs/subscription-protocol/src/utils/calculations.rs - utils::calculations::calculate_usdc_value_of_shares (line 78)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2f537d075b0902f8bd4e60d6c4f2cb16140051ff68d6e006de2a58b047f77a9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f537d075b0902f8bd4e60d6c4f2cb16140051ff68d6e006de2a58b047f77a9c", kill_on_drop: false }`
[INFO] [stdout] 2f537d075b0902f8bd4e60d6c4f2cb16140051ff68d6e006de2a58b047f77a9c
