[INFO] cloning repository https://github.com/hoffmabc/arch-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hoffmabc/arch-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoffmabc%2Farch-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoffmabc%2Farch-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf6f1088e74a9eccd7abdaecd385e5a02b3ef231 [INFO] testing hoffmabc/arch-cli against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoffmabc%2Farch-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hoffmabc/arch-cli on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hoffmabc/arch-cli [INFO] finished tweaking git repo https://github.com/hoffmabc/arch-cli [INFO] tweaked toml for git repo https://github.com/hoffmabc/arch-cli written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hoffmabc/arch-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6517614dcf8fc4a9ad4addf9e25aec9cc50c02e01637a7966bb742b0eea7642 [INFO] running `Command { std: "docker" "start" "-a" "d6517614dcf8fc4a9ad4addf9e25aec9cc50c02e01637a7966bb742b0eea7642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6517614dcf8fc4a9ad4addf9e25aec9cc50c02e01637a7966bb742b0eea7642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6517614dcf8fc4a9ad4addf9e25aec9cc50c02e01637a7966bb742b0eea7642", kill_on_drop: false }` [INFO] [stdout] d6517614dcf8fc4a9ad4addf9e25aec9cc50c02e01637a7966bb742b0eea7642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de394f95ad511f792297e9b5832acf7930312f2f1f8c08b9dd9364a9951b2f44 [INFO] running `Command { std: "docker" "start" "-a" "de394f95ad511f792297e9b5832acf7930312f2f1f8c08b9dd9364a9951b2f44", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling proptest v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling bip322 v0.1.0 (/opt/rustwide/workdir/templates/bip322) [INFO] [stderr] Compiling arch_program v0.1.0 (/opt/rustwide/workdir/templates/program) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program_stubs.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/log.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/log.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/templates/common) [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> templates/common/src/helper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Network` [INFO] [stdout] --> templates/common/src/helper.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Network, OutPoint, ScriptBuf, Sequence, TapSighashType, Transaction, TxIn, Witness, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signature::Signature` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::signature::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | use arch_program::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::message::Message` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use arch_program::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use arch_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proptest::strategy::Just` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use proptest::strategy::Just; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stdout] --> templates/common/src/runtime_transaction.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use arch_program::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stdout] --> templates/common/src/runtime_transaction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use arch_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling arch-cli v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `arch_program::msg` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arch_program::msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_cloud_run_url` [INFO] [stdout] --> src/lib.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use demo::{setup_demo_environment, build_frontend, get_cloud_run_url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::constants::*` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use common::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::helper::*` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use common::helper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/lib.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:641:42 [INFO] [stdout] | [INFO] [stdout] 641 | let mut doc = config_content.parse::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:3529:36 [INFO] [stdout] | [INFO] [stdout] 3529 | let parsed_config = toml_edit::Document::from_str(&config_content)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:5971:46 [INFO] [stdout] | [INFO] [stdout] 5971 | let mut doc = config_content.parse::() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let mut project_dir = prompt_for_project_dir(&default_dir)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/lib.rs:714:10 [INFO] [stdout] | [INFO] [stdout] 714 | let (base_dir, projects_dir) = setup_base_structure(config)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:2717:5 [INFO] [stdout] | [INFO] [stdout] 2661 | / loop { [INFO] [stdout] 2662 | | if start_time.elapsed() > timeout { [INFO] [stdout] 2663 | | pb.finish_with_message("❌ Transaction confirmation timed out after 60 minutes"); [INFO] [stdout] 2664 | | return Err(anyhow!("Transaction confirmation timed out")); [INFO] [stdout] ... | [INFO] [stdout] 2690 | | tokio::time::sleep(Duration::from_secs(5)).await; // Check every 5 seconds instead of 1 [INFO] [stdout] 2691 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 2717 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txid` [INFO] [stdout] --> src/lib.rs:2979:10 [INFO] [stdout] | [INFO] [stdout] 2979 | let (txid, _) = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:3520:26 [INFO] [stdout] | [INFO] [stdout] 3520 | pub async fn config_view(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:4326:57 [INFO] [stdout] | [INFO] [stdout] 4326 | pub async fn start_gcp_indexer(args: &IndexerStartArgs, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_instance_output` [INFO] [stdout] --> src/lib.rs:4375:9 [INFO] [stdout] | [INFO] [stdout] 4375 | let create_instance_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_instance_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_push_output` [INFO] [stdout] --> src/lib.rs:5119:9 [INFO] [stdout] | [INFO] [stdout] 5119 | let build_push_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_push_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/lib.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/demo/setup.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `builder` is never read [INFO] [stdout] --> src/lib.rs:2155:9 [INFO] [stdout] | [INFO] [stdout] 2155 | builder = Config::builder() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:5969:13 [INFO] [stdout] | [INFO] [stdout] 5969 | let mut config_content = fs::read_to_string(config_file_path) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_all` is never used [INFO] [stdout] --> src/lib.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn copy_dir_all(src: impl AsRef, dst: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_excluding` is never used [INFO] [stdout] --> src/lib.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | fn copy_dir_excluding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_directory_empty` is never used [INFO] [stdout] --> src/lib.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | fn is_directory_empty(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_all_related_containers` is never used [INFO] [stdout] --> src/lib.rs:1407:4 [INFO] [stdout] | [INFO] [stdout] 1407 | fn stop_all_related_containers() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connected_peer_count` is never used [INFO] [stdout] --> src/lib.rs:2011:10 [INFO] [stdout] | [INFO] [stdout] 2011 | async fn get_connected_peer_count(client: &reqwest::Client, rpc_endpoint: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_program_path` is never used [INFO] [stdout] --> src/lib.rs:2364:4 [INFO] [stdout] | [INFO] [stdout] 2364 | fn get_program_path(args: &DeployArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_with_tx_info` is never used [INFO] [stdout] --> src/lib.rs:2396:10 [INFO] [stdout] | [INFO] [stdout] 2396 | async fn deploy_program_with_tx_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_new_keypair` is never used [INFO] [stdout] --> src/lib.rs:2544:4 [INFO] [stdout] | [INFO] [stdout] 2544 | fn generate_new_keypair() -> Result<(secp256k1::Keypair, Pubkey)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program` is never used [INFO] [stdout] --> src/lib.rs:2734:10 [INFO] [stdout] | [INFO] [stdout] 2734 | async fn deploy_program( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_txs_with_folder` is never used [INFO] [stdout] --> src/lib.rs:2934:10 [INFO] [stdout] | [INFO] [stdout] 2934 | async fn deploy_program_txs_with_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_program_account` is never used [INFO] [stdout] --> src/lib.rs:2965:10 [INFO] [stdout] | [INFO] [stdout] 2965 | async fn create_program_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_to_cloud_run` is never used [INFO] [stdout] --> src/lib.rs:3403:10 [INFO] [stdout] | [INFO] [stdout] 3403 | async fn deploy_to_cloud_run(project_id: &str, region: &str, demo_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_name_exists` is never used [INFO] [stdout] --> src/lib.rs:3841:4 [INFO] [stdout] | [INFO] [stdout] 3841 | fn account_name_exists(accounts_file: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_account_to_file` is never used [INFO] [stdout] --> src/lib.rs:3859:4 [INFO] [stdout] | [INFO] [stdout] 3859 | fn save_account_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cloud_run_url` is never used [INFO] [stdout] --> src/demo/gcp.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_cloud_run_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rpc_url` is never used [INFO] [stdout] --> src/demo/setup.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_rpc_url(args: &DemoStartArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_demo_cargo_toml` is never used [INFO] [stdout] --> src/demo/setup.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "de394f95ad511f792297e9b5832acf7930312f2f1f8c08b9dd9364a9951b2f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de394f95ad511f792297e9b5832acf7930312f2f1f8c08b9dd9364a9951b2f44", kill_on_drop: false }` [INFO] [stdout] de394f95ad511f792297e9b5832acf7930312f2f1f8c08b9dd9364a9951b2f44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca475d5ba9632f65945bd6ad2b19d2eaa6388fb6800e52801b56f5b569d9ebe4 [INFO] running `Command { std: "docker" "start" "-a" "ca475d5ba9632f65945bd6ad2b19d2eaa6388fb6800e52801b56f5b569d9ebe4", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program_stubs.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/log.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/log.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(target_os = "solana")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> templates/program/src/program.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> templates/common/src/helper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Network` [INFO] [stdout] --> templates/common/src/helper.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Network, OutPoint, ScriptBuf, Sequence, TapSighashType, Transaction, TxIn, Witness, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signature::Signature` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::signature::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | use arch_program::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::message::Message` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use arch_program::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use arch_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proptest::strategy::Just` [INFO] [stdout] --> templates/common/src/processed_transaction.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use proptest::strategy::Just; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stdout] --> templates/common/src/runtime_transaction.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use arch_program::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stdout] --> templates/common/src/runtime_transaction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use arch_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::msg` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arch_program::msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_cloud_run_url` [INFO] [stdout] --> src/lib.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use demo::{setup_demo_environment, build_frontend, get_cloud_run_url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::constants::*` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use common::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::helper::*` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use common::helper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/lib.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:641:42 [INFO] [stdout] | [INFO] [stdout] 641 | let mut doc = config_content.parse::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:3529:36 [INFO] [stdout] | [INFO] [stdout] 3529 | let parsed_config = toml_edit::Document::from_str(&config_content)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:5971:46 [INFO] [stdout] | [INFO] [stdout] 5971 | let mut doc = config_content.parse::() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let mut project_dir = prompt_for_project_dir(&default_dir)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/lib.rs:714:10 [INFO] [stdout] | [INFO] [stdout] 714 | let (base_dir, projects_dir) = setup_base_structure(config)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:2717:5 [INFO] [stdout] | [INFO] [stdout] 2661 | / loop { [INFO] [stdout] 2662 | | if start_time.elapsed() > timeout { [INFO] [stdout] 2663 | | pb.finish_with_message("❌ Transaction confirmation timed out after 60 minutes"); [INFO] [stdout] 2664 | | return Err(anyhow!("Transaction confirmation timed out")); [INFO] [stdout] ... | [INFO] [stdout] 2690 | | tokio::time::sleep(Duration::from_secs(5)).await; // Check every 5 seconds instead of 1 [INFO] [stdout] 2691 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 2717 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txid` [INFO] [stdout] --> src/lib.rs:2979:10 [INFO] [stdout] | [INFO] [stdout] 2979 | let (txid, _) = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:3520:26 [INFO] [stdout] | [INFO] [stdout] 3520 | pub async fn config_view(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:4326:57 [INFO] [stdout] | [INFO] [stdout] 4326 | pub async fn start_gcp_indexer(args: &IndexerStartArgs, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_instance_output` [INFO] [stdout] --> src/lib.rs:4375:9 [INFO] [stdout] | [INFO] [stdout] 4375 | let create_instance_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_instance_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_push_output` [INFO] [stdout] --> src/lib.rs:5119:9 [INFO] [stdout] | [INFO] [stdout] 5119 | let build_push_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_push_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/lib.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/demo/setup.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `builder` is never read [INFO] [stdout] --> src/lib.rs:2155:9 [INFO] [stdout] | [INFO] [stdout] 2155 | builder = Config::builder() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:5969:13 [INFO] [stdout] | [INFO] [stdout] 5969 | let mut config_content = fs::read_to_string(config_file_path) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_all` is never used [INFO] [stdout] --> src/lib.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn copy_dir_all(src: impl AsRef, dst: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_excluding` is never used [INFO] [stdout] --> src/lib.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | fn copy_dir_excluding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_directory_empty` is never used [INFO] [stdout] --> src/lib.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | fn is_directory_empty(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_all_related_containers` is never used [INFO] [stdout] --> src/lib.rs:1407:4 [INFO] [stdout] | [INFO] [stdout] 1407 | fn stop_all_related_containers() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connected_peer_count` is never used [INFO] [stdout] --> src/lib.rs:2011:10 [INFO] [stdout] | [INFO] [stdout] 2011 | async fn get_connected_peer_count(client: &reqwest::Client, rpc_endpoint: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_program_path` is never used [INFO] [stdout] --> src/lib.rs:2364:4 [INFO] [stdout] | [INFO] [stdout] 2364 | fn get_program_path(args: &DeployArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_with_tx_info` is never used [INFO] [stdout] --> src/lib.rs:2396:10 [INFO] [stdout] | [INFO] [stdout] 2396 | async fn deploy_program_with_tx_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_new_keypair` is never used [INFO] [stdout] --> src/lib.rs:2544:4 [INFO] [stdout] | [INFO] [stdout] 2544 | fn generate_new_keypair() -> Result<(secp256k1::Keypair, Pubkey)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program` is never used [INFO] [stdout] --> src/lib.rs:2734:10 [INFO] [stdout] | [INFO] [stdout] 2734 | async fn deploy_program( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_txs_with_folder` is never used [INFO] [stdout] --> src/lib.rs:2934:10 [INFO] [stdout] | [INFO] [stdout] 2934 | async fn deploy_program_txs_with_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_program_account` is never used [INFO] [stdout] --> src/lib.rs:2965:10 [INFO] [stdout] | [INFO] [stdout] 2965 | async fn create_program_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_to_cloud_run` is never used [INFO] [stdout] --> src/lib.rs:3403:10 [INFO] [stdout] | [INFO] [stdout] 3403 | async fn deploy_to_cloud_run(project_id: &str, region: &str, demo_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_name_exists` is never used [INFO] [stdout] --> src/lib.rs:3841:4 [INFO] [stdout] | [INFO] [stdout] 3841 | fn account_name_exists(accounts_file: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_account_to_file` is never used [INFO] [stdout] --> src/lib.rs:3859:4 [INFO] [stdout] | [INFO] [stdout] 3859 | fn save_account_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cloud_run_url` is never used [INFO] [stdout] --> src/demo/gcp.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_cloud_run_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling arch-cli v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_rpc_url` is never used [INFO] [stdout] --> src/demo/setup.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_rpc_url(args: &DemoStartArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_demo_cargo_toml` is never used [INFO] [stdout] --> src/demo/setup.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch_program::msg` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arch_program::msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_cloud_run_url` [INFO] [stdout] --> src/lib.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use demo::{setup_demo_environment, build_frontend, get_cloud_run_url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::constants::*` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use common::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::helper::*` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use common::helper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/lib.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:641:42 [INFO] [stdout] | [INFO] [stdout] 641 | let mut doc = config_content.parse::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:3529:36 [INFO] [stdout] | [INFO] [stdout] 3529 | let parsed_config = toml_edit::Document::from_str(&config_content)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/lib.rs:5971:46 [INFO] [stdout] | [INFO] [stdout] 5971 | let mut doc = config_content.parse::() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let mut project_dir = prompt_for_project_dir(&default_dir)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/lib.rs:714:10 [INFO] [stdout] | [INFO] [stdout] 714 | let (base_dir, projects_dir) = setup_base_structure(config)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:2717:5 [INFO] [stdout] | [INFO] [stdout] 2661 | / loop { [INFO] [stdout] 2662 | | if start_time.elapsed() > timeout { [INFO] [stdout] 2663 | | pb.finish_with_message("❌ Transaction confirmation timed out after 60 minutes"); [INFO] [stdout] 2664 | | return Err(anyhow!("Transaction confirmation timed out")); [INFO] [stdout] ... | [INFO] [stdout] 2690 | | tokio::time::sleep(Duration::from_secs(5)).await; // Check every 5 seconds instead of 1 [INFO] [stdout] 2691 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 2717 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txid` [INFO] [stdout] --> src/lib.rs:2979:10 [INFO] [stdout] | [INFO] [stdout] 2979 | let (txid, _) = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:3520:26 [INFO] [stdout] | [INFO] [stdout] 3520 | pub async fn config_view(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:4326:57 [INFO] [stdout] | [INFO] [stdout] 4326 | pub async fn start_gcp_indexer(args: &IndexerStartArgs, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_instance_output` [INFO] [stdout] --> src/lib.rs:4375:9 [INFO] [stdout] | [INFO] [stdout] 4375 | let create_instance_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_instance_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_push_output` [INFO] [stdout] --> src/lib.rs:5119:9 [INFO] [stdout] | [INFO] [stdout] 5119 | let build_push_output = ShellCommand::new("gcloud") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_push_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/lib.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_dir` [INFO] [stdout] --> src/demo/setup.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `builder` is never read [INFO] [stdout] --> src/lib.rs:2155:9 [INFO] [stdout] | [INFO] [stdout] 2155 | builder = Config::builder() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:5969:13 [INFO] [stdout] | [INFO] [stdout] 5969 | let mut config_content = fs::read_to_string(config_file_path) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_all` is never used [INFO] [stdout] --> src/lib.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 600 | fn copy_dir_all(src: impl AsRef, dst: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_excluding` is never used [INFO] [stdout] --> src/lib.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | fn copy_dir_excluding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_directory_empty` is never used [INFO] [stdout] --> src/lib.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | fn is_directory_empty(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_all_related_containers` is never used [INFO] [stdout] --> src/lib.rs:1407:4 [INFO] [stdout] | [INFO] [stdout] 1407 | fn stop_all_related_containers() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connected_peer_count` is never used [INFO] [stdout] --> src/lib.rs:2011:10 [INFO] [stdout] | [INFO] [stdout] 2011 | async fn get_connected_peer_count(client: &reqwest::Client, rpc_endpoint: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_program_path` is never used [INFO] [stdout] --> src/lib.rs:2364:4 [INFO] [stdout] | [INFO] [stdout] 2364 | fn get_program_path(args: &DeployArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_with_tx_info` is never used [INFO] [stdout] --> src/lib.rs:2396:10 [INFO] [stdout] | [INFO] [stdout] 2396 | async fn deploy_program_with_tx_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_new_keypair` is never used [INFO] [stdout] --> src/lib.rs:2544:4 [INFO] [stdout] | [INFO] [stdout] 2544 | fn generate_new_keypair() -> Result<(secp256k1::Keypair, Pubkey)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program` is never used [INFO] [stdout] --> src/lib.rs:2734:10 [INFO] [stdout] | [INFO] [stdout] 2734 | async fn deploy_program( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_program_txs_with_folder` is never used [INFO] [stdout] --> src/lib.rs:2934:10 [INFO] [stdout] | [INFO] [stdout] 2934 | async fn deploy_program_txs_with_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_program_account` is never used [INFO] [stdout] --> src/lib.rs:2965:10 [INFO] [stdout] | [INFO] [stdout] 2965 | async fn create_program_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deploy_to_cloud_run` is never used [INFO] [stdout] --> src/lib.rs:3403:10 [INFO] [stdout] | [INFO] [stdout] 3403 | async fn deploy_to_cloud_run(project_id: &str, region: &str, demo_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_name_exists` is never used [INFO] [stdout] --> src/lib.rs:3841:4 [INFO] [stdout] | [INFO] [stdout] 3841 | fn account_name_exists(accounts_file: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_account_to_file` is never used [INFO] [stdout] --> src/lib.rs:3859:4 [INFO] [stdout] | [INFO] [stdout] 3859 | fn save_account_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cloud_run_url` is never used [INFO] [stdout] --> src/demo/gcp.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_cloud_run_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rpc_url` is never used [INFO] [stdout] --> src/demo/setup.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_rpc_url(args: &DemoStartArgs, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_demo_cargo_toml` is never used [INFO] [stdout] --> src/demo/setup.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "ca475d5ba9632f65945bd6ad2b19d2eaa6388fb6800e52801b56f5b569d9ebe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca475d5ba9632f65945bd6ad2b19d2eaa6388fb6800e52801b56f5b569d9ebe4", kill_on_drop: false }` [INFO] [stdout] ca475d5ba9632f65945bd6ad2b19d2eaa6388fb6800e52801b56f5b569d9ebe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac13291ec3873491da3ea43635bddff28df71476ab9e3a4b0bb42be2d56bbacd [INFO] running `Command { std: "docker" "start" "-a" "ac13291ec3873491da3ea43635bddff28df71476ab9e3a4b0bb42be2d56bbacd", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program_stubs.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/log.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/log.rs:98:15 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:166:15 [INFO] [stderr] | [INFO] [stderr] 166 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:184:11 [INFO] [stderr] | [INFO] [stderr] 184 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:189:15 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:197:11 [INFO] [stderr] | [INFO] [stderr] 197 | #[cfg(target_os = "solana")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> templates/program/src/program.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `arch_program` (lib) generated 14 warnings [INFO] [stderr] warning: unused import: `crate::constants` [INFO] [stderr] --> templates/common/src/helper.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::constants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Network` [INFO] [stderr] --> templates/common/src/helper.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Network, OutPoint, ScriptBuf, Sequence, TapSighashType, Transaction, TxIn, Witness, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::signature::Signature` [INFO] [stderr] --> templates/common/src/processed_transaction.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | use crate::signature::Signature; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stderr] --> templates/common/src/processed_transaction.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | use arch_program::instruction::Instruction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arch_program::message::Message` [INFO] [stderr] --> templates/common/src/processed_transaction.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | use arch_program::message::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stderr] --> templates/common/src/processed_transaction.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | use arch_program::pubkey::Pubkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `proptest::strategy::Just` [INFO] [stderr] --> templates/common/src/processed_transaction.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | use proptest::strategy::Just; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arch_program::instruction::Instruction` [INFO] [stderr] --> templates/common/src/runtime_transaction.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | use arch_program::instruction::Instruction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arch_program::pubkey::Pubkey` [INFO] [stderr] --> templates/common/src/runtime_transaction.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | use arch_program::pubkey::Pubkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `common` (lib) generated 9 warnings (run `cargo fix --lib -p common` to apply 9 suggestions) [INFO] [stderr] warning: unused import: `arch_program::msg` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use arch_program::msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_cloud_run_url` [INFO] [stderr] --> src/lib.rs:3:52 [INFO] [stderr] | [INFO] [stderr] 3 | use demo::{setup_demo_environment, build_frontend, get_cloud_run_url}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::constants::*` [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use common::constants::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::helper::*` [INFO] [stderr] --> src/lib.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use common::helper::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Array` [INFO] [stderr] --> src/lib.rs:52:40 [INFO] [stderr] | [INFO] [stderr] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/lib.rs:52:24 [INFO] [stderr] | [INFO] [stderr] 52 | use toml_edit::{value, Document, Item, Array}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/lib.rs:641:42 [INFO] [stderr] | [INFO] [stderr] 641 | let mut doc = config_content.parse::()?; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/lib.rs:3529:36 [INFO] [stderr] | [INFO] [stderr] 3529 | let parsed_config = toml_edit::Document::from_str(&config_content)?; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/lib.rs:5971:46 [INFO] [stderr] | [INFO] [stderr] 5971 | let mut doc = config_content.parse::() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:469:9 [INFO] [stderr] | [INFO] [stderr] 469 | let mut project_dir = prompt_for_project_dir(&default_dir)?; [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base_dir` [INFO] [stderr] --> src/lib.rs:714:10 [INFO] [stderr] | [INFO] [stderr] 714 | let (base_dir, projects_dir) = setup_base_structure(config)?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:2717:5 [INFO] [stderr] | [INFO] [stderr] 2661 | / loop { [INFO] [stderr] 2662 | | if start_time.elapsed() > timeout { [INFO] [stderr] 2663 | | pb.finish_with_message("❌ Transaction confirmation timed out after 60 minutes"); [INFO] [stderr] 2664 | | return Err(anyhow!("Transaction confirmation timed out")); [INFO] [stderr] ... | [INFO] [stderr] 2690 | | tokio::time::sleep(Duration::from_secs(5)).await; // Check every 5 seconds instead of 1 [INFO] [stderr] 2691 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 2717 | Ok(None) [INFO] [stderr] | ^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `txid` [INFO] [stderr] --> src/lib.rs:2979:10 [INFO] [stderr] | [INFO] [stderr] 2979 | let (txid, _) = tokio::task::spawn_blocking(move || { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_txid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/lib.rs:3520:26 [INFO] [stderr] | [INFO] [stderr] 3520 | pub async fn config_view(config: &Config) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/lib.rs:4326:57 [INFO] [stderr] | [INFO] [stderr] 4326 | pub async fn start_gcp_indexer(args: &IndexerStartArgs, config: &Config) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `create_instance_output` [INFO] [stderr] --> src/lib.rs:4375:9 [INFO] [stderr] | [INFO] [stderr] 4375 | let create_instance_output = ShellCommand::new("gcloud") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_instance_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `build_push_output` [INFO] [stderr] --> src/lib.rs:5119:9 [INFO] [stderr] | [INFO] [stderr] 5119 | let build_push_output = ShellCommand::new("gcloud") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_push_output` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/lib.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base_dir` [INFO] [stderr] --> src/demo/setup.rs:175:44 [INFO] [stderr] | [INFO] [stderr] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `builder` is never read [INFO] [stderr] --> src/lib.rs:2155:9 [INFO] [stderr] | [INFO] [stderr] 2155 | builder = Config::builder() [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:5969:13 [INFO] [stderr] | [INFO] [stderr] 5969 | let mut config_content = fs::read_to_string(config_file_path) [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `copy_dir_all` is never used [INFO] [stderr] --> src/lib.rs:600:4 [INFO] [stderr] | [INFO] [stderr] 600 | fn copy_dir_all(src: impl AsRef, dst: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `copy_dir_excluding` is never used [INFO] [stderr] --> src/lib.rs:614:4 [INFO] [stderr] | [INFO] [stderr] 614 | fn copy_dir_excluding( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_directory_empty` is never used [INFO] [stderr] --> src/lib.rs:662:4 [INFO] [stderr] | [INFO] [stderr] 662 | fn is_directory_empty(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `stop_all_related_containers` is never used [INFO] [stderr] --> src/lib.rs:1407:4 [INFO] [stderr] | [INFO] [stderr] 1407 | fn stop_all_related_containers() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_connected_peer_count` is never used [INFO] [stderr] --> src/lib.rs:2011:10 [INFO] [stderr] | [INFO] [stderr] 2011 | async fn get_connected_peer_count(client: &reqwest::Client, rpc_endpoint: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_program_path` is never used [INFO] [stderr] --> src/lib.rs:2364:4 [INFO] [stderr] | [INFO] [stderr] 2364 | fn get_program_path(args: &DeployArgs, config: &Config) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deploy_program_with_tx_info` is never used [INFO] [stderr] --> src/lib.rs:2396:10 [INFO] [stderr] | [INFO] [stderr] 2396 | async fn deploy_program_with_tx_info( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_new_keypair` is never used [INFO] [stderr] --> src/lib.rs:2544:4 [INFO] [stderr] | [INFO] [stderr] 2544 | fn generate_new_keypair() -> Result<(secp256k1::Keypair, Pubkey)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deploy_program` is never used [INFO] [stderr] --> src/lib.rs:2734:10 [INFO] [stderr] | [INFO] [stderr] 2734 | async fn deploy_program( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deploy_program_txs_with_folder` is never used [INFO] [stderr] --> src/lib.rs:2934:10 [INFO] [stderr] | [INFO] [stderr] 2934 | async fn deploy_program_txs_with_folder( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_program_account` is never used [INFO] [stderr] --> src/lib.rs:2965:10 [INFO] [stderr] | [INFO] [stderr] 2965 | async fn create_program_account( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deploy_to_cloud_run` is never used [INFO] [stderr] --> src/lib.rs:3403:10 [INFO] [stderr] | [INFO] [stderr] 3403 | async fn deploy_to_cloud_run(project_id: &str, region: &str, demo_dir: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `account_name_exists` is never used [INFO] [stderr] --> src/lib.rs:3841:4 [INFO] [stderr] | [INFO] [stderr] 3841 | fn account_name_exists(accounts_file: &Path, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_account_to_file` is never used [INFO] [stderr] --> src/lib.rs:3859:4 [INFO] [stderr] | [INFO] [stderr] 3859 | fn save_account_to_file( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_cloud_run_url` is never used [INFO] [stderr] --> src/demo/gcp.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn get_cloud_run_url( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_rpc_url` is never used [INFO] [stderr] --> src/demo/setup.rs:159:4 [INFO] [stderr] | [INFO] [stderr] 159 | fn get_rpc_url(args: &DemoStartArgs, config: &Config) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_demo_cargo_toml` is never used [INFO] [stderr] --> src/demo/setup.rs:175:4 [INFO] [stderr] | [INFO] [stderr] 175 | fn update_demo_cargo_toml(demo_dir: &Path, base_dir: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `arch-cli` (lib) generated 40 warnings (run `cargo fix --lib -p arch-cli` to apply 9 suggestions) [INFO] [stderr] warning: `arch-cli` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arch_cli-a6100467ab00caa2) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/arch_cli-d6e0c0beedb24db5) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests arch_cli [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" "ac13291ec3873491da3ea43635bddff28df71476ab9e3a4b0bb42be2d56bbacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac13291ec3873491da3ea43635bddff28df71476ab9e3a4b0bb42be2d56bbacd", kill_on_drop: false }` [INFO] [stdout] ac13291ec3873491da3ea43635bddff28df71476ab9e3a4b0bb42be2d56bbacd