[INFO] cloning repository https://github.com/anish-singh-rawat/Dabarcodes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anish-singh-rawat/Dabarcodes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FDabarcodes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FDabarcodes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 188907f7b194455226d55e757842707393c855a9 [INFO] checking anish-singh-rawat/Dabarcodes against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FDabarcodes" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 26% (7516/28245) Updating files: 27% (7627/28245) Updating files: 28% (7909/28245) Updating files: 29% (8192/28245) Updating files: 30% (8474/28245) Updating files: 31% (8756/28245) Updating files: 32% (9039/28245) Updating files: 33% (9321/28245) Updating files: 34% (9604/28245) Updating files: 35% (9886/28245) Updating files: 36% (10169/28245) Updating files: 37% (10451/28245) Updating files: 38% (10734/28245) Updating files: 39% (11016/28245) Updating files: 40% (11298/28245) Updating files: 41% (11581/28245) Updating files: 42% (11863/28245) Updating files: 43% (12146/28245) Updating files: 44% (12428/28245) Updating files: 45% (12711/28245) Updating files: 46% (12993/28245) Updating files: 47% (13276/28245) Updating files: 48% (13558/28245) Updating files: 49% (13841/28245) Updating files: 50% (14123/28245) Updating files: 51% (14405/28245) Updating files: 52% (14688/28245) Updating files: 53% (14970/28245) Updating files: 54% (15253/28245) Updating files: 55% (15535/28245) Updating files: 56% (15818/28245) Updating files: 57% (16100/28245) Updating files: 58% (16383/28245) Updating files: 59% (16665/28245) Updating files: 60% (16947/28245) Updating files: 61% (17230/28245) Updating files: 62% (17512/28245) Updating files: 63% (17795/28245) Updating files: 64% (18077/28245) Updating files: 65% (18360/28245) Updating files: 65% (18466/28245) Updating files: 66% (18642/28245) Updating files: 67% (18925/28245) Updating files: 68% (19207/28245) Updating files: 69% (19490/28245) Updating files: 70% (19772/28245) Updating files: 71% (20054/28245) Updating files: 72% (20337/28245) Updating files: 73% (20619/28245) Updating files: 74% (20902/28245) Updating files: 75% (21184/28245) Updating files: 76% (21467/28245) Updating files: 77% (21749/28245) Updating files: 78% (22032/28245) Updating files: 79% (22314/28245) Updating files: 79% (22459/28245) Updating files: 80% (22596/28245) Updating files: 81% (22879/28245) Updating files: 82% (23161/28245) Updating files: 83% (23444/28245) Updating files: 83% (23549/28245) Updating files: 84% (23726/28245) Updating files: 85% (24009/28245) Updating files: 86% (24291/28245) Updating files: 87% (24574/28245) Updating files: 88% (24856/28245) Updating files: 89% (25139/28245) Updating files: 90% (25421/28245) Updating files: 90% (25585/28245) Updating files: 91% (25703/28245) Updating files: 91% (25745/28245) Updating files: 91% (25857/28245) Updating files: 92% (25986/28245) Updating files: 93% (26268/28245) Updating files: 94% (26551/28245) Updating files: 95% (26833/28245) Updating files: 95% (26926/28245) Updating files: 95% (27076/28245) Updating files: 96% (27116/28245) Updating files: 97% (27398/28245) Updating files: 98% (27681/28245) Updating files: 99% (27963/28245) Updating files: 99% (28024/28245) Updating files: 99% (28134/28245) Updating files: 100% (28245/28245) Updating files: 100% (28245/28245), done. [INFO] validating manifest of git repo https://github.com/anish-singh-rawat/Dabarcodes on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anish-singh-rawat/Dabarcodes [INFO] finished tweaking git repo https://github.com/anish-singh-rawat/Dabarcodes [INFO] tweaked toml for git repo https://github.com/anish-singh-rawat/Dabarcodes written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anish-singh-rawat/Dabarcodes 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.10.10 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.6 [INFO] [stderr] Downloaded wasmtime v26.0.1 [INFO] [stderr] Downloaded pulley-interpreter v26.0.1 [INFO] [stderr] Downloaded wasmtime-cache v26.0.1 [INFO] [stderr] Downloaded wasmtime-jit-debug v26.0.1 [INFO] [stderr] Downloaded cranelift-bforest v0.113.1 [INFO] [stderr] Downloaded ic-stable-structures v0.6.5 [INFO] [stderr] Downloaded regalloc2 v0.10.2 [INFO] [stderr] Downloaded wasmtime-cranelift v26.0.1 [INFO] [stderr] Downloaded wasmtime-environ v26.0.1 [INFO] [stderr] Downloaded wasmtime-component-macro v26.0.1 [INFO] [stderr] Downloaded cranelift-isle v0.113.1 [INFO] [stderr] Downloaded winch-codegen v26.0.1 [INFO] [stderr] Downloaded wit-parser v0.218.0 [INFO] [stderr] Downloaded wasmparser v0.219.1 [INFO] [stderr] Downloaded wast v219.0.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.113.1 [INFO] [stderr] Downloaded cranelift-entity v0.113.1 [INFO] [stderr] Downloaded wasmparser v0.218.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.113.1 [INFO] [stderr] Downloaded wasm-encoder v0.219.1 [INFO] [stderr] Downloaded cranelift-frontend v0.113.1 [INFO] [stderr] Downloaded wasm-encoder v0.218.0 [INFO] [stderr] Downloaded wasmprinter v0.218.0 [INFO] [stderr] Downloaded wasmtime-winch v26.0.1 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v26.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v26.0.1 [INFO] [stderr] Downloaded wasmtime-fiber v26.0.1 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v26.0.1 [INFO] [stderr] Downloaded wasmtime-slab v26.0.1 [INFO] [stderr] Downloaded cranelift-control v0.113.1 [INFO] [stderr] Downloaded cranelift-native v0.113.1 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v26.0.1 [INFO] [stderr] Downloaded cranelift-bitset v0.113.1 [INFO] [stderr] Downloaded wasmtime-component-util v26.0.1 [INFO] [stderr] Downloaded wat v1.219.1 [INFO] [stderr] Downloaded cranelift-codegen v0.113.1 [INFO] [stderr] Downloaded icrc7-types v0.1.0 [INFO] [stderr] Downloaded candid-extractor v0.1.5 [INFO] [stderr] Downloaded ic-cdk v0.13.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c49aa8438935fec752a7741d3f70bfd8d41baf384bc9f570e4f95f26cfae3ae3 [INFO] running `Command { std: "docker" "start" "-a" "c49aa8438935fec752a7741d3f70bfd8d41baf384bc9f570e4f95f26cfae3ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c49aa8438935fec752a7741d3f70bfd8d41baf384bc9f570e4f95f26cfae3ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49aa8438935fec752a7741d3f70bfd8d41baf384bc9f570e4f95f26cfae3ae3", kill_on_drop: false }` [INFO] [stdout] c49aa8438935fec752a7741d3f70bfd8d41baf384bc9f570e4f95f26cfae3ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd1a300ecf4041e19fc5b86182f2adf5a710a38277560d58e949045f900fded9 [INFO] running `Command { std: "docker" "start" "-a" "fd1a300ecf4041e19fc5b86182f2adf5a710a38277560d58e949045f900fded9", kill_on_drop: false }` [INFO] [stderr] warning: master v0.1.0 (/opt/rustwide/workdir/src/dabarcodes_backend/master) ignoring invalid dependency `candid-extractor` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking ic-stable-structures v0.6.5 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Checking icrc-ledger-types v0.1.6 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.5 [INFO] [stderr] Checking icrc7-types v0.1.0 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking master v0.1.0 (/opt/rustwide/workdir/src/dabarcodes_backend/master) [INFO] [stdout] warning: variant `monthly` should have an upper camel case name [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | monthly, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Monthly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prepaid` should have an upper camel case name [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | prepaid, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Prepaid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Icrc7Token` [INFO] [stdout] --> src/dabarcodes_backend/master/src/store/storage_state.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::types::{AllICRCTokens, Icrc7Token, LinkedSKU, LinkedSkusKey, SubscriptionList, WishlistMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::types::ActiveSubscriptions` [INFO] [stdout] --> src/dabarcodes_backend/master/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::models::types::ActiveSubscriptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `monthly` should have an upper camel case name [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | monthly, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Monthly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `prepaid` should have an upper camel case name [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | prepaid, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Prepaid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Icrc7Token` [INFO] [stdout] --> src/dabarcodes_backend/master/src/store/storage_state.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::types::{AllICRCTokens, Icrc7Token, LinkedSKU, LinkedSkusKey, SubscriptionList, WishlistMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::types::ActiveSubscriptions` [INFO] [stdout] --> src/dabarcodes_backend/master/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::models::types::ActiveSubscriptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriptions` [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/subscribe.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut subscriptions = get_subscriptions(&principal); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriptions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/subscribe.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut subscriptions = get_subscriptions(&principal); [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: `subscriptions` [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/subscribe.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let mut subscriptions = get_subscriptions(&principal); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriptions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/subscribe.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut subscriptions = get_subscriptions(&principal); [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: function `create_promotion` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/products_controller.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn create_promotion(promo: PromotionArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 390 | impl SubCategory { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 391 | pub fn variants() -> &'static [SubCategory] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MintResult` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:452:10 [INFO] [stdout] | [INFO] [stdout] 452 | pub type MintResult = Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESSENTIALS_APP_NAME` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const ESSENTIALS_APP_NAME: &str = "dabarcodes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESSENTIAL_NOTIFICATION_EXPIRING` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ESSENTIAL_NOTIFICATION_EXPIRING: u64 = 24 * 60 * 60 * 1_000_000_000; // 1 day [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authorize_retailer` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/guards.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn authorize_retailer() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authorize_supplier` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/guards.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn authorize_supplier() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/user_types.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 47 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/sku_types.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 33 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/retailer_types.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 81 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/promo_type.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 61 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/product.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 95 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/employee.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn to_bytes(&self) -> Cow<[u8]> { [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] 23 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/store_detail.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_bytes(&self) -> Cow<[u8]> { [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] 25 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/supplier_types.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 65 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/brand_type.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 48 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | fn to_bytes(&self) -> Cow<[u8]> { [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] 76 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | fn to_bytes(&self) -> Cow<[u8]> { [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] 149 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_bytes(&self) -> Cow<[u8]> { [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] 164 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | fn to_bytes(&self) -> Cow<[u8]> { [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] 197 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | fn to_bytes(&self) -> Cow<[u8]> { [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] 212 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | fn to_bytes(&self) -> Cow<[u8]> { [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] 249 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/notification.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 33 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_promotion` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/api/updates/products_controller.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn create_promotion(promo: PromotionArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 390 | impl SubCategory { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 391 | pub fn variants() -> &'static [SubCategory] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MintResult` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:452:10 [INFO] [stdout] | [INFO] [stdout] 452 | pub type MintResult = Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESSENTIALS_APP_NAME` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const ESSENTIALS_APP_NAME: &str = "dabarcodes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESSENTIAL_NOTIFICATION_EXPIRING` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ESSENTIAL_NOTIFICATION_EXPIRING: u64 = 24 * 60 * 60 * 1_000_000_000; // 1 day [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authorize_retailer` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/guards.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn authorize_retailer() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authorize_supplier` is never used [INFO] [stdout] --> src/dabarcodes_backend/master/src/utils/guards.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn authorize_supplier() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/user_types.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 47 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/sku_types.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 33 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/retailer_types.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 81 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/promo_type.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 61 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/product.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 95 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/employee.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn to_bytes(&self) -> Cow<[u8]> { [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] 23 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/store_detail.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_bytes(&self) -> Cow<[u8]> { [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] 25 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/supplier_types.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 65 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/brand_type.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 48 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | fn to_bytes(&self) -> Cow<[u8]> { [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] 76 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | fn to_bytes(&self) -> Cow<[u8]> { [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] 149 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_bytes(&self) -> Cow<[u8]> { [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] 164 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | fn to_bytes(&self) -> Cow<[u8]> { [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] 197 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | fn to_bytes(&self) -> Cow<[u8]> { [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] 212 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/types.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | fn to_bytes(&self) -> Cow<[u8]> { [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] 249 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dabarcodes_backend/master/src/models/notification.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 33 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "fd1a300ecf4041e19fc5b86182f2adf5a710a38277560d58e949045f900fded9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1a300ecf4041e19fc5b86182f2adf5a710a38277560d58e949045f900fded9", kill_on_drop: false }` [INFO] [stdout] fd1a300ecf4041e19fc5b86182f2adf5a710a38277560d58e949045f900fded9