[INFO] cloning repository https://github.com/vxshug/snapemu-workflow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vxshug/snapemu-workflow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvxshug%2Fsnapemu-workflow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvxshug%2Fsnapemu-workflow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90ef408b81d602fae8847edcce388e4c05035f05 [INFO] checking vxshug/snapemu-workflow against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvxshug%2Fsnapemu-workflow" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vxshug/snapemu-workflow [INFO] finished tweaking git repo https://github.com/vxshug/snapemu-workflow [INFO] tweaked toml for git repo https://github.com/vxshug/snapemu-workflow written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vxshug/snapemu-workflow on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vxshug/snapemu-workflow 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c075e92318e409486ed0bd08f748eda1926163cb01b01260addf7820e76e0488 [INFO] running `Command { std: "docker" "start" "-a" "c075e92318e409486ed0bd08f748eda1926163cb01b01260addf7820e76e0488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c075e92318e409486ed0bd08f748eda1926163cb01b01260addf7820e76e0488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c075e92318e409486ed0bd08f748eda1926163cb01b01260addf7820e76e0488", kill_on_drop: false }` [INFO] [stdout] c075e92318e409486ed0bd08f748eda1926163cb01b01260addf7820e76e0488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac850a60a9beefc1f595fd941b9171db75a30f30604beb186ae7c5c68840757 [INFO] running `Command { std: "docker" "start" "-a" "0ac850a60a9beefc1f595fd941b9171db75a30f30604beb186ae7c5c68840757", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking sqlformat v0.2.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking dbl v0.3.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking cmac v0.5.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking lorawan v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling normpath v1.2.0 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling rquickjs-sys v0.3.1 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling redis-macros-derive v0.4.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling sea-orm-macros v1.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling rust-i18n v3.0.1 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Compiling sea-query-derive v0.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Compiling hash_name v0.1.0 (/opt/rustwide/workdir/hash_name) [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling utoipa-gen v5.2.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking bitstream-io v2.4.2 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rgb v0.8.40 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling async-graphql-value v7.0.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Compiling async-graphql-parser v7.0.6 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking sea-query v0.31.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking deadpool v0.12.1 [INFO] [stderr] Checking snap_config v0.1.0 (/opt/rustwide/workdir/snap_config) [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking rust-i18n-support v3.0.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking rumqttc v0.24.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking sea-schema v0.15.0 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling rust-i18n-macro v3.0.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.6 [INFO] [stderr] Checking utoipa v5.2.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking cmac v0.7.2 [INFO] [stderr] Checking hmac-sha1 v0.2.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking sea-orm-cli v1.0.1 [INFO] [stderr] Checking accept-language v3.1.0 [INFO] [stderr] Compiling snap_i18n v0.1.0 (/opt/rustwide/workdir/snap_i18n) [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Checking ravif v0.11.7 [INFO] [stderr] Checking utoipa-scalar v0.2.0 [INFO] [stderr] Checking utoipa-axum v0.1.2 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking rquickjs-core v0.3.1 [INFO] [stderr] Checking rquickjs v0.3.1 [INFO] [stderr] Checking async-graphql v7.0.6 [INFO] [stderr] Checking redis-macros v0.4.0 [INFO] [stderr] Checking deadpool-redis v0.16.0 [INFO] [stderr] Checking async-graphql-axum v7.0.6 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sea-query-binder v0.6.0 [INFO] [stderr] Checking sea-orm v1.0.1 [INFO] [stderr] Checking common_define v0.1.0 (/opt/rustwide/workdir/common_define) [INFO] [stderr] Checking sea-orm-migration v1.0.1 [INFO] [stderr] Checking migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> migration/src/m20240904_020441_create_table.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | / manager.create_index( [INFO] [stdout] 367 | | Index::create() [INFO] [stdout] 368 | | .if_not_exists() [INFO] [stdout] 369 | | .name("share-map-idx") [INFO] [stdout] ... | [INFO] [stdout] 373 | | .to_owned() [INFO] [stdout] 374 | | ).await; [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = manager.create_index( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> migration/src/m20240904_020441_create_table.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | / manager.create_index( [INFO] [stdout] 367 | | Index::create() [INFO] [stdout] 368 | | .if_not_exists() [INFO] [stdout] 369 | | .name("share-map-idx") [INFO] [stdout] ... | [INFO] [stdout] 373 | | .to_owned() [INFO] [stdout] 374 | | ).await; [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = manager.create_index( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking device_info v0.1.0 (/opt/rustwide/workdir/device_info) [INFO] [stderr] Checking snap_model v0.1.0 (/opt/rustwide/workdir/snap_model) [INFO] [stdout] warning: field `sensor_name` is never read [INFO] [stdout] --> snap_model/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | sensor_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sensor_name` is never read [INFO] [stdout] --> snap_model/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | sensor_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/lorawan/node.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[instrument(skip(conn))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/lorawan/node.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | redis::cmd("HDEL").arg(&k).arg(key).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/lorawan/node.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | #[instrument(skip(conn, v))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/lorawan/node.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | redis::cmd("HSET").arg(&k).arg(key).arg(v).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/snap.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[instrument(skip(conn, v))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/snap.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | redis::cmd("HSET").arg(&k).arg(key).arg(v).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/lorawan/node.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[instrument(skip(conn))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/lorawan/node.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | redis::cmd("HDEL").arg(&k).arg(key).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/lorawan/node.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | #[instrument(skip(conn, v))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/lorawan/node.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | redis::cmd("HSET").arg(&k).arg(key).arg(v).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> device_info/src/lorawan/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> device_info/src/snap.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[instrument(skip(conn, v))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> device_info/src/snap.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | redis::cmd("HSET").arg(&k).arg(key).arg(v).query_async(conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> device_info/src/lorawan/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking devices_manager v0.1.0 (/opt/rustwide/workdir/devices_manager) [INFO] [stderr] Checking snap_api v0.1.0 (/opt/rustwide/workdir/snap_api) [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:6:126 [INFO] [stdout] | [INFO] [stdout] 6 | use common_define::db::{DbDecodeData, DeviceDataActiveModel, DeviceLoraNodeColumn, DeviceLoraNodeEntity, DevicesEntity, Eui, Key, LoRaAddr}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:6:126 [INFO] [stdout] | [INFO] [stdout] 6 | use common_define::db::{DbDecodeData, DeviceDataActiveModel, DeviceLoraNodeColumn, DeviceLoraNodeEntity, DevicesEntity, Eui, Key, LoRaAddr}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | / pub(crate) async fn get_otaa_info(&mut self) [INFO] [stdout] 198 | | -> DeviceResult> [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | self.conn.del(active_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | self.conn.del::<_, ()>(active_key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> devices_manager/src/man/lora.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | payload: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) async fn otaa_active(dev_addr: LoRaAddr) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | conn.del(active_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 371 | conn.del::<_, ()>(active_key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / pub(crate) async fn new_otaa_node( [INFO] [stdout] 376 | | data: &PushData, [INFO] [stdout] 377 | | info: NodeInfo, [INFO] [stdout] 378 | | dev_nonce: u16, [INFO] [stdout] 379 | | gw: LoRaGate, [INFO] [stdout] 380 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | conn.set(active_key, info_json).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 402 | conn.set::<_, _, ()>(active_key, info_json).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub(crate) async fn delete_device(&self, id: Eui) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 415 | conn.del(dev_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 415 ~ conn.del::<_, ()>(dev_key).await?; [INFO] [stdout] 416 ~ conn.del::<_, ()>(task_key).await?; [INFO] [stdout] 417 ~ conn.del::<_, ()>(key).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub(crate) async fn update_version(&mut self, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 482 | conn.hset(self.key.as_str(), GatewayInfo::version(), version).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 482 | conn.hset::<_, _, _, ()>(self.key.as_str(), GatewayInfo::version(), version).await?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | conn.hset(self.key.as_str(), GatewayInfo::down(), &addr).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:503:14 [INFO] [stdout] | [INFO] [stdout] 503 | conn.hset(self.key.as_str(), (GatewayInfo::tmst(), tmst), (GatewayInfo::time(), now)) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | async fn gateway_status(status: GatewayStatus, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gw` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | async fn gateway_status(status: GatewayStatus, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub(crate) async fn join_request( [INFO] [stdout] 24 | | _data: &PushData, [INFO] [stdout] 25 | | device: &NodeInfo, [INFO] [stdout] 26 | | conn: &mut redis::aio::MultiplexedConnection [INFO] [stdout] 27 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / pub(crate) async fn join_accept( [INFO] [stdout] 46 | | addr: LoRaAddr, [INFO] [stdout] 47 | | device: &NodeInfo, [INFO] [stdout] 48 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 49 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 59 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | / pub(crate) async fn get_otaa_info(&mut self) [INFO] [stdout] 198 | | -> DeviceResult> [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | self.conn.del(active_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | self.conn.del::<_, ()>(active_key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> devices_manager/src/man/lora.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | payload: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / async fn decode_payload( [INFO] [stdout] 191 | | push_data: &PushData, [INFO] [stdout] 192 | | node: &mut LoRaNode, [INFO] [stdout] 193 | | header: &LoRaPayload, [INFO] [stdout] 194 | | payload: DecryptedDataPayload>, [INFO] [stdout] 195 | | ) -> DeviceResult { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | ... redis.set(last_key, last_data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 236 ~ redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 237 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 256 | debug!("save last data"); [INFO] [stdout] 257 ~ redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 258 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 266 | debug!("change battery status"); [INFO] [stdout] 267 ~ redis.hset::<_, _, _, ()>(node.key.as_str(), (NodeInfo::battery(),status.battery), (NodeInfo::charge(), status.charge)).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let msg = MqttMessage::new_row_data(&all_data, 1)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:227:133 [INFO] [stdout] | [INFO] [stdout] 227 | ...r(), RawData::new(data)).map_err(|e| DeviceError::data("js decode"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) async fn otaa_active(dev_addr: LoRaAddr) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | conn.del(active_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 371 | conn.del::<_, ()>(active_key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / pub(crate) async fn new_otaa_node( [INFO] [stdout] 376 | | data: &PushData, [INFO] [stdout] 377 | | info: NodeInfo, [INFO] [stdout] 378 | | dev_nonce: u16, [INFO] [stdout] 379 | | gw: LoRaGate, [INFO] [stdout] 380 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | conn.set(active_key, info_json).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 402 | conn.set::<_, _, ()>(active_key, info_json).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / pub(crate) async fn down_link( [INFO] [stdout] 103 | | _data: &PushData, [INFO] [stdout] 104 | | device: &NodeInfo, [INFO] [stdout] 105 | | down: Option<&DownloadData>, [INFO] [stdout] 106 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 107 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 119 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / pub(crate) async fn uplink( [INFO] [stdout] 67 | | header: &LoRaPayload, [INFO] [stdout] 68 | | device: &LoRaNode, [INFO] [stdout] 69 | | gateway: &PushData, [INFO] [stdout] 70 | | data: &[u8], [INFO] [stdout] 71 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 72 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 95 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | async fn gateway_txack_data(header: GatewayUpDataHeader, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gw` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | async fn gateway_txack_data(header: GatewayUpDataHeader, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> devices_manager/src/service/gateway_statue.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) async fn gateway_status(state: PushState) -> DeviceResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub(crate) async fn delete_device(&self, id: Eui) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 415 | conn.del(dev_key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 415 ~ conn.del::<_, ()>(dev_key).await?; [INFO] [stdout] 416 ~ conn.del::<_, ()>(task_key).await?; [INFO] [stdout] 417 ~ conn.del::<_, ()>(key).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub(crate) async fn update_version(&mut self, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 482 | conn.hset(self.key.as_str(), GatewayInfo::version(), version).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 482 | conn.hset::<_, _, _, ()>(self.key.as_str(), GatewayInfo::version(), version).await?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn wrap(&mut self) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | self.redis.publish(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 109 ~ self.redis.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] 110 | [INFO] [stdout] ... [INFO] [stdout] 159 | let last_data = LastDecodeData::new(data.0.clone(), now); [INFO] [stdout] 160 ~ self.redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 161 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 176 | let last_key = last_device_data_key(snap_device.id); [INFO] [stdout] 177 ~ self.redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | conn.hset(self.key.as_str(), GatewayInfo::down(), &addr).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/man/lora.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/man/lora.rs:503:14 [INFO] [stdout] | [INFO] [stdout] 503 | conn.hset(self.key.as_str(), (GatewayInfo::tmst(), tmst), (GatewayInfo::time(), now)) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:151:132 [INFO] [stdout] | [INFO] [stdout] 151 | ..., RawData::new(payload)).map_err(|e| DeviceError::data("js decode"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::http::GraphiQLSource` [INFO] [stdout] --> snap_api/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_graphql::http::GraphiQLSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `IntoResponse` [INFO] [stdout] --> snap_api/src/lib.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::response::{Html, IntoResponse, Response}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenApi` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use utoipa::{Modify, OpenApi}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scalar` and `Servable` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use utoipa_scalar::{Scalar, Servable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::load::load_config` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::load::load_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `post` [INFO] [stdout] --> snap_api/src/api/restful/device/group.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::{delete, post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `Router` [INFO] [stdout] --> snap_api/src/api/restful/device/group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::{Json, Router}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/device/query.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/query.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, and `post` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::{delete, get, post}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/device/log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/device/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/product.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/device/product.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `post` and `put` [INFO] [stdout] --> snap_api/src/api/restful/user/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::routing::{post, put}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/user/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/decode.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `post` [INFO] [stdout] --> snap_api/src/api/restful/decode.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{delete, post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> snap_api/src/api/restful/admin/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiKeyValue` and `ApiKey` [INFO] [stdout] --> snap_api/src/api/restful/admin/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use utoipa::openapi::security::{ApiKey, ApiKeyValue, HttpAuthScheme, HttpBuilder, SecurityScheme}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::extract::{Path, Query, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoRaAddr` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:10:118 [INFO] [stdout] | [INFO] [stdout] 10 | use common_define::db::{DecodeMap, DecodeScriptEntity, DeviceLoraNodeEntity, DevicesColumn, DevicesEntity, Eui, Key, LoRaAddr, SnapDevice... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::error::{ApiError, ApiResponse, ApiResponseResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DevicesColumn` [INFO] [stdout] --> snap_api/src/api/restful/admin/user.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use common_define::db::{DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, Eui, UsersColumn, UsersEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DevicesColumn`, `DevicesEntity`, and `UsersColumn` [INFO] [stdout] --> snap_api/src/api/restful/admin/group.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use common_define::db::{DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, UsersColumn, UsersEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SnPath` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::{SnJson, SnPath}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiError` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{ApiError, ApiResponseResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::extract::{Query, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceGroupColumn`, `DeviceGroupEntity`, `DevicesColumn`, `DevicesEntity`, `Eui`, `UsersColumn`, and `UsersEntity` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, Eui, SnapConfigActiveModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 9 | SnapConfigColumn, SnapConfigEntity, UsersColumn, UsersEntity, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginatorTrait` and `QueryOrder` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:14:79 [INFO] [stdout] | [INFO] [stdout] 14 | ActiveModelTrait, ActiveValue, ColumnTrait, EntityTrait, IntoActiveModel, PaginatorTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | QueryFilter, QueryOrder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::State` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_current_user` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{get_current_user, tt, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{Multipart, Query, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `service::user::Token` [INFO] [stdout] --> snap_api/src/error.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | use service::user::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedisPool` [INFO] [stdout] --> snap_api/src/service/user/auth.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{run_with_user, tt, RedisPool}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::http::GraphiQLSource` [INFO] [stdout] --> snap_api/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_graphql::http::GraphiQLSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `IntoResponse` [INFO] [stdout] --> snap_api/src/lib.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::response::{Html, IntoResponse, Response}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenApi` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use utoipa::{Modify, OpenApi}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scalar` and `Servable` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use utoipa_scalar::{Scalar, Servable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::load::load_config` [INFO] [stdout] --> snap_api/src/api/restful/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::load::load_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `post` [INFO] [stdout] --> snap_api/src/api/restful/device/group.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::{delete, post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `Router` [INFO] [stdout] --> snap_api/src/api/restful/device/group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::{Json, Router}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/device/query.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/query.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, and `post` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::{delete, get, post}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/device/log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/device/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/device/product.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> snap_api/src/api/restful/device/product.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `post` and `put` [INFO] [stdout] --> snap_api/src/api/restful/user/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::routing::{post, put}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/user/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> snap_api/src/api/restful/decode.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `post` [INFO] [stdout] --> snap_api/src/api/restful/decode.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{delete, post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> snap_api/src/api/restful/admin/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiKeyValue` and `ApiKey` [INFO] [stdout] --> snap_api/src/api/restful/admin/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use utoipa::openapi::security::{ApiKey, ApiKeyValue, HttpAuthScheme, HttpBuilder, SecurityScheme}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::extract::{Path, Query, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoRaAddr` [INFO] [stdout] --> snap_api/src/api/restful/admin/device.rs:10:118 [INFO] [stdout] | [INFO] [stdout] 10 | use common_define::db::{DecodeMap, DecodeScriptEntity, DeviceLoraNodeEntity, DevicesColumn, DevicesEntity, Eui, Key, LoRaAddr, SnapDevice... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::error::{ApiError, ApiResponse, ApiResponseResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DevicesColumn` [INFO] [stdout] --> snap_api/src/api/restful/admin/user.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use common_define::db::{DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, Eui, UsersColumn, UsersEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DevicesColumn`, `DevicesEntity`, and `UsersColumn` [INFO] [stdout] --> snap_api/src/api/restful/admin/group.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use common_define::db::{DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, UsersColumn, UsersEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SnPath` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::{SnJson, SnPath}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiError` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{ApiError, ApiResponseResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::extract::{Query, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceGroupColumn`, `DeviceGroupEntity`, `DevicesColumn`, `DevicesEntity`, `Eui`, `UsersColumn`, and `UsersEntity` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DeviceGroupColumn, DeviceGroupEntity, DevicesColumn, DevicesEntity, Eui, SnapConfigActiveModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 9 | SnapConfigColumn, SnapConfigEntity, UsersColumn, UsersEntity, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginatorTrait` and `QueryOrder` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:14:79 [INFO] [stdout] | [INFO] [stdout] 14 | ActiveModelTrait, ActiveValue, ColumnTrait, EntityTrait, IntoActiveModel, PaginatorTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | QueryFilter, QueryOrder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> snap_api/src/api/restful/admin/config.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::State` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_current_user` [INFO] [stdout] --> snap_api/src/api/restful/admin/log.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{get_current_user, tt, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{Multipart, Query, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `service::user::Token` [INFO] [stdout] --> snap_api/src/error.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | use service::user::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedisPool` [INFO] [stdout] --> snap_api/src/service/user/auth.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{run_with_user, tt, RedisPool}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/gateway.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / pub(crate) async fn gateway_state( [INFO] [stdout] 16 | | gateway_id: Id, [INFO] [stdout] 17 | | state: GatewayUpData, [INFO] [stdout] 18 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/gateway.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | conn.publish(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 47 ~ conn.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] 48 | return Ok(()); [INFO] [stdout] ... [INFO] [stdout] 98 | let resp = serde_json::to_string(&resp)?; [INFO] [stdout] 99 ~ conn.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/platform.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | async fn _send(rx: &mut tokio::sync::mpsc::Receiver) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/platform.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | conn.publish(PlatformLog::TOPIC, log).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 24 | conn.publish::<_, _, ()>(PlatformLog::TOPIC, log).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | async fn gateway_status(status: GatewayStatus, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gw` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | async fn gateway_status(status: GatewayStatus, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub(crate) async fn join_request( [INFO] [stdout] 24 | | _data: &PushData, [INFO] [stdout] 25 | | device: &NodeInfo, [INFO] [stdout] 26 | | conn: &mut redis::aio::MultiplexedConnection [INFO] [stdout] 27 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / pub(crate) async fn join_accept( [INFO] [stdout] 46 | | addr: LoRaAddr, [INFO] [stdout] 47 | | device: &NodeInfo, [INFO] [stdout] 48 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 49 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 59 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / async fn decode_payload( [INFO] [stdout] 191 | | push_data: &PushData, [INFO] [stdout] 192 | | node: &mut LoRaNode, [INFO] [stdout] 193 | | header: &LoRaPayload, [INFO] [stdout] 194 | | payload: DecryptedDataPayload>, [INFO] [stdout] 195 | | ) -> DeviceResult { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | ... redis.set(last_key, last_data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 236 ~ redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 237 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 256 | debug!("save last data"); [INFO] [stdout] 257 ~ redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 258 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 266 | debug!("change battery status"); [INFO] [stdout] 267 ~ redis.hset::<_, _, _, ()>(node.key.as_str(), (NodeInfo::battery(),status.battery), (NodeInfo::charge(), status.charge)).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let msg = MqttMessage::new_row_data(&all_data, 1)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> devices_manager/src/service/lorawan_node.rs:227:133 [INFO] [stdout] | [INFO] [stdout] 227 | ...r(), RawData::new(data)).map_err(|e| DeviceError::data("js decode"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / pub(crate) async fn down_link( [INFO] [stdout] 103 | | _data: &PushData, [INFO] [stdout] 104 | | device: &NodeInfo, [INFO] [stdout] 105 | | down: Option<&DownloadData>, [INFO] [stdout] 106 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 107 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 119 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / pub(crate) async fn uplink( [INFO] [stdout] 67 | | header: &LoRaPayload, [INFO] [stdout] 68 | | device: &LoRaNode, [INFO] [stdout] 69 | | gateway: &PushData, [INFO] [stdout] 70 | | data: &[u8], [INFO] [stdout] 71 | | conn: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 72 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/mod.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | conn.publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 95 | conn.publish::<_, _, ()>( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | async fn gateway_txack_data(header: GatewayUpDataHeader, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gw` [INFO] [stdout] --> devices_manager/src/service/lorawan_gateway.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | async fn gateway_txack_data(header: GatewayUpDataHeader, gw: LoRaGate) -> DeviceResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> devices_manager/src/service/gateway_statue.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) async fn gateway_status(state: PushState) -> DeviceResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn wrap(&mut self) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | self.redis.publish(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 109 ~ self.redis.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] 110 | [INFO] [stdout] ... [INFO] [stdout] 159 | let last_data = LastDecodeData::new(data.0.clone(), now); [INFO] [stdout] 160 ~ self.redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] 161 | let data = DeviceDataActiveModel { [INFO] [stdout] ... [INFO] [stdout] 176 | let last_key = last_device_data_key(snap_device.id); [INFO] [stdout] 177 ~ self.redis.set::<_, _, ()>(last_key, last_data).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> devices_manager/src/service/custom_gateway.rs:151:132 [INFO] [stdout] | [INFO] [stdout] 151 | ..., RawData::new(payload)).map_err(|e| DeviceError::data("js decode"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/gateway.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / pub(crate) async fn gateway_state( [INFO] [stdout] 16 | | gateway_id: Id, [INFO] [stdout] 17 | | state: GatewayUpData, [INFO] [stdout] 18 | | ) -> DeviceResult { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/gateway.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | conn.publish(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 47 ~ conn.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] 48 | return Ok(()); [INFO] [stdout] ... [INFO] [stdout] 98 | let resp = serde_json::to_string(&resp)?; [INFO] [stdout] 99 ~ conn.publish::<_, _, ()>(common_define::event::DeviceEvent::KAFKA_TOPIC, resp).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> devices_manager/src/event/platform.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | async fn _send(rx: &mut tokio::sync::mpsc::Receiver) -> DeviceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> devices_manager/src/event/platform.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | conn.publish(PlatformLog::TOPIC, log).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 24 | conn.publish::<_, _, ()>(PlatformLog::TOPIC, log).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | user: &CurrentUser, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> devices_manager/src/man/decode.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn decode_with_code(&self, id: Id, code: &str, data: RawData) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:424:128 [INFO] [stdout] | [INFO] [stdout] 424 | ...ng>, dev_eui: Option<&String>, conn: &C) -> ApiResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/group.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | user: &CurrentUser, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn build_with_task(&self, down: &DownloadData, token: u16, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:26:75 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn build_with_task(&self, down: &DownloadData, token: u16, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | token: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/group.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:424:128 [INFO] [stdout] | [INFO] [stdout] 424 | ...ng>, dev_eui: Option<&String>, conn: &C) -> ApiResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/lorawan/node.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/group.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / async fn post_down( [INFO] [stdout] 64 | | State(state): State, [INFO] [stdout] 65 | | SnPath(id): SnPath, [INFO] [stdout] 66 | | SnJson(data): SnJson, [INFO] [stdout] 67 | | ) -> ApiResponseResult { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | conn.publish(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 85 ~ conn.publish::<_, _, ()>(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] 86 | } [INFO] [stdout] ... [INFO] [stdout] 95 | let mut conn = state.redis.get().await?; [INFO] [stdout] 96 ~ conn.publish::<_, _, ()>(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|e| ApiError::User("invalid data".into()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prefix` is never read [INFO] [stdout] --> devices_manager/src/decode.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut prefix = 0; [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: value assigned to `type_len` is never read [INFO] [stdout] --> devices_manager/src/decode.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut type_len = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Path(device): Path [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | Path(device): Path [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user = get_current_user(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/group.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let ok = model.insert(&state.db).await?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/login.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/signup.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices_manager/src/man/data.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) fn format(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) fn format(&self) -> Result, DataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices_manager/src/man/data.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) fn format(&self) -> Result { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) fn format(&self) -> Result, DataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / async fn post_down( [INFO] [stdout] 64 | | State(state): State, [INFO] [stdout] 65 | | SnPath(id): SnPath, [INFO] [stdout] 66 | | SnJson(data): SnJson, [INFO] [stdout] 67 | | ) -> ApiResponseResult { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | conn.publish(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 85 ~ conn.publish::<_, _, ()>(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] 86 | } [INFO] [stdout] ... [INFO] [stdout] 95 | let mut conn = state.redis.get().await?; [INFO] [stdout] 96 ~ conn.publish::<_, _, ()>(DeviceEvent::DOWN_TOPIC, data).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|e| ApiError::User("invalid data".into()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/down.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> devices_manager/src/man/decode.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn decode_with_code(&self, id: Id, code: &str, data: RawData) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Path(device): Path [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | Path(device): Path [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> snap_api/src/api/restful/device/io.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user = get_current_user(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `device: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let DeviceWithAuth { auth, device } = [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> snap_api/src/api/restful/device/map.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let ok = model.insert(&state.db).await?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/login.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/signup.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/api/restful/user/delete.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:98:90 [INFO] [stdout] | [INFO] [stdout] 98 | let jwt_key: Hmac = Hmac::new_from_slice(config.jwt_key.as_bytes()).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> snap_api/src/api/restful/admin/login.rs:98:90 [INFO] [stdout] | [INFO] [stdout] 98 | let jwt_key: Hmac = Hmac::new_from_slice(config.jwt_key.as_bytes()).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | while let Some(mut field) = multipart.next_field().await.map_err(|e| ApiError::User(e.to_string().into()))? { [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: `token` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn build_with_task(&self, down: &DownloadData, token: u16, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:26:75 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn build_with_task(&self, down: &DownloadData, token: u16, version: u8) -> DeviceResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> devices_manager/src/protocol/lora/data.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | token: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | while let Some(mut field) = multipart.next_field().await.map_err(|e| ApiError::User(e.to_string().into()))? { [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: `e` [INFO] [stdout] --> snap_api/src/man/node_event.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(|e| ApiError::User("channel close".into())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> snap_api/src/man/node_event.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(|e| ApiError::User("channel close".into())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/man/user_status.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_email_send_count(&mut self) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/man/user_status.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .query_async(&mut self.conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | .query_async::<()>(&mut self.conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/man/user_status.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn gen_code(&self, email: &str) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/man/user_status.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 85 | .query_async::<()>(&mut conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/man/user_status.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_email_send_count(&mut self) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/man/user_status.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .query_async(&mut self.conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | .query_async::<()>(&mut self.conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/man/user_status.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn gen_code(&self, email: &str) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/man/user_status.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 85 | .query_async::<()>(&mut conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/data/query.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / pub(crate) async fn query_duration_data( [INFO] [stdout] 225 | | device: Id, [INFO] [stdout] 226 | | script_id: Option, [INFO] [stdout] 227 | | data_duration: DataDuration, [INFO] [stdout] 228 | | state: &AppState, [INFO] [stdout] 229 | | ) -> ApiResult { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/data/query.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | redis_conn.set(&key, &resp).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 336 | redis_conn.set::<_, _, ()>(&key, &resp).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/data/query.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / pub(crate) async fn query_last( [INFO] [stdout] 342 | | device: &DevicesModel, [INFO] [stdout] 343 | | state: &AppState, [INFO] [stdout] 344 | | ) -> ApiResult { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/data/query.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 431 | redis_conn.set(&key, &resp).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 431 | redis_conn.set::<_, _, ()>(&key, &resp).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/data/query.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / pub(crate) async fn query_duration_data( [INFO] [stdout] 225 | | device: Id, [INFO] [stdout] 226 | | script_id: Option, [INFO] [stdout] 227 | | data_duration: DataDuration, [INFO] [stdout] 228 | | state: &AppState, [INFO] [stdout] 229 | | ) -> ApiResult { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/data/query.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | redis_conn.set(&key, &resp).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 336 | redis_conn.set::<_, _, ()>(&key, &resp).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prefix` is never read [INFO] [stdout] --> devices_manager/src/decode.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut prefix = 0; [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: value assigned to `type_len` is never read [INFO] [stdout] --> devices_manager/src/decode.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut type_len = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/data/query.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / pub(crate) async fn query_last( [INFO] [stdout] 342 | | device: &DevicesModel, [INFO] [stdout] 343 | | state: &AppState, [INFO] [stdout] 344 | | ) -> ApiResult { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/data/query.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 431 | redis_conn.set(&key, &resp).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 431 | redis_conn.set::<_, _, ()>(&key, &resp).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/service/device/device.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | device: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/device/device.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/service/device/device.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | device: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/device/device.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices_manager/src/man/data.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) fn format(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 300 | pub(crate) fn format(&self) -> Result, DataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices_manager/src/man/data.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) fn format(&self) -> Result { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) fn format(&self) -> Result, DataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/service/device/device.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | device: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/device/device.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> snap_api/src/service/device/device.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | device: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> snap_api/src/service/device/device.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | conn: &C [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/order.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> snap_api/src/service/device/order.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | redis: &mut R, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/service/user/login.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> snap_api/src/service/user/login.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | lang: UserLang, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `SNAPEMU_DEVICE_VERSION` not defined at compile time [INFO] [stdout] --> devices_manager/src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | .version(env!("SNAPEMU_DEVICE_VERSION")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("SNAPEMU_DEVICE_VERSION")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `SNAPEMU_DEVICE_VERSION` not defined at compile time [INFO] [stdout] --> devices_manager/src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | .version(env!("SNAPEMU_DEVICE_VERSION")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("SNAPEMU_DEVICE_VERSION")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/user/token.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) async fn delete_user_token(user_id: Id, conn: &C, redis: &mut R) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/user/token.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | redis.del(token.as_slice()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 192 | redis.del::<_, ()>(token.as_slice()).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_user` [INFO] [stdout] --> snap_api/src/service/user/signup.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let auth_user = user_manager.check_email(user.email.as_str()).await? [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/user/token.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) async fn create_token(user: &UsersModel, state: &AppState) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/user/token.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | redis.set_ex(Self::key(&access), &r, Self::ACCESS_EXPIRES as u64).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 175 | redis.set_ex::<_, _, ()>(Self::key(&access), &r, Self::ACCESS_EXPIRES as u64).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/user/token.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) async fn delete_user_token(user_id: Id, conn: &C, redis: &mut R) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/user/token.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | redis.del(token.as_slice()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 192 | redis.del::<_, ()>(token.as_slice()).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_user` [INFO] [stdout] --> snap_api/src/service/user/signup.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let auth_user = user_manager.check_email(user.email.as_str()).await? [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `devices_manager` (bin "devices_manager") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> snap_api/src/service/user/token.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) async fn create_token(user: &UsersModel, state: &AppState) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> snap_api/src/service/user/token.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | redis.set_ex(Self::key(&access), &r, Self::ACCESS_EXPIRES as u64).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 175 | redis.set_ex::<_, _, ()>(Self::key(&access), &r, Self::ACCESS_EXPIRES as u64).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `devices_manager` (bin "devices_manager" test) due to 1 previous error [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> snap_api/src/api/restful/user/picture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::FutureExt` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColIdx` [INFO] [stdout] --> snap_api/src/service/user/info.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{ActiveModelTrait, ActiveValue, ColIdx, ConnectionTrait, EntityTrait, IntoActiveModel}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> snap_api/src/api/restful/user/picture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::FutureExt` [INFO] [stdout] --> snap_api/src/api/restful/admin/product.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColIdx` [INFO] [stdout] --> snap_api/src/service/user/info.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{ActiveModelTrait, ActiveValue, ColIdx, ConnectionTrait, EntityTrait, IntoActiveModel}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> snap_api/src/man/user_status.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn code(email: &str, code: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> snap_api/src/man/user_status.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn code(email: &str, code: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> snap_api/src/service/user/token.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn gen_refresh_token(id: Id) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> snap_api/src/service/user/token.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> snap_api/src/utils/base64.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut value: u32 = source[count] as u32; [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: trait `IntoAppString` is more private than the item `ApiResponse::::new` [INFO] [stdout] --> snap_api/src/error.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn new(code: ApiStatus, data: impl Into>, message: M, notify: N) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ApiResponse::::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `IntoAppString` is only usable at visibility `pub(self)` [INFO] [stdout] --> snap_api/src/error.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | trait IntoAppString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoAppString` is more private than the item `ApiResponse::auth` [INFO] [stdout] --> snap_api/src/error.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn auth(message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ApiResponse::auth` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `IntoAppString` is only usable at visibility `pub(self)` [INFO] [stdout] --> snap_api/src/error.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | trait IntoAppString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> snap_api/src/service/user/token.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | fn gen_refresh_token(id: Id) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> snap_api/src/service/user/token.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> snap_api/src/utils/base64.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut value: u32 = source[count] as u32; [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: trait `IntoAppString` is more private than the item `ApiResponse::::new` [INFO] [stdout] --> snap_api/src/error.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn new(code: ApiStatus, data: impl Into>, message: M, notify: N) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ApiResponse::::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `IntoAppString` is only usable at visibility `pub(self)` [INFO] [stdout] --> snap_api/src/error.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | trait IntoAppString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoAppString` is more private than the item `ApiResponse::auth` [INFO] [stdout] --> snap_api/src/error.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn auth(message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ApiResponse::auth` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `IntoAppString` is only usable at visibility `pub(self)` [INFO] [stdout] --> snap_api/src/error.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | trait IntoAppString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ac850a60a9beefc1f595fd941b9171db75a30f30604beb186ae7c5c68840757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac850a60a9beefc1f595fd941b9171db75a30f30604beb186ae7c5c68840757", kill_on_drop: false }` [INFO] [stdout] 0ac850a60a9beefc1f595fd941b9171db75a30f30604beb186ae7c5c68840757