[INFO] cloning repository https://github.com/z330789559/prome_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z330789559/prome_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz330789559%2Fprome_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz330789559%2Fprome_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 570051762dccb3d0ef44a647b90431f977594c30 [INFO] checking z330789559/prome_server against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz330789559%2Fprome_server" "/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/z330789559/prome_server on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/z330789559/prome_server [INFO] finished tweaking git repo https://github.com/z330789559/prome_server [INFO] tweaked toml for git repo https://github.com/z330789559/prome_server written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/z330789559/prome_server 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Patch `aes-gcm-siv v0.10.3 (https://github.com/RustCrypto/AEADs?rev=6105d7a5591aefa646a95d12b5e8d3f55a9214ef#6105d7a5)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d9e18ab3bd10bf0ba195303642b4c801cdd1ab471c355971e4f2ed8e6086b77 [INFO] running `Command { std: "docker" "start" "-a" "7d9e18ab3bd10bf0ba195303642b4c801cdd1ab471c355971e4f2ed8e6086b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d9e18ab3bd10bf0ba195303642b4c801cdd1ab471c355971e4f2ed8e6086b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9e18ab3bd10bf0ba195303642b4c801cdd1ab471c355971e4f2ed8e6086b77", kill_on_drop: false }` [INFO] [stdout] 7d9e18ab3bd10bf0ba195303642b4c801cdd1ab471c355971e4f2ed8e6086b77 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bcb40755135f93da7d5f2590757dd157a917e381ef975a1f5a6c83c8c748c6a [INFO] running `Command { std: "docker" "start" "-a" "8bcb40755135f93da7d5f2590757dd157a917e381ef975a1f5a6c83c8c748c6a", kill_on_drop: false }` [INFO] [stderr] warning: Patch `aes-gcm-siv v0.10.3 (https://github.com/RustCrypto/AEADs?rev=6105d7a5591aefa646a95d12b5e8d3f55a9214ef#6105d7a5)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking solana-sanitize v2.1.6 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking solana-atomic-u64 v2.1.6 [INFO] [stderr] Checking solana-decode-error v2.1.6 [INFO] [stderr] Checking five8_core v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling syn-solidity v0.8.15 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking alloy-rlp v0.3.10 [INFO] [stderr] Checking const-hex v1.14.0 [INFO] [stderr] Checking ruint v1.12.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking solana-hash v2.1.6 [INFO] [stderr] Checking solana-sha256-hasher v2.1.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling alloy-sol-type-parser v0.8.15 [INFO] [stderr] Compiling alloy-primitives v0.8.15 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking solana-pubkey v2.1.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking alloy-json-abi v0.8.15 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking solana-instruction v2.1.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.15 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling c-kzg v1.0.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking solana-sysvar-id v2.1.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling alloy-sol-macro v0.8.15 [INFO] [stderr] Checking alloy-sol-types v0.8.15 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking alloy-eip2930 v0.1.0 [INFO] [stderr] Checking alloy-eip7702 v0.4.2 [INFO] [stderr] Checking alloy-serde v0.8.3 [INFO] [stderr] Checking nybbles v0.2.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling solana-sdk-macro v2.1.6 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking alloy-eips v0.8.3 [INFO] [stderr] Checking alloy-trie v0.7.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking alloy-consensus v0.8.3 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking solana-msg v2.1.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking solana-program-error v2.1.6 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking alloy-json-rpc v0.8.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking impl-more v0.1.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking alloy-transport v0.8.3 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Checking alloy-consensus-any v0.8.3 [INFO] [stderr] Checking alloy-network-primitives v0.8.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking solana-program-memory v2.1.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking solana-account-info v2.1.6 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Checking alloy-rpc-types-eth v0.8.3 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking solana-clock v2.1.6 [INFO] [stderr] Checking solana-epoch-schedule v2.1.6 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking alloy-pubsub v0.8.3 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.1 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking interprocess v2.2.2 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking solana-secp256k1-recover v2.1.6 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking solana-slot-history v2.1.6 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking alloy-rpc-types-any v0.8.3 [INFO] [stderr] Checking alloy-signer v0.8.3 [INFO] [stderr] Checking solana-cpi v2.1.6 [INFO] [stderr] Checking solana-program-entrypoint v2.1.6 [INFO] [stderr] Checking solana-program-pack v2.1.6 [INFO] [stderr] Checking solana-last-restart-slot v2.1.6 [INFO] [stderr] Checking solana-rent v2.1.6 [INFO] [stderr] Checking solana-slot-hashes v2.1.6 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking solana-serialize-utils v2.1.6 [INFO] [stderr] Checking solana-transaction-error v2.1.6 [INFO] [stderr] Checking solana-stable-layout v2.1.6 [INFO] [stderr] Checking solana-bincode v2.1.6 [INFO] [stderr] Checking solana-borsh v2.1.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking solana-short-vec v2.1.6 [INFO] [stderr] Checking solana-fee-calculator v2.1.6 [INFO] [stderr] Checking solana-serde-varint v2.1.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Checking solana-native-token v2.1.6 [INFO] [stderr] Checking solana-program-option v2.1.6 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking solana-program v2.1.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking alloy-network v0.8.3 [INFO] [stderr] Checking alloy-transport-ws v0.8.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking alloy-transport-ipc v0.8.3 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking curve25519-dalek v3.2.1 (https://github.com/anza-xyz/curve25519-dalek.git?rev=b500cdc2a920cd5bff9e2dd974d7b97349d61464#b500cdc2) [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Checking alloy-chains v0.1.49 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking alloy-dyn-abi v0.8.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking solana-feature-set v2.1.6 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking raw-cpuid v11.2.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Checking solana-precompile-error v2.1.6 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling moka v0.12.8 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking elliptic-curve v0.8.5 [INFO] [stderr] Checking solana-derivation-path v2.1.6 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking quanta v0.12.4 [INFO] [stderr] Checking solana-packet v2.1.6 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Checking solana-bn254 v2.1.6 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking alloy-core v0.8.15 [INFO] [stderr] Checking solana-signature v2.1.6 [INFO] [stderr] Checking solana-account v2.1.6 [INFO] [stderr] Checking alloy-signer-local v0.8.3 [INFO] [stderr] Checking alloy-rpc-types v0.8.3 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking solana-inflation v2.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking awc v3.5.1 [INFO] [stderr] Checking secp256k1 v0.21.3 [INFO] [stderr] Checking actix-web-actors v4.3.1+deprecated [INFO] [stderr] Checking ecdsa v0.10.2 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking spl-token v6.0.0 [INFO] [stderr] Compiling auth_macros v0.1.0 (/opt/rustwide/workdir/auth_macros) [INFO] [stdout] warning: unused variable: `function_name` [INFO] [stdout] --> auth_macros/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let function_name = &input_fn.sig.ident; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> auth_macros/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn jwt_guard(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking redis v0.27.6 [INFO] [stdout] warning: unused variable: `function_name` [INFO] [stdout] --> auth_macros/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let function_name = &input_fn.sig.ident; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> auth_macros/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn jwt_guard(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_name` [INFO] [stdout] --> auth_macros/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let function_name = &input_fn.sig.ident; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> auth_macros/src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn jwt_guard(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking solana-secp256r1-program v2.1.6 [INFO] [stderr] Checking solana-sdk v2.1.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking alloy-transport-http v0.8.3 [INFO] [stderr] Checking alloy-rpc-client v0.8.3 [INFO] [stderr] Checking alloy-provider v0.8.3 [INFO] [stderr] Checking alloy-contract v0.8.3 [INFO] [stderr] Checking alloy v0.8.3 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking promote-node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 26 | | NoteModel, [INFO] [stdout] 27 | | "SELECT * FROM notes ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 28 | | limit as i32, [INFO] [stdout] 29 | | offset as i32 [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | NoteModel, [INFO] [stdout] 57 | | "INSERT INTO notes (title,content,category) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 58 | | body.title.to_string(), [INFO] [stdout] 59 | | body.content.to_string(), [INFO] [stdout] 60 | | body.category.to_owned().unwrap_or("".to_string()) [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 26 | | NoteModel, [INFO] [stdout] 27 | | "SELECT * FROM notes ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 28 | | limit as i32, [INFO] [stdout] 29 | | offset as i32 [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | NoteModel, [INFO] [stdout] 57 | | "INSERT INTO notes (title,content,category) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 58 | | body.title.to_string(), [INFO] [stdout] 59 | | body.content.to_string(), [INFO] [stdout] 60 | | body.category.to_owned().unwrap_or("".to_string()) [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let query_result = sqlx::query_as!(NoteModel, "SELECT * FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let query_result = sqlx::query_as!(NoteModel, "SELECT * FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 134 | | NoteModel, [INFO] [stdout] 135 | | "UPDATE notes SET title = $1, content = $2, category = $3, published = $4, updated_at = $5 WHERE id = $6 RETURNING *", [INFO] [stdout] 136 | | body.title.to_owned().unwrap_or(note.title), [INFO] [stdout] ... | [INFO] [stdout] 141 | | note_id [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let rows_affected = sqlx::query!("DELETE FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let query_result = sqlx::query_as!(NoteModel, "SELECT * FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let query_result = sqlx::query_as!(NoteModel, "SELECT * FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 134 | | NoteModel, [INFO] [stdout] 135 | | "UPDATE notes SET title = $1, content = $2, category = $3, published = $4, updated_at = $5 WHERE id = $6 RETURNING *", [INFO] [stdout] 136 | | body.title.to_owned().unwrap_or(note.title), [INFO] [stdout] ... | [INFO] [stdout] 141 | | note_id [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/note/handler.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let rows_affected = sqlx::query!("DELETE FROM notes WHERE id = $1", note_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/transaction/handler.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 46 | | TransactionModel, [INFO] [stdout] 47 | | "INSERT INTO transaction (addr,\ [INFO] [stdout] 48 | | start_ts,\ [INFO] [stdout] ... | [INFO] [stdout] 76 | | body.signature [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/transaction/handler.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 107 | | TransactionModel, [INFO] [stdout] 108 | | "SELECT * FROM transaction ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 109 | | limit as i32, [INFO] [stdout] 110 | | offset as i32 [INFO] [stdout] 111 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/transaction/handler.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 46 | | TransactionModel, [INFO] [stdout] 47 | | "INSERT INTO transaction (addr,\ [INFO] [stdout] 48 | | start_ts,\ [INFO] [stdout] ... | [INFO] [stdout] 76 | | body.signature [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/transaction/handler.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 107 | | TransactionModel, [INFO] [stdout] 108 | | "SELECT * FROM transaction ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 109 | | limit as i32, [INFO] [stdout] 110 | | offset as i32 [INFO] [stdout] 111 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/account/handler.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 13 | | AccountModel, [INFO] [stdout] 14 | | "INSERT INTO account (user_name,address) VALUES ($1, $2) RETURNING *", [INFO] [stdout] 15 | | body.user_name, [INFO] [stdout] 16 | | body.address [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/account/handler.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 48 | | AccountModel, [INFO] [stdout] 49 | | "SELECT * FROM account WHERE user_name = $1 AND address = $2", [INFO] [stdout] 50 | | body.user_name, [INFO] [stdout] 51 | | body.address [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/account/handler.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 13 | | AccountModel, [INFO] [stdout] 14 | | "INSERT INTO account (user_name,address) VALUES ($1, $2) RETURNING *", [INFO] [stdout] 15 | | body.user_name, [INFO] [stdout] 16 | | body.address [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/account/handler.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 48 | | AccountModel, [INFO] [stdout] 49 | | "SELECT * FROM account WHERE user_name = $1 AND address = $2", [INFO] [stdout] 50 | | body.user_name, [INFO] [stdout] 51 | | body.address [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::note::model::NoteModel` [INFO] [stdout] --> src/note/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::note::model::NoteModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/note/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/auth/sign.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let (signature) = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let (signature) = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] 39 + let signature = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProviderBuilder` and `Provider` [INFO] [stdout] --> src/auth/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use alloy::providers::{Provider, ProviderBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_token` and `validate_token` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) use auth::{generate_token, validate_token}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionModel` [INFO] [stdout] --> src/transaction/handler.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::transaction::model::{TransactionModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/transaction/handler.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / /** [INFO] [stdout] 29 | | *{"address":"5nvCpC9TVhd8AFJ2v7kVxNxM9rWHkyukRDir1yJjZYvH", [INFO] [stdout] 30 | | "startTs":"1552443713", [INFO] [stdout] 31 | | "endTs":"1552465313", [INFO] [stdout] ... | [INFO] [stdout] 43 | | "signature":"66iS3TFHzW33mH11w1nT1SGG7xZHUsvmt8sQHMvQEeGL6basgDTrWZiMjdTMkfYUzshRX6d3NfH6dAvFi2U5KMef"} [INFO] [stdout] 44 | | */ [INFO] [stdout] | |___^ [INFO] [stdout] 45 | / let query_result = sqlx::query_as!( [INFO] [stdout] 46 | | TransactionModel, [INFO] [stdout] 47 | | "INSERT INTO transaction (addr,\ [INFO] [stdout] 48 | | start_ts,\ [INFO] [stdout] ... | [INFO] [stdout] 78 | | .fetch_one(&data.db) [INFO] [stdout] 79 | | .await; [INFO] [stdout] | |_______________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/transaction/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Deserializer` [INFO] [stdout] --> src/transaction/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/transaction/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/transaction/schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/transaction/schema.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serialize_exact` [INFO] [stdout] --> src/transaction/schema.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{serialize_exact, deserialize_from_string, deserialize_i64_from_string, TransactionSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_macros::jwt_guard` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use auth_macros::jwt_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/utils/singnature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/utils/singnature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Claims` [INFO] [stdout] --> src/middleware/signer.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::auth::{validate_token, Claims}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Bytes` [INFO] [stdout] --> src/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws::ProtocolError` [INFO] [stdout] --> src/server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web_actors::ws::ProtocolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/account/handler.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{post, web, Error, HttpResponse, Responder, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::account::model::AccountModel` [INFO] [stdout] --> src/account/handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::account::model::AccountModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::note::model::NoteModel` [INFO] [stdout] --> src/note/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::note::model::NoteModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/note/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/auth/sign.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let (signature) = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let (signature) = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] 39 + let signature = secp.sign_ecdsa(&message, &secret_key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProviderBuilder` and `Provider` [INFO] [stdout] --> src/auth/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use alloy::providers::{Provider, ProviderBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_token` and `validate_token` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) use auth::{generate_token, validate_token}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionModel` [INFO] [stdout] --> src/transaction/handler.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::transaction::model::{TransactionModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/transaction/handler.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / /** [INFO] [stdout] 29 | | *{"address":"5nvCpC9TVhd8AFJ2v7kVxNxM9rWHkyukRDir1yJjZYvH", [INFO] [stdout] 30 | | "startTs":"1552443713", [INFO] [stdout] 31 | | "endTs":"1552465313", [INFO] [stdout] ... | [INFO] [stdout] 43 | | "signature":"66iS3TFHzW33mH11w1nT1SGG7xZHUsvmt8sQHMvQEeGL6basgDTrWZiMjdTMkfYUzshRX6d3NfH6dAvFi2U5KMef"} [INFO] [stdout] 44 | | */ [INFO] [stdout] | |___^ [INFO] [stdout] 45 | / let query_result = sqlx::query_as!( [INFO] [stdout] 46 | | TransactionModel, [INFO] [stdout] 47 | | "INSERT INTO transaction (addr,\ [INFO] [stdout] 48 | | start_ts,\ [INFO] [stdout] ... | [INFO] [stdout] 78 | | .fetch_one(&data.db) [INFO] [stdout] 79 | | .await; [INFO] [stdout] | |_______________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/transaction/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Deserializer` [INFO] [stdout] --> src/transaction/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/transaction/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/transaction/schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/transaction/schema.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serialize_exact` [INFO] [stdout] --> src/transaction/schema.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{serialize_exact, deserialize_from_string, deserialize_i64_from_string, TransactionSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_macros::jwt_guard` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use auth_macros::jwt_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/test/address.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::ed25519::signature::SignerMut` [INFO] [stdout] --> src/test/address.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use ed25519_dalek::ed25519::signature::SignerMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/test/address.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test/address.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_hex::*` [INFO] [stdout] --> src/test/address.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use rustc_hex::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/utils/singnature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/utils/singnature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Claims` [INFO] [stdout] --> src/middleware/signer.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::auth::{validate_token, Claims}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Bytes` [INFO] [stdout] --> src/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws::ProtocolError` [INFO] [stdout] --> src/server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web_actors::ws::ProtocolError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/account/handler.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{post, web, Error, HttpResponse, Responder, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::account::model::AccountModel` [INFO] [stdout] --> src/account/handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::account::model::AccountModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/auth/sign.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | secp.verify_ecdsa(&message, &signature, &public_key).is_ok() [INFO] [stdout] | ------------ ^^^^^^^^^^ expected `&Signature`, found `&Signature<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `ecdsa::Signature<_>` and `secp256k1::ecdsa::Signature` have similar names, but are actually distinct types [INFO] [stdout] note: `ecdsa::Signature<_>` is defined in crate `ecdsa` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ecdsa-0.10.2/src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Signature [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `secp256k1::ecdsa::Signature` is defined in crate `secp256k1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.21.3/src/ecdsa/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Signature(pub(crate) ffi::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.21.3/src/ecdsa/mod.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn verify_ecdsa(&self, msg: &Message, sig: &Signature, pk: &PublicKey) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/auth/sign.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | secp.verify_ecdsa(&message, &signature, &public_key).is_ok() [INFO] [stdout] | ------------ ^^^^^^^^^^ expected `&Signature`, found `&Signature<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `ecdsa::Signature<_>` and `secp256k1::ecdsa::Signature` have similar names, but are actually distinct types [INFO] [stdout] note: `ecdsa::Signature<_>` is defined in crate `ecdsa` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ecdsa-0.10.2/src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Signature [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `secp256k1::ecdsa::Signature` is defined in crate `secp256k1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.21.3/src/ecdsa/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Signature(pub(crate) ffi::Signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/secp256k1-0.21.3/src/ecdsa/mod.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn verify_ecdsa(&self, msg: &Message, sig: &Signature, pk: &PublicKey) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/account/model.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/account/model.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/transaction/schema.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/transaction/schema.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/test/address.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let address = super::ADDRESS; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/address.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut sk = Keypair::new(); [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: `signature` [INFO] [stdout] --> src/test/address.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let signature = "2bEYEqz6kBcS8GiD271NrvipttMqoEHeW8NARoxP9Y6wjNvSRv5QFaRvwXpTfKXv3d7Xams86iHsiFH4EK9buQxF"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/test/address.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let pk= Pubkey::try_from(addr).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/server.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let message = "Hello, World!"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `promote-node` (bin "promote-node") due to 11 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `promote-node` (bin "promote-node" test) due to 11 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8bcb40755135f93da7d5f2590757dd157a917e381ef975a1f5a6c83c8c748c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bcb40755135f93da7d5f2590757dd157a917e381ef975a1f5a6c83c8c748c6a", kill_on_drop: false }` [INFO] [stdout] 8bcb40755135f93da7d5f2590757dd157a917e381ef975a1f5a6c83c8c748c6a