[INFO] cloning repository https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rithwik3425/Major_Project_BlockChain_logic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRithwik3425%2FMajor_Project_BlockChain_logic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRithwik3425%2FMajor_Project_BlockChain_logic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9be237f31fb2462dfdb11c57a46b79c30ab01e22 [INFO] building Rithwik3425/Major_Project_BlockChain_logic against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRithwik3425%2FMajor_Project_BlockChain_logic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] finished tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] tweaked toml for git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building Rithwik3425/Major_Project_BlockChain_logic against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRithwik3425%2FMajor_Project_BlockChain_logic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] finished tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] tweaked toml for git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building Rithwik3425/Major_Project_BlockChain_logic against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRithwik3425%2FMajor_Project_BlockChain_logic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] finished tweaking git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic [INFO] tweaked toml for git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rithwik3425/Major_Project_BlockChain_logic 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77391775d922d26f349c83ba61496cdd9f4e9710f570d4e9ff0ff0337bae94dd [INFO] running `Command { std: "docker" "start" "-a" "77391775d922d26f349c83ba61496cdd9f4e9710f570d4e9ff0ff0337bae94dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77391775d922d26f349c83ba61496cdd9f4e9710f570d4e9ff0ff0337bae94dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77391775d922d26f349c83ba61496cdd9f4e9710f570d4e9ff0ff0337bae94dd", kill_on_drop: false }` [INFO] [stdout] 77391775d922d26f349c83ba61496cdd9f4e9710f570d4e9ff0ff0337bae94dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89aa35e3fb94f76480aac54bef6db0b774943a0c148d58d007e5a3032629450 [INFO] running `Command { std: "docker" "start" "-a" "c89aa35e3fb94f76480aac54bef6db0b774943a0c148d58d007e5a3032629450", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-sha256-hasher v2.3.0 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.6 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling solana-sysvar v2.3.0 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling onchain_doc_storage v0.1.0 (/opt/rustwide/workdir/programs/onchain_doc_storage) [INFO] [stdout] error[E0425]: cannot find value `owner` in this scope [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:217:95 [INFO] [stdout] | [INFO] [stdout] 217 | #[account(mut, seeds = [b"doc", document.owner.as_ref()], bump = document.bump, has_one = owner)] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `owner` in this scope [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:234:95 [INFO] [stdout] | [INFO] [stdout] 234 | #[account(mut, seeds = [b"doc", document.owner.as_ref()], bump = document.bump, has_one = owner)] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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 `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (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/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [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 `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (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/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [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 `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `CreateDocumentBumps` in the current scope [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | doc.bump = *ctx.bumps.get("document").unwrap(); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] ... [INFO] [stdout] 180 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.3.0/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::solana_program::solana_account_info::Account` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 21 - doc.bump = *ctx.bumps.get("document").unwrap(); [INFO] [stdout] 21 + doc.bump = *CreateDocumentBumps::get("document").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `CreateDocumentBumps` in the current scope [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | perm.bump = *ctx.bumps.get("permission").unwrap(); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] ... [INFO] [stdout] 180 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.3.0/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::solana_program::solana_account_info::Account` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 37 - perm.bump = *ctx.bumps.get("permission").unwrap(); [INFO] [stdout] 37 + perm.bump = *CreateDocumentBumps::get("permission").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `GrantAccessBumps` in the current scope [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | permission.bump = *ctx.bumps.get("permission").unwrap_or(&0u8); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] ... [INFO] [stdout] 215 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.3.0/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::solana_program::solana_account_info::Account` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 89 - permission.bump = *ctx.bumps.get("permission").unwrap_or(&0u8); [INFO] [stdout] 89 + permission.bump = *GrantAccessBumps::get("permission").unwrap_or(&0u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `ctx.accounts.version` as immutable because it is also borrowed as mutable [INFO] [stdout] --> programs/onchain_doc_storage/src/lib.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 58 | let version = &mut ctx.accounts.version; [INFO] [stdout] | ------------------------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | doc.latest_version = ctx.accounts.version.key(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 74 | version: version.index, [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0502, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `onchain_doc_storage` (lib) due to 6 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c89aa35e3fb94f76480aac54bef6db0b774943a0c148d58d007e5a3032629450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89aa35e3fb94f76480aac54bef6db0b774943a0c148d58d007e5a3032629450", kill_on_drop: false }` [INFO] [stdout] c89aa35e3fb94f76480aac54bef6db0b774943a0c148d58d007e5a3032629450