[INFO] cloning repository https://github.com/lilaclilac09/keyshield [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lilaclilac09/keyshield" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilaclilac09%2Fkeyshield", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilaclilac09%2Fkeyshield'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 622daa867f54c6460da0731b4b96aa3e5ca653d0 [INFO] testing lilaclilac09/keyshield against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilaclilac09%2Fkeyshield" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lilaclilac09/keyshield [INFO] finished tweaking git repo https://github.com/lilaclilac09/keyshield [INFO] tweaked toml for git repo https://github.com/lilaclilac09/keyshield written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lilaclilac09/keyshield on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lilaclilac09/keyshield 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fe040bbcfa90b151ce8e12b04f7efa516f5698f4f2b3616d3d69922f93abedc [INFO] running `Command { std: "docker" "start" "-a" "3fe040bbcfa90b151ce8e12b04f7efa516f5698f4f2b3616d3d69922f93abedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fe040bbcfa90b151ce8e12b04f7efa516f5698f4f2b3616d3d69922f93abedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe040bbcfa90b151ce8e12b04f7efa516f5698f4f2b3616d3d69922f93abedc", kill_on_drop: false }` [INFO] [stdout] 3fe040bbcfa90b151ce8e12b04f7efa516f5698f4f2b3616d3d69922f93abedc [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65530b03bcd59f01d65509e3dcb32674a3cd1c98045e061bbfcbef830d112b5f [INFO] running `Command { std: "docker" "start" "-a" "65530b03bcd59f01d65509e3dcb32674a3cd1c98045e061bbfcbef830d112b5f", kill_on_drop: false }` [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling pinocchio v0.8.4 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling pinocchio-pubkey v0.2.4 [INFO] [stderr] Compiling pinocchio-token v0.3.0 [INFO] [stderr] Compiling pinocchio-system v0.2.3 [INFO] [stderr] Compiling keyshield v0.1.0 (/opt/rustwide/workdir/programs/keyshield) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | sysvars::{rent::Rent, clock::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vault_flags` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | state::{UniversalVault, vault_flags, MAX_KEY_GROUPS}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AgentGrant` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | state::{AgentGrant, UniversalVault, MAX_AGENTS}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaymentStream` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | state::{PaymentStream, UniversalVault}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut vault_data = vault.try_borrow_mut_data()?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_index` [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let key_index = vault_state.add_key(encrypted_key_hash, key_type) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let key_id: [u8; 32] = data[1..33].try_into() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_signer` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | let ephemeral_signer = accounts_iter.next().ok_or(ProgramError::NotEnoughAccountKeys)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allowed_actions` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let allowed_actions = data[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry_seconds` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let expiry_seconds = u64::from_le_bytes(data[1..9].try_into().map_err(|_| KeyShieldError::InvalidKeyData)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_per_token` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let rate_per_token = u64::from_le_bytes(data[40..48].try_into().map_err(|_| KeyShieldError::InvalidPaymentAmount)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_per_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_spend` is never read [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut max_spend = 0u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_pubkey` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let agent_pubkey = Pubkey::try_from(&agent_pubkey_bytes[..]) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK_OFFSET` is never used [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const CLOCK_OFFSET: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "65530b03bcd59f01d65509e3dcb32674a3cd1c98045e061bbfcbef830d112b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65530b03bcd59f01d65509e3dcb32674a3cd1c98045e061bbfcbef830d112b5f", kill_on_drop: false }` [INFO] [stdout] 65530b03bcd59f01d65509e3dcb32674a3cd1c98045e061bbfcbef830d112b5f [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 887d861c9029305aac08db762ab5409f48b63834c575e4225d949519cd744033 [INFO] running `Command { std: "docker" "start" "-a" "887d861c9029305aac08db762ab5409f48b63834c575e4225d949519cd744033", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling borsh v1.6.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling solana-sanitize v2.1.0 [INFO] [stderr] Compiling solana-atomic-u64 v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling solana-msg v2.1.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling solana-decode-error v2.1.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-program-memory v2.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling blake3 v1.8.3 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling solana-program-option v2.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling solana-native-token v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling solana-precompile-error v2.1.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling solana-derivation-path v2.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling solana-type-overrides v2.1.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling solana-log-collector v2.1.0 [INFO] [stderr] Compiling solana-measure v2.1.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | sysvars::{rent::Rent, clock::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vault_flags` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | state::{UniversalVault, vault_flags, MAX_KEY_GROUPS}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AgentGrant` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | state::{AgentGrant, UniversalVault, MAX_AGENTS}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaymentStream` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | state::{PaymentStream, UniversalVault}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut vault_data = vault.try_borrow_mut_data()?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_index` [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let key_index = vault_state.add_key(encrypted_key_hash, key_type) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let key_id: [u8; 32] = data[1..33].try_into() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_signer` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | let ephemeral_signer = accounts_iter.next().ok_or(ProgramError::NotEnoughAccountKeys)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allowed_actions` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let allowed_actions = data[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry_seconds` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let expiry_seconds = u64::from_le_bytes(data[1..9].try_into().map_err(|_| KeyShieldError::InvalidKeyData)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_per_token` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let rate_per_token = u64::from_le_bytes(data[40..48].try_into().map_err(|_| KeyShieldError::InvalidPaymentAmount)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_per_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_spend` is never read [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut max_spend = 0u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_pubkey` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let agent_pubkey = Pubkey::try_from(&agent_pubkey_bytes[..]) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK_OFFSET` is never used [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const CLOCK_OFFSET: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling borsh-derive v1.6.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling solana-sdk-macro v2.1.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling compression-codecs v0.4.36 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling serde_with v3.16.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling async-compression v0.4.37 [INFO] [stderr] Compiling solana_rbpf v0.8.5 [INFO] [stderr] Compiling solana-borsh v2.1.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling solana-hash v2.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling solana-clock v2.1.0 [INFO] [stderr] Compiling solana-epoch-schedule v2.1.0 [INFO] [stderr] Compiling solana-fee-calculator v2.1.0 [INFO] [stderr] Compiling solana-short-vec v2.1.0 [INFO] [stderr] Compiling solana-rent v2.1.0 [INFO] [stderr] Compiling solana-serde-varint v2.1.0 [INFO] [stderr] Compiling solana-last-restart-slot v2.1.0 [INFO] [stderr] Compiling solana-inflation v2.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling solana-slot-hashes v2.1.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling solana-packet v2.1.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling solana-slot-history v2.1.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling solana-logger v2.3.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling solana-sha256-hasher v2.1.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling solana-signature v2.1.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling solana-pubkey v2.1.0 [INFO] [stderr] Compiling solana-curve25519 v2.1.0 [INFO] [stderr] Compiling solana-instruction v2.1.0 [INFO] [stderr] Compiling solana-feature-set v2.1.0 [INFO] [stderr] Compiling solana-program-error v2.1.0 [INFO] [stderr] Compiling solana-serialize-utils v2.1.0 [INFO] [stderr] Compiling solana-bincode v2.1.0 [INFO] [stderr] Compiling solana-stable-layout v2.1.0 [INFO] [stderr] Compiling solana-transaction-error v2.1.0 [INFO] [stderr] Compiling solana-account-info v2.1.0 [INFO] [stderr] Compiling solana-program-pack v2.1.0 [INFO] [stderr] Compiling solana-program-entrypoint v2.1.0 [INFO] [stderr] Compiling solana-cpi v2.1.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling solana-secp256k1-recover v2.1.0 [INFO] [stderr] Compiling solana-program v2.1.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling solana-poseidon v2.1.0 [INFO] [stderr] Compiling solana-account v2.1.0 [INFO] [stderr] Compiling solana-bn254 v2.1.0 [INFO] [stderr] Compiling solana-sdk v2.1.0 [INFO] [stderr] Compiling solana-metrics v2.1.0 [INFO] [stderr] Compiling solana-vote v2.1.0 [INFO] [stderr] Compiling solana-compute-budget v2.1.0 [INFO] [stderr] Compiling solana-timings v2.1.0 [INFO] [stderr] Compiling mollusk-svm-error v0.0.12 [INFO] [stderr] Compiling mollusk-svm-keys v0.0.12 [INFO] [stderr] Compiling solana-program-runtime v2.1.0 [INFO] [stderr] Compiling solana-system-program v2.1.0 [INFO] [stderr] Compiling solana-bpf-loader-program v2.1.0 [INFO] [stderr] Compiling mollusk-svm v0.0.12 [INFO] [stderr] Compiling keyshield v0.1.0 (/opt/rustwide/workdir/programs/keyshield) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | default_allocator!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | nostd_panic_handler!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | sysvars::{rent::Rent, clock::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vault_flags` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | state::{UniversalVault, vault_flags, MAX_KEY_GROUPS}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AgentGrant` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | state::{AgentGrant, UniversalVault, MAX_AGENTS}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | sysvars::{clock::Clock, Sysvar}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaymentStream` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | state::{PaymentStream, UniversalVault}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut vault_data = vault.try_borrow_mut_data()?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_index` [INFO] [stdout] --> programs/keyshield/src/instructions/store_key.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let key_index = vault_state.add_key(encrypted_key_hash, key_type) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let key_id: [u8; 32] = data[1..33].try_into() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_signer` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | let ephemeral_signer = accounts_iter.next().ok_or(ProgramError::NotEnoughAccountKeys)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allowed_actions` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let allowed_actions = data[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry_seconds` [INFO] [stdout] --> programs/keyshield/src/instructions/agent_access.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let expiry_seconds = u64::from_le_bytes(data[1..9].try_into().map_err(|_| KeyShieldError::InvalidKeyData)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_per_token` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let rate_per_token = u64::from_le_bytes(data[40..48].try_into().map_err(|_| KeyShieldError::InvalidPaymentAmount)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_per_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_spend` is never read [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut max_spend = 0u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_pubkey` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let agent_pubkey = Pubkey::try_from(&agent_pubkey_bytes[..]) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_id` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> programs/keyshield/src/instructions/payment_stream.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | let timestamp = 0u64; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK_OFFSET` is never used [INFO] [stdout] --> programs/keyshield/src/instructions/universal_vault.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const CLOCK_OFFSET: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "887d861c9029305aac08db762ab5409f48b63834c575e4225d949519cd744033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887d861c9029305aac08db762ab5409f48b63834c575e4225d949519cd744033", kill_on_drop: false }` [INFO] [stdout] 887d861c9029305aac08db762ab5409f48b63834c575e4225d949519cd744033 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41a910f1432125a30a114fb34169bd8dfe62514474557a43e056563fc4d4e6d8 [INFO] running `Command { std: "docker" "start" "-a" "41a910f1432125a30a114fb34169bd8dfe62514474557a43e056563fc4d4e6d8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | default_allocator!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/keyshield/src/lib.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | default_allocator!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `default_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/keyshield/src/lib.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | nostd_panic_handler!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `nostd_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `nostd_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `nostd_panic_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `clock::Clock` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | sysvars::{rent::Rent, clock::Clock}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `vault_flags` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | state::{UniversalVault, vault_flags, MAX_KEY_GROUPS}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | sysvars::{clock::Clock, Sysvar}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AgentGrant` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | state::{AgentGrant, UniversalVault, MAX_AGENTS}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sysvar` and `clock::Clock` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | sysvars::{clock::Clock, Sysvar}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PaymentStream` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | state::{PaymentStream, UniversalVault}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/keyshield/src/instructions/store_key.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | let mut vault_data = vault.try_borrow_mut_data()?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_index` [INFO] [stderr] --> programs/keyshield/src/instructions/store_key.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | let key_index = vault_state.add_key(encrypted_key_hash, key_type) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 276 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:346:21 [INFO] [stderr] | [INFO] [stderr] 346 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 207 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 301 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_id` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:320:9 [INFO] [stderr] | [INFO] [stderr] 320 | let key_id: [u8; 32] = data[1..33].try_into() [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:456:5 [INFO] [stderr] | [INFO] [stderr] 456 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ephemeral_signer` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:468:9 [INFO] [stderr] | [INFO] [stderr] 468 | let ephemeral_signer = accounts_iter.next().ok_or(ProgramError::NotEnoughAccountKeys)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_signer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allowed_actions` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:477:9 [INFO] [stderr] | [INFO] [stderr] 477 | let allowed_actions = data[0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_actions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expiry_seconds` [INFO] [stderr] --> programs/keyshield/src/instructions/agent_access.rs:478:9 [INFO] [stderr] | [INFO] [stderr] 478 | let expiry_seconds = u64::from_le_bytes(data[1..9].try_into().map_err(|_| KeyShieldError::InvalidKeyData)?); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_seconds` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rate_per_token` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let rate_per_token = u64::from_le_bytes(data[40..48].try_into().map_err(|_| KeyShieldError::InvalidPaymentAmount)?); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_per_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_spend` is never read [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:267:25 [INFO] [stderr] | [INFO] [stderr] 267 | let mut max_spend = 0u64; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:325:5 [INFO] [stderr] | [INFO] [stderr] 325 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `agent_pubkey` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:345:9 [INFO] [stderr] | [INFO] [stderr] 345 | let agent_pubkey = Pubkey::try_from(&agent_pubkey_bytes[..]) [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_pubkey` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program_id` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:435:5 [INFO] [stderr] | [INFO] [stderr] 435 | program_id: &Pubkey, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> programs/keyshield/src/instructions/payment_stream.rs:501:9 [INFO] [stderr] | [INFO] [stderr] 501 | let timestamp = 0u64; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] [INFO] [stderr] warning: constant `CLOCK_OFFSET` is never used [INFO] [stderr] --> programs/keyshield/src/instructions/universal_vault.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | const CLOCK_OFFSET: usize = 0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `keyshield` (lib) generated 38 warnings (1 duplicate) (run `cargo fix --lib -p keyshield` to apply 32 suggestions) [INFO] [stderr] warning: `keyshield` (lib test) generated 38 warnings (38 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/keyshield-1995eb10e98908a8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_instruction_discriminators ... 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 tests/access_key.rs (/opt/rustwide/target/debug/deps/access_key-3dd0c8115fa4443c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] [2026-03-31T07:34:27.653791627Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.654548657Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.654614527Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 111 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.655888307Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 failed: custom program error: 0x1773 [INFO] [stdout] test test_access_key_non_owner_no_proof_fails ... ok [INFO] [stderr] [2026-03-31T07:34:27.658132417Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 105 of 1400000 compute units [INFO] [stdout] test test_access_key_non_owner_with_proof_succeeds ... ok [INFO] [stderr] [2026-03-31T07:34:27.658249367Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success [INFO] [stderr] [2026-03-31T07:34:27.663989316Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.664850866Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 114 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.664965136Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success [INFO] [stdout] test test_access_key_owner_succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/share_key.rs (/opt/rustwide/target/debug/deps/share_key-291632d1f1061052) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] [2026-03-31T07:34:27.693355494Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.694530614Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.695468654Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 175 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.695512254Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 failed: custom program error: 0x1770 [INFO] [stderr] [2026-03-31T07:34:27.696483544Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 273 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.696538124Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success [INFO] [stdout] test test_share_key_non_owner_fails ... ok [INFO] [stdout] test test_share_key_owner_succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/store_key.rs (/opt/rustwide/target/debug/deps/store_key-520bc4609200253e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] [2026-03-31T07:34:27.725173472Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.725222792Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stdout] test test_store_key_owner_must_be_signer ... ok [INFO] [stderr] [2026-03-31T07:34:27.726223982Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 102 of 1400000 compute units [INFO] [stdout] test test_store_key_success ... ok [INFO] [stderr] [2026-03-31T07:34:27.726260812Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 failed: custom program error: 0x1770 [INFO] [stderr] [2026-03-31T07:34:27.726297572Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 201 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.726356542Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success [INFO] [stderr] [2026-03-31T07:34:27.731715611Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.732917362Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 201 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.733025662Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success [INFO] [stderr] [2026-03-31T07:34:27.741318141Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [1] [INFO] [stderr] [2026-03-31T07:34:27.742072821Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 consumed 148 of 1400000 compute units [INFO] [stderr] [2026-03-31T07:34:27.742155431Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 failed: custom program error: 0x1777 [INFO] [stdout] test test_store_key_double_init_fails ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests keyshield [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] running `Command { std: "docker" "inspect" "41a910f1432125a30a114fb34169bd8dfe62514474557a43e056563fc4d4e6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a910f1432125a30a114fb34169bd8dfe62514474557a43e056563fc4d4e6d8", kill_on_drop: false }` [INFO] [stdout] 41a910f1432125a30a114fb34169bd8dfe62514474557a43e056563fc4d4e6d8