[INFO] cloning repository https://github.com/wildonion/rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wildonion/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwildonion%2Frusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwildonion%2Frusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8b8a867f10e6608d35bb0ca81f792c25f2002e6 [INFO] checking wildonion/rusty against master#6d05c430d2f0573bf98320bb1d2457a72ea1e67f for pr-116607 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwildonion%2Frusty" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wildonion/rusty on toolchain 6d05c430d2f0573bf98320bb1d2457a72ea1e67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wildonion/rusty [INFO] finished tweaking git repo https://github.com/wildonion/rusty [INFO] tweaked toml for git repo https://github.com/wildonion/rusty written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wildonion/rusty 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" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oauth-credentials v0.3.0 [INFO] [stderr] Downloaded oauth1-request-derive v0.4.2 [INFO] [stderr] Downloaded cron v0.12.0 [INFO] [stderr] Downloaded sanitize-filename v0.4.0 [INFO] [stderr] Downloaded actix-multipart-derive v0.6.0 [INFO] [stderr] Downloaded routerify-cors v3.0.0 [INFO] [stderr] Downloaded oauth1-request v0.5.1 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.9.4 [INFO] [stderr] Downloaded parse-size v1.0.0 [INFO] [stderr] Downloaded serde_plain v1.0.1 [INFO] [stderr] Downloaded routerify-multipart v3.0.0 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] [stderr] Downloaded actix-multipart v0.6.0 [INFO] [stderr] Downloaded utoipa v3.3.0 [INFO] [stderr] Downloaded utoipa-gen v3.3.0 [INFO] [stderr] Downloaded redis v0.23.0 [INFO] [stderr] Downloaded openai v1.0.0-alpha.12 [INFO] [stderr] Downloaded routerify v3.0.0 [INFO] [stderr] Downloaded twitter-v2 v0.1.8 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded diesel-derive-enum v2.1.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v3.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2a6e3ba98637559c95eee11881cc381f70814ec3251f872a0221b8a126dd6a [INFO] running `Command { std: "docker" "start" "-a" "be2a6e3ba98637559c95eee11881cc381f70814ec3251f872a0221b8a126dd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2a6e3ba98637559c95eee11881cc381f70814ec3251f872a0221b8a126dd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2a6e3ba98637559c95eee11881cc381f70814ec3251f872a0221b8a126dd6a", kill_on_drop: false }` [INFO] [stdout] be2a6e3ba98637559c95eee11881cc381f70814ec3251f872a0221b8a126dd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f5bdbb889d104cf5057681c9aef8be88f4245c8b574a95838f15f29b471fb21 [INFO] running `Command { std: "docker" "start" "-a" "4f5bdbb889d104cf5057681c9aef8be88f4245c8b574a95838f15f29b471fb21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Checking value-bag v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling rustls v0.21.2 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ahash v0.8.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling rust-embed-utils v7.5.0 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking num-bigint v0.4.3 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking oauth-credentials v0.3.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.9.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking constant_time_eq v0.2.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking blake2b_simd v1.0.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling utoipa-swagger-ui v3.1.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking bitflags v2.3.2 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking rust-argon2 v1.0.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking sanitize-filename v0.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling oauth1-request-derive v0.4.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling utoipa-gen v3.3.0 [INFO] [stderr] Compiling rust-embed-impl v6.6.0 [INFO] [stderr] Compiling command_attr v0.4.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling actix-multipart-derive v0.6.0 [INFO] [stderr] Checking oauth1-request v0.5.1 [INFO] [stderr] Checking rust-embed v6.7.0 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling diesel_derives v2.1.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking sysinfo v0.28.4 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking uuid v1.3.4 [INFO] [stderr] Checking serde_bytes v0.11.9 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking serde_plain v1.0.1 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking cron v0.12.0 [INFO] [stderr] Checking diesel v2.1.0 [INFO] [stderr] Checking utoipa v3.3.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking bson v2.6.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-rt v2.8.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking actix-server v2.2.0 [INFO] [stderr] Checking async-tungstenite v0.17.2 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking actix-tls v3.0.3 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking mongodb v2.6.0 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking actix-http v3.3.1 [INFO] [stderr] Checking redis v0.23.0 [INFO] [stderr] Checking actix-web v4.3.1 [INFO] [stderr] Checking hyper-rustls v0.24.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking routerify v3.0.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking routerify-multipart v3.0.0 [INFO] [stderr] Checking routerify-cors v3.0.0 [INFO] [stderr] Checking actix-cors v0.6.4 [INFO] [stderr] Checking actix-multipart v0.6.0 [INFO] [stderr] Checking reqwest-eventsource v0.4.0 [INFO] [stderr] Checking oauth2 v4.4.1 [INFO] [stderr] Checking openai v1.0.0-alpha.12 [INFO] [stderr] Checking twitter-v2 v0.1.8 [INFO] [stderr] Checking rusty v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mem`, `slice` [INFO] [stdout] --> src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use std::{slice, mem}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Eq`, `hash::Hash` [INFO] [stdout] --> src/main.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | use std::{cmp::Eq, hash::Hash}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `slice` [INFO] [stdout] --> src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use std::{slice, mem}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Cloned` [INFO] [stdout] --> src/main.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | use std::{sync::{Arc, Mutex}, iter::Cloned}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Eq`, `hash::Hash` [INFO] [stdout] --> src/main.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | use std::{cmp::Eq, hash::Hash}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Cloned` [INFO] [stdout] --> src/main.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | use std::{sync::{Arc, Mutex}, iter::Cloned}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/llu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustls::server` [INFO] [stdout] --> src/llu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustls::server; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/llu.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 198 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/llu.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 199 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/llu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustls::server` [INFO] [stdout] --> src/llu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustls::server; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/llu.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 198 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/llu.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 199 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg1.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg1.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test` should have an upper camel case name [INFO] [stdout] --> src/ltg1.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | struct test{ // default type parameter [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test` should have an upper camel case name [INFO] [stdout] --> src/ltg1.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | struct test{ // default type parameter [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg2.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | 'inner: loop{ // inner labeled block [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg2.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | 'inner: for y in 0..5 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg2.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | 'inner: loop{ // inner labeled block [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg2.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | 'inner: for y in 0..5 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg3.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg3.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg4.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg4.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg4.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ltg4.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/ltg5.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/ltg5.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ltg6.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | let this = (||async move{}); // building the closure inside () [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - let this = (||async move{}); // building the closure inside () [INFO] [stdout] 176 + let this = ||async move{}; // building the closure inside () [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg6.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | 'aSexyLabeledBlock:{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ltg6.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | let this = (||async move{}); // building the closure inside () [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - let this = (||async move{}); // building the closure inside () [INFO] [stdout] 176 + let this = ||async move{}; // building the closure inside () [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/prisoners.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; // 0.8.5 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/ltg6.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | 'aSexyLabeledBlock:{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/prisoners.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; // 0.8.5 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/llu.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let name = String::from("erfan"); // String [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/llu.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let a = &w as &dyn Sync; //// Sync trait has implemented for the W so we can cast its instance to the trait and `a` will be a fat poi... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/llu.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let b = &w as *const dyn Sync; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lam` [INFO] [stdout] --> src/llu.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let lam = **datarefcell.borrow_mut(); //// double dereference to get the [0u8l 64] which has 64 bytes data [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bytes` [INFO] [stdout] --> src/llu.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let num_bytes = idx.to_be_bytes(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strc` [INFO] [stdout] --> src/llu.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | let strc = MultiEnum::C{x: 24, b: 25}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_strc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/llu.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let name = String::from("erfan"); // String [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_ptr` [INFO] [stdout] --> src/llu.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let num_ptr: *const u8 = &num_; // ptr of num_ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_raw_pointer_num` [INFO] [stdout] --> src/llu.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | let deref_raw_pointer_num = unsafe{&*num}; // dereferencing the raw pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_raw_pointer_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/llu.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let a = &w as &dyn Sync; //// Sync trait has implemented for the W so we can cast its instance to the trait and `a` will be a fat poi... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/llu.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let b = &w as *const dyn Sync; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_ptr` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let mut name_ptr: *const u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_ptr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lam` [INFO] [stdout] --> src/llu.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let lam = **datarefcell.borrow_mut(); //// double dereference to get the [0u8l 64] which has 64 bytes data [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_ptr` is never read [INFO] [stdout] --> src/llu.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | name_ptr = std::ptr::null(); // fill it with null pointer [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: unused variable: `num_bytes` [INFO] [stdout] --> src/llu.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let num_bytes = idx.to_be_bytes(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_ptr` is never read [INFO] [stdout] --> src/llu.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | name_ptr = name.as_ptr(); // fill it with name bytes [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strc` [INFO] [stdout] --> src/llu.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | let strc = MultiEnum::C{x: 24, b: 25}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_strc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_const_pointer` [INFO] [stdout] --> src/llu.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let c_const_pointer = 32 as *const i16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_const_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_ptr` [INFO] [stdout] --> src/llu.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let num_ptr: *const u8 = &num_; // ptr of num_ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_const_pointer` [INFO] [stdout] --> src/llu.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let c_const_pointer = c_mut_pointer.cast_const(); // casting the c raw mutable pointer into a constant one [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_const_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_raw_pointer_num` [INFO] [stdout] --> src/llu.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | let deref_raw_pointer_num = unsafe{&*num}; // dereferencing the raw pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_raw_pointer_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_ascii` [INFO] [stdout] --> src/llu.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let byte_ascii = b'a' as u32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/llu.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | name = "third_wildonion".to_string(); // raw pointers will change also [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_ptr` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let mut name_ptr: *const u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_ptr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_ptr` is never read [INFO] [stdout] --> src/llu.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | name_ptr = std::ptr::null(); // fill it with null pointer [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: unused variable: `deref_pointer` [INFO] [stdout] --> src/llu.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let deref_pointer = unsafe{&*b}; //// a pointer to the dereferenced const raw pointer to the `a` [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer_var` [INFO] [stdout] --> src/llu.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let mut pointer_var = &var; // this immutable reference or borrower [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/llu.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | for i in 0..3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_ptr` is never read [INFO] [stdout] --> src/llu.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | name_ptr = name.as_ptr(); // fill it with name bytes [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/llu.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | a = &242354; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_const_pointer` [INFO] [stdout] --> src/llu.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let c_const_pointer = 32 as *const i16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_const_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | let mut a = &var_a; //// a is a pointer with a valid lifetime to the location of var_a type and it contains the address and the data ... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_a` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_const_pointer` [INFO] [stdout] --> src/llu.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let c_const_pointer = c_mut_pointer.cast_const(); // casting the c raw mutable pointer into a constant one [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_const_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `b` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | let mut b = &var_b; //// b is a pointer with a valid lifetime to the location of var_b type and it contains the address and the data ... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_b` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_ascii` [INFO] [stdout] --> src/llu.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let byte_ascii = b'a' as u32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/llu.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | a = &var_b; //// pointer of var_a must points to the location of var_b and after that it can access the data inside var_b [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/llu.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | b = &var_a; //// pointer of var_b must points to the location of var_a and after that it can access the data inside var_a [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/llu.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | name = "third_wildonion".to_string(); // raw pointers will change also [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/llu.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | let p = pointee_arr; // pointee_arr is a reference itself thus no need to clone or borrow it from the outside of this scope [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_pointer` [INFO] [stdout] --> src/llu.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let deref_pointer = unsafe{&*b}; //// a pointer to the dereferenced const raw pointer to the `a` [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third` [INFO] [stdout] --> src/llu.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let third = Rc::clone(&another_rc_pointee_arr); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_third` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer_var` [INFO] [stdout] --> src/llu.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let mut pointer_var = &var; // this immutable reference or borrower [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_counter` [INFO] [stdout] --> src/llu.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | let ref_counter = Rc::strong_count(&rc_pointee_arr); // counter is 3 right now [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/llu.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | for i in 0..3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/llu.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | a = &242354; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | let mut a = &var_a; //// a is a pointer with a valid lifetime to the location of var_a type and it contains the address and the data ... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_a` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `b` is assigned to, but never used [INFO] [stdout] --> src/llu.rs:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | let mut b = &var_b; //// b is a pointer with a valid lifetime to the location of var_b type and it contains the address and the data ... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_b` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/llu.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | a = &var_b; //// pointer of var_a must points to the location of var_b and after that it can access the data inside var_b [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/llu.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | b = &var_a; //// pointer of var_b must points to the location of var_a and after that it can access the data inside var_a [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/llu.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | let p = pointee_arr; // pointee_arr is a reference itself thus no need to clone or borrow it from the outside of this scope [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third` [INFO] [stdout] --> src/llu.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let third = Rc::clone(&another_rc_pointee_arr); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_third` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_counter` [INFO] [stdout] --> src/llu.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | let ref_counter = Rc::strong_count(&rc_pointee_arr); // counter is 3 right now [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut raw_mut_pointer_to_name = &mut name as *mut String; [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: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut another_raw_mut_pointer_to_name = &mut name as *mut String; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let mut mut_smart_pointer_to_name = &mut name; // copying `name` into `mut_smart_pointer_to_name` - we can only have one mutable refe... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | let mut c = &mut a as *mut String; // mutable raw pointer to `a` - coercing &mut String into *mut String [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut b = &mut a as *mut i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | let mut m = &mut v; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | let mut pointer_var = &var; // this immutable reference or borrower [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | let mut y = &mut x; //// mutable borrow to x [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | let mut b: *const i32 = &a; // const raw pointer to the location of a [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let mut mut_pointer_to_man = &mut man; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | let mut b = &mut a; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let mut raw_mut_pointer_to_name = &mut name as *mut String; [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: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | let mut another_raw_mut_pointer_to_name = &mut name as *mut String; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let mut mut_smart_pointer_to_name = &mut name; // copying `name` into `mut_smart_pointer_to_name` - we can only have one mutable refe... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | let mut c = &mut a as *mut String; // mutable raw pointer to `a` - coercing &mut String into *mut String [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut b = &mut a as *mut i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | let mut m = &mut v; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | let mut pointer_var = &var; // this immutable reference or borrower [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | let mut y = &mut x; //// mutable borrow to x [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | let mut b: *const i32 = &a; // const raw pointer to the location of a [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let mut mut_pointer_to_man = &mut man; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | let mut b = &mut a; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg1.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let instance = GenFn{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg1.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let instance = GenFn{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `otp_instance` [INFO] [stdout] --> src/ltg1.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let otp_instance = Otp::{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_otp_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `otp_instance` [INFO] [stdout] --> src/ltg1.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let otp_instance = Otp::{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_otp_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_otp` [INFO] [stdout] --> src/ltg1.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let instance_otp = Otp{ // the default type param is i32 for the Generic if it's not passed [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance_otp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_otp` [INFO] [stdout] --> src/ltg1.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let instance_otp = Otp{ // the default type param is i32 for the Generic if it's not passed [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance_otp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutable_boxed` [INFO] [stdout] --> src/ltg1.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mutable_boxed = BoxedIp.as_mut(); //// call as_mut() on the type requires that the type must defined mutable [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutable_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutable_boxed` [INFO] [stdout] --> src/ltg1.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mutable_boxed = BoxedIp.as_mut(); //// call as_mut() on the type requires that the type must defined mutable [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutable_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_boxed_data` [INFO] [stdout] --> src/ltg1.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let bytes_boxed_data = ref_boxed.ip.as_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_boxed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_boxed_data` [INFO] [stdout] --> src/ltg1.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let bytes_boxed_data = ref_boxed.ip.as_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_boxed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_instance` [INFO] [stdout] --> src/ltg1.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let another_instance = Ben{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let instance = Ben{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_in_there` [INFO] [stdout] --> src/ltg1.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let data_in_there = instance.new_data.data; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_in_there` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/ltg1.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let var: Boxed = Box::new(||{}); //// since the Some trait is implemented for Boxed type we can call the run() method on the isntance... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_instance` [INFO] [stdout] --> src/ltg1.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let another_instance = Ben{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg1.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let res = ref_me::<&str>(&name); //// we have to pass a reference to the name since the function param is of type &T which in our cas... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg1.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let instance = Ben{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_in_there` [INFO] [stdout] --> src/ltg1.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let data_in_there = instance.new_data.data; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_in_there` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/ltg1.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let var: Boxed = Box::new(||{}); //// since the Some trait is implemented for Boxed type we can call the run() method on the isntance... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg1.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let res = ref_me::<&str>(&name); //// we have to pass a reference to the name since the function param is of type &T which in our cas... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unpinned_boxed` [INFO] [stdout] --> src/ltg2.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let unpinned_boxed = instance.data.await; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unpinned_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_instance` [INFO] [stdout] --> src/ltg2.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let new_instance = Information::<'_, i32, _, _, &[u8], _>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unpinned_boxed` [INFO] [stdout] --> src/ltg2.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let unpinned_boxed = instance.data.await; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unpinned_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `called_unboxed_cls` [INFO] [stdout] --> src/ltg2.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let called_unboxed_cls = unboxed_cls("wildonion"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_called_unboxed_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_instance` [INFO] [stdout] --> src/ltg2.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let new_instance = Information::<'_, i32, _, _, &[u8], _>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `called_unboxed_cls` [INFO] [stdout] --> src/ltg2.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let called_unboxed_cls = (*boxed_cls)("wildonion"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_called_unboxed_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `called_unboxed_cls` [INFO] [stdout] --> src/ltg2.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let called_unboxed_cls = unboxed_cls("wildonion"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_called_unboxed_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `called_unboxed_cls` [INFO] [stdout] --> src/ltg2.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let called_unboxed_cls = (*boxed_cls)("wildonion"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_called_unboxed_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slice` [INFO] [stdout] --> src/ltg2.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let traits_slice: &[&dyn Fn()]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slice` [INFO] [stdout] --> src/ltg2.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let traits_slice: &[&dyn Fn()]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slices` [INFO] [stdout] --> src/ltg2.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let traits_slices: &[&[Box]]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slices` [INFO] [stdout] --> src/ltg2.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let traits_slices: &[&[Box]]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slices_and_dyn` [INFO] [stdout] --> src/ltg2.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let traits_slices_and_dyn: &[&[&dyn Fn()]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slices_and_dyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traits_slices_and_dyn` [INFO] [stdout] --> src/ltg2.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let traits_slices_and_dyn: &[&[&dyn Fn()]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traits_slices_and_dyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker` [INFO] [stdout] --> src/ltg2.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | for worker in 0..workers{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker` [INFO] [stdout] --> src/ltg2.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | for worker in 0..workers{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/ltg2.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let thread = std::thread::spawn(move ||{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/ltg2.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let thread = std::thread::spawn(move ||{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_token` [INFO] [stdout] --> src/ltg2.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | let get_token = token(); /* here token is callable since it's just only behind a heap data pointer which is Box */ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_token` [INFO] [stdout] --> src/ltg2.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | let get_token = token(); /* here token is callable since it's just only behind a heap data pointer which is Box */ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg2.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | fn run(path: impl Send + Sync + 'static + Sized) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_as_ref` [INFO] [stdout] --> src/ltg2.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let gen_as_ref = gen.as_ref(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_as_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> src/ltg2.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | fut: impl std::future::Future String>, generic: G) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg2.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | fn run(path: impl Send + Sync + 'static + Sized) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_as_ref` [INFO] [stdout] --> src/ltg2.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let gen_as_ref = gen.as_ref(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_as_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> src/ltg2.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | fut: impl std::future::Future String>, generic: G) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ltg2.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 443 | break 'outer; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 446 | println!("this print will never be reached"); //// this is an unreachable code [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ltg2.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 443 | break 'outer; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 446 | println!("this print will never be reached"); //// this is an unreachable code [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nature` [INFO] [stdout] --> src/ltg2.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | let nature = async{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nature` [INFO] [stdout] --> src/ltg2.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | let nature = async{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg2.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let res = async_block().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg2.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let res = async_block().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take_care` [INFO] [stdout] --> src/ltg3.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let take_care = TakeCare::(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_take_care` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_vec` [INFO] [stdout] --> src/ltg3.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let arr_vec = [TakeCare::; 10].to_vec(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/ltg3.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let ra = &r; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ltg3.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let c = &r.method as *const dyn FnOnce(String); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ltg3.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let c = &r as *const dyn Interface; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ltg3.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let data: Arc>>> = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/ltg3.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let cfg = Config::<_, _>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_` [INFO] [stdout] --> src/ltg3.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | let ret_ = &me(); /* calling the closure trait */ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ret_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg3.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let res = game.func; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg3.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | method: |name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/ltg3.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | id: &|pid: u8|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take_care` [INFO] [stdout] --> src/ltg3.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let take_care = TakeCare::(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_take_care` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_vec` [INFO] [stdout] --> src/ltg3.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let arr_vec = [TakeCare::; 10].to_vec(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/ltg3.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let ra = &r; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ltg3.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let c = &r.method as *const dyn FnOnce(String); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ltg3.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let c = &r as *const dyn Interface; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ltg3.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let data: Arc>>> = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/ltg3.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let cfg = Config::<_, _>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_` [INFO] [stdout] --> src/ltg3.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | let ret_ = &me(); /* calling the closure trait */ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ret_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg3.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let res = game.func; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg3.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | method: |name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/ltg3.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | id: &|pid: u8|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | future: impl std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | future: impl std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | future: &dyn std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | future: &dyn std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | future: &dyn std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | future: &dyn std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | future: impl std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/ltg3.rs:518:18 [INFO] [stdout] | [INFO] [stdout] 518 | fn test_<'l>(param: BoxeFutureShodeh) -> impl InterfaceMe{ // or impl Future the default type param output is of type B... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/ltg3.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | future: impl std::future::Future>) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/ltg3.rs:518:18 [INFO] [stdout] | [INFO] [stdout] 518 | fn test_<'l>(param: BoxeFutureShodeh) -> impl InterfaceMe{ // or impl Future the default type param output is of type B... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `let...else` pattern [INFO] [stdout] --> src/ltg4.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / let Complex{ [INFO] [stdout] 515 | | callback, [INFO] [stdout] 516 | | labeled_block, [INFO] [stdout] 517 | | long_block, [INFO] [stdout] 518 | | callback_result [INFO] [stdout] 519 | | } = comp else{ // the else part is not needed since the unpacking process will be matched always [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `else` clause is useless [INFO] [stdout] = help: consider removing the `else` clause [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | ... |_| Some(2) => |_| Some(3), // |_| Some(2) is the other syntax for calling the x closure - the or pattern: it can also be _ | Some(... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | ... |_| _ => unreachable!(), // |_| _ is the other syntax for calling the x closure - the or pattern: it can also be _ | _ since _ mean... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:622:40 [INFO] [stdout] | [INFO] [stdout] 622 | assert!(matches!(callback(..), |_| Some(4))); // it'll be unreachable since the first arm of the match is not match with this [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jobs` [INFO] [stdout] --> src/ltg4.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let jobs: Vec>>>> = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jobs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jobs1` [INFO] [stdout] --> src/ltg4.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let jobs1: Vec>>> = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jobs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg4.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let instance = Keccak{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/ltg4.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let response = (instance.f)(req, res).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clsMe` [INFO] [stdout] --> src/ltg4.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let clsMe = |name: String| { //// we can also put the closure body inside a curly braces [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clsMe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_duplicate` [INFO] [stdout] --> src/ltg4.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let is_duplicate = |val: u16, val_idx: u16|{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_duplicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/ltg4.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | callback, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `callback: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labeled_block` [INFO] [stdout] --> src/ltg4.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | labeled_block, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `labeled_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `let...else` pattern [INFO] [stdout] --> src/ltg4.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / let Complex{ [INFO] [stdout] 515 | | callback, [INFO] [stdout] 516 | | labeled_block, [INFO] [stdout] 517 | | long_block, [INFO] [stdout] 518 | | callback_result [INFO] [stdout] 519 | | } = comp else{ // the else part is not needed since the unpacking process will be matched always [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `else` clause is useless [INFO] [stdout] = help: consider removing the `else` clause [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `long_block` [INFO] [stdout] --> src/ltg4.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | long_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `long_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback_result` [INFO] [stdout] --> src/ltg4.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | callback_result [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `callback_result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | ... |_| Some(2) => |_| Some(3), // |_| Some(2) is the other syntax for calling the x closure - the or pattern: it can also be _ | Some(... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | ... |_| _ => unreachable!(), // |_| _ is the other syntax for calling the x closure - the or pattern: it can also be _ | _ since _ mean... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/ltg4.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | let names = //// building and calling the async closure at the same time [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:622:40 [INFO] [stdout] | [INFO] [stdout] 622 | assert!(matches!(callback(..), |_| Some(4))); // it'll be unreachable since the first arm of the match is not match with this [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg4.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let res = { // res doesn't have any type [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jobs` [INFO] [stdout] --> src/ltg4.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let jobs: Vec>>>> = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jobs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jobs1` [INFO] [stdout] --> src/ltg4.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let jobs1: Vec>>> = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jobs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/ltg4.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let instance = Keccak{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/ltg4.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let response = (instance.f)(req, res).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clsMe` [INFO] [stdout] --> src/ltg4.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let clsMe = |name: String| { //// we can also put the closure body inside a curly braces [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clsMe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_duplicate` [INFO] [stdout] --> src/ltg4.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let is_duplicate = |val: u16, val_idx: u16|{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_duplicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/ltg4.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | callback, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `callback: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labeled_block` [INFO] [stdout] --> src/ltg4.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | labeled_block, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `labeled_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `long_block` [INFO] [stdout] --> src/ltg4.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | long_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `long_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/ltg4.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | let cb = |req, res| { async {res} /* the return type of the closure must be future object */}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback_result` [INFO] [stdout] --> src/ltg4.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | callback_result [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `callback_result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/ltg4.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | let names = //// building and calling the async closure at the same time [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/ltg4.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let ref_ = &mut boxed; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg4.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let res = { // res doesn't have any type [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg4.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | do_it(|name|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ltg4.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | .map(|index|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/ltg4.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | let cb = |req, res| { async {res} /* the return type of the closure must be future object */}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ltg4.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 563 | let statement = |x: u32| Some(2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/ltg4.rs:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | let row = &inputs[index]; //// inputs in the first iteration will be moved from the memory thus we have to borrow it or clone it [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/ltg4.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let map = m; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/ltg4.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let ref_ = &mut boxed; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none_call` [INFO] [stdout] --> src/ltg4.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | let none_call = n_c; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_none_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/ltg4.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | let who = r.receiver; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `much` [INFO] [stdout] --> src/ltg4.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | let much = r.amount; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_much` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg4.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | do_it(|name|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ltg4.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | .map(|index|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ltg4.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 563 | let statement = |x: u32| Some(2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/ltg4.rs:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | let row = &inputs[index]; //// inputs in the first iteration will be moved from the memory thus we have to borrow it or clone it [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/ltg4.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let map = m; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none_call` [INFO] [stdout] --> src/ltg4.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | let none_call = n_c; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_none_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/ltg4.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | let who = r.receiver; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `much` [INFO] [stdout] --> src/ltg4.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | let much = r.amount; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_much` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let mut instance = Test{f: cb}; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let mut instance = Test{f: cb}; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | ... let mut n_c = 2; //// since the closure is bounded to FnMut thus we have to define teh cores as mutable since it'll get a mutable b... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/ltg4.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | async fn run<'v, 'a, V>(param: impl Interface) -> &'a &'v str [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_res` [INFO] [stdout] --> src/ltg4.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let async_res = async{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | ... let mut n_c = 2; //// since the closure is bounded to FnMut thus we have to define teh cores as mutable since it'll get a mutable b... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/ltg4.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | async fn run<'v, 'a, V>(param: impl Interface) -> &'a &'v str [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_res` [INFO] [stdout] --> src/ltg4.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let async_res = async{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut data_instance = Data{ [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg4.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut data_instance = Data{ [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/ltg4.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let m = self.mailbox.recv().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/ltg4.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let m = self.mailbox.recv().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ltg5.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mut_pointer_to_task` [INFO] [stdout] --> src/ltg5.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut_pointer_to_task = &mut cb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_pointer_to_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ltg5.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let t = (queues[0].task)(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/ltg5.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let arr = account.run(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ltg5.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mut_pointer_to_task` [INFO] [stdout] --> src/ltg5.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut_pointer_to_task = &mut cb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_pointer_to_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ltg5.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let t = (queues[0].task)(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/ltg5.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let arr = account.run(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg6.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let res = run(move |req: Request|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg6.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let res = run(move |req: Request|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/ltg6.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let network: Box std::pin::Pin>> + Send + Sync + 'static> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ltg6.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let func: fn() -> EmptyType = run; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/ltg6.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut job = task_.job; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg6.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let res = (task_.job)(ret_string); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/ltg6.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | let ids = events [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg6.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | cls = Box::new(|name|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_func` [INFO] [stdout] --> src/ltg6.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | callback(Box::new(|a_func| {})); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/ltg6.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let network: Box std::pin::Pin>> + Send + Sync + 'static> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ltg6.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let func: fn() -> EmptyType = run; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/ltg6.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut job = task_.job; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg6.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let res = (task_.job)(ret_string); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/ltg6.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | let ids = events [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg6.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | cls = Box::new(|name|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_func` [INFO] [stdout] --> src/ltg6.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | callback(Box::new(|a_func| {})); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg6.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut job = task_.job; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_` [INFO] [stdout] --> src/retbyref.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let res_ = Response{}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_res_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ag` [INFO] [stdout] --> src/retbyref.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let ag = anything.as_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_res_obj` [INFO] [stdout] --> src/retbyref.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let new_res_obj = res; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_res_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/retbyref.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | &move |res|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg6.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut job = task_.job; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_` [INFO] [stdout] --> src/retbyref.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let res_ = Response{}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_res_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ag` [INFO] [stdout] --> src/retbyref.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let ag = anything.as_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_res_obj` [INFO] [stdout] --> src/retbyref.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let new_res_obj = res; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_res_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/retbyref.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | &move |res|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:648:11 [INFO] [stdout] | [INFO] [stdout] 648 | fn s5(mut name: &mut String){ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | fn int(mut int: &mut u32){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:648:11 [INFO] [stdout] | [INFO] [stdout] 648 | fn s5(mut name: &mut String){ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/llu.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | fn int(mut int: &mut u32){ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/ltg1.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn ret_name(age: u8) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ltg1.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/ltg1.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_addr` [INFO] [stdout] --> src/ltg1.rs:115:101 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/ltg1.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let mut bytes = [0u8; 32]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg1.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let name = "wildonion".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg1.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut bytes = [0u8; 32]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_bytes` [INFO] [stdout] --> src/ltg2.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let p_bytes = pinned.as_bytes(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ltg2.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | fn ret_func(f: T) where T: FnMut(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_ref` [INFO] [stdout] --> src/ltg2.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let p_ref = p.as_ref().as_ref().unwrap().0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ltg2.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/ltg1.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn ret_name(age: u8) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ltg2.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | fn handle(&mut self, msg: M) -> Self::Result{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ltg1.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/ltg1.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_addr` [INFO] [stdout] --> src/ltg1.rs:115:101 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/ltg2.rs:368:31 [INFO] [stdout] | [INFO] [stdout] 368 | fn another_start_here(cmd: impl Fn(String) -> ()){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg2.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | describe(|name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg2.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | bolided(|name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/ltg1.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let mut bytes = [0u8; 32]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg1.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let name = "wildonion".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ltg1.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut bytes = [0u8; 32]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] 489 | _ => true, /* _ means any value */ [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] 489 | _ => true, /* _ means any value */ [INFO] [stdout] 490 | |_| () => true, /* |_|() matches any result of calling the callback */ [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 491 | |_| () | _ => false, /* matches any result of calling the callback or _ */ [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 492 | _ | _ => true /* matches any value or any value */ [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg2.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let res = match callback{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:680:28 [INFO] [stdout] | [INFO] [stdout] 680 | fn start<'lifetime, F>(cls: F) -> () where F: FnOnce(String) -> String + 'lifetime{ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 681 | fn start_(cls: Box String>){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:682:16 [INFO] [stdout] | [INFO] [stdout] 682 | fn start__(cls: fn() -> String){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | fn start___(cls: impl FnOnce(String) -> String){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_bytes` [INFO] [stdout] --> src/ltg2.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let p_bytes = pinned.as_bytes(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ltg2.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | fn ret_func(f: T) where T: FnMut(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lam` [INFO] [stdout] --> src/ltg4.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let lam = **datarefcell.borrow_mut(); //// double dereference to get the [0u8l 64] which has 64 bytes data [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/ltg4.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let Chip::Intel{version: esm} = cmd else{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/ltg4.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let ext = executor_instance; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_ref` [INFO] [stdout] --> src/ltg2.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let p_ref = p.as_ref().as_ref().unwrap().0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ltg2.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ltg2.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | fn handle(&mut self, msg: M) -> Self::Result{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/ltg2.rs:368:31 [INFO] [stdout] | [INFO] [stdout] 368 | fn another_start_here(cmd: impl Fn(String) -> ()){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg2.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | describe(|name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg2.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | bolided(|name: String|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_ref_g` [INFO] [stdout] --> src/ltg4.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | ... let as_ref_g = g.as_ref(); /* this works since g is of type G which is bounded to AsRef trait */ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_ref_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] 489 | _ => true, /* _ means any value */ [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] 489 | _ => true, /* _ means any value */ [INFO] [stdout] 490 | |_| () => true, /* |_|() matches any result of calling the callback */ [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 491 | |_| () | _ => false, /* matches any result of calling the callback or _ */ [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg2.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 488 | () => false, /* matches any value this will be matched since the return type of closure is () */ [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 492 | _ | _ => true /* matches any value or any value */ [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/ltg2.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let res = match callback{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:680:28 [INFO] [stdout] | [INFO] [stdout] 680 | fn start<'lifetime, F>(cls: F) -> () where F: FnOnce(String) -> String + 'lifetime{ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 681 | fn start_(cls: Box String>){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:682:16 [INFO] [stdout] | [INFO] [stdout] 682 | fn start__(cls: fn() -> String){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/ltg2.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | fn start___(cls: impl FnOnce(String) -> String){ /* ... */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_ref` [INFO] [stdout] --> src/ltg4.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ... let p_ref = p.as_ref().as_ref().unwrap().0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ltg4.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | ... fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ltg4.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lam` [INFO] [stdout] --> src/ltg4.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let lam = **datarefcell.borrow_mut(); //// double dereference to get the [0u8l 64] which has 64 bytes data [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/ltg4.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | async fn invoke(&mut self, connection: &'lifetime mut Connection) -> Connection{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/ltg4.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let Chip::Intel{version: esm} = cmd else{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/ltg4.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let ext = executor_instance; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ltg4.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let a = param.as_ref(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/ltg4.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | fn sayHelloAgain(call: u8, callback: C) // C is the callback type which is a FnOnce trait [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_ref_g` [INFO] [stdout] --> src/ltg4.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | ... let as_ref_g = g.as_ref(); /* this works since g is of type G which is bounded to AsRef trait */ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_ref_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_user(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn add_user(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn add_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg6.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | fn Ankir(name: impl InterfaceMe){ //// implementing the InterfaceMe trait for the passed in type means that we're bounding the passed... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retbyref.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | let id = node.get_id(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_ref` [INFO] [stdout] --> src/ltg4.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ... let p_ref = p.as_ref().as_ref().unwrap().0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ltg4.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | ... fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/retbyref.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | let mut slice = &mut arr; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/ltg4.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | async fn invoke(&mut self, connection: &'lifetime mut Connection) -> Connection{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | ... Chie::Chaharomi{name: esm, ..} => { //// we can also give another names to the current struct fields using `:` for unpacking on str... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | let TupleStudent(name, age) = stu_info; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/retbyref.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | let TupleStudent(name, age) = stu_info; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ltg4.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let a = param.as_ref(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_user` [INFO] [stdout] --> src/retbyref.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let another_user = User{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_input` [INFO] [stdout] --> src/retbyref.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | let FuckMe{a: first_input, ..} = instanceFuckMe; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | let User{username: name, age: sen} = user; //// unpacking struct with arbitrary field names [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sen` [INFO] [stdout] --> src/retbyref.rs:275:43 [INFO] [stdout] | [INFO] [stdout] 275 | let User{username: name, age: sen} = user; //// unpacking struct with arbitrary field names [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/retbyref.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let s = &hello[0..2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | Chie::Chaharomi{name, ..} => { //// we only care about name and the rest of field will be filled by `..` [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/retbyref.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^ help: try ignoring the field: `age: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/retbyref.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/ltg4.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | fn sayHelloAgain(call: u8, callback: C) // C is the callback type which is a FnOnce trait [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sen` [INFO] [stdout] --> src/retbyref.rs:323:49 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/retbyref.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | ... Chie::Chaharomi{name: esm, ..} => { //// we can also give another names to the current struct fields using `:` for unpacking on str... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/retbyref.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let decoded = serde_json::from_slice::(&encoded.as_ref().unwrap()); //// as_ref() returns a reference to the original type [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded_borsh` [INFO] [stdout] --> src/retbyref.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let decoded_borsh = Chie::try_from_slice(&encoded_borsh).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded_borsh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_user(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn add_user(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn add_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ltg5.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ltg6.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | fn Ankir(name: impl InterfaceMe){ //// implementing the InterfaceMe trait for the passed in type means that we're bounding the passed... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retbyref.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | let id = node.get_id(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/retbyref.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | let mut slice = &mut arr; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/retbyref.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | ... Chie::Chaharomi{name: esm, ..} => { //// we can also give another names to the current struct fields using `:` for unpacking on str... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | let TupleStudent(name, age) = stu_info; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/retbyref.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | let TupleStudent(name, age) = stu_info; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_user` [INFO] [stdout] --> src/retbyref.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let another_user = User{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_input` [INFO] [stdout] --> src/retbyref.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | let FuckMe{a: first_input, ..} = instanceFuckMe; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | let User{username: name, age: sen} = user; //// unpacking struct with arbitrary field names [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sen` [INFO] [stdout] --> src/retbyref.rs:275:43 [INFO] [stdout] | [INFO] [stdout] 275 | let User{username: name, age: sen} = user; //// unpacking struct with arbitrary field names [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/retbyref.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let s = &hello[0..2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | Chie::Chaharomi{name, ..} => { //// we only care about name and the rest of field will be filled by `..` [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/retbyref.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | Chie::Chaharomi{name, age} => { //// using its own fields' names for unpacking on struct arm [INFO] [stdout] | ^^^ help: try ignoring the field: `age: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/retbyref.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sen` [INFO] [stdout] --> src/retbyref.rs:323:49 [INFO] [stdout] | [INFO] [stdout] 323 | ... Chie::Chaharomi{name: esm, age: sen} => { //// we can also give another names to the current struct fields using `:` for unpacking ... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `esm` [INFO] [stdout] --> src/retbyref.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | ... Chie::Chaharomi{name: esm, ..} => { //// we can also give another names to the current struct fields using `:` for unpacking on str... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_esm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/retbyref.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let decoded = serde_json::from_slice::(&encoded.as_ref().unwrap()); //// as_ref() returns a reference to the original type [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded_borsh` [INFO] [stdout] --> src/retbyref.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let decoded_borsh = Chie::try_from_slice(&encoded_borsh).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded_borsh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/retbyref.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | ... let instance = Pack::new(); //// since new() method of the Pack struct will return a new instance of the struct which is allocated ... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_thread` [INFO] [stdout] --> src/retbyref.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | ... fn ref_struct(num_thread: &u8) -> &Pack{ //// returning ref from function to a pre allocated data type (not inside the function) Pa... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/retbyref.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | ... pub fn ref_str_other_pointer_lifetime(status: &u8) -> &str{ //// in this case we're good to return the pointer from the function or... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `taker` [INFO] [stdout] --> src/retbyref.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | fn run_taker(taker: &mut Commander) -> &Commander{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_taker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/retbyref.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let ref_ = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/retbyref.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let ref ref_ = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/retbyref.rs:530:46 [INFO] [stdout] | [INFO] [stdout] 530 | ... pub fn ref_to_str_specific_lifetime<'a>(status: u8) -> &'a str{ //// in this case we're good to return the pointer from the functio... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/retbyref.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | let num = 23; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | ... pub const fn test(name: &String) -> &str{ // we can return &str in here sicne we're using the lifetime of the passed in param which... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARR` is never used [INFO] [stdout] --> src/llu.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub static mut ARR: [u8; 3] = [0u8; 3]; //// filling the array with 3 zeros [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/retbyref.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | ... let instance = Pack::new(); //// since new() method of the Pack struct will return a new instance of the struct which is allocated ... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/llu.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SEEDS: &[&[u8]; 2] = &["wildonion".as_bytes(), &[233]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_thread` [INFO] [stdout] --> src/retbyref.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | ... fn ref_struct(num_thread: &u8) -> &Pack{ //// returning ref from function to a pre allocated data type (not inside the function) Pa... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafer` is never used [INFO] [stdout] --> src/llu.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn unsafer(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/retbyref.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | ... pub fn ref_str_other_pointer_lifetime(status: &u8) -> &str{ //// in this case we're good to return the pointer from the function or... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/llu.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | struct Wrapper { member: i32 } [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `taker` [INFO] [stdout] --> src/retbyref.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | fn run_taker(taker: &mut Commander) -> &Commander{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_taker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/llu.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 671 | struct Test{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 672 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 673 | b: *const String, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/llu.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 676 | impl Test{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 677 | fn new(txt: &str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | fn init(&mut self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | fn a(&self) -> &str{ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 694 | fn b(&self) -> &String{ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/retbyref.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let ref_ = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `me` are never used [INFO] [stdout] --> src/llu.rs:889:16 [INFO] [stdout] | [INFO] [stdout] 887 | impl Gadget{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 888 | [INFO] [stdout] 889 | fn new(ga: Gadget) -> Rc{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 895 | fn me(&self) -> Rc{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg1.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_` [INFO] [stdout] --> src/retbyref.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let ref ref_ = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `gettertor` and `settertor` are never used [INFO] [stdout] --> src/ltg1.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl String> Closure{ [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 74 | [INFO] [stdout] 75 | fn gettertor(&self) -> &impl FnOnce(String) -> String{ // return trait in here since closures are traits [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn settertor() -> fn() -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ltg1.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'i> IpData<'i>{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 95 | fn new(ip: &'i str) -> IpData{ //// the lifetime of the passed in ip must be less or equal than the lifetime of the IpData struct... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ltg1.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 150 | struct Structure<'lifetime, Generic> [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 151 | where Generic: Send + Sync + 'lifetime{ [INFO] [stdout] 152 | pub data: &'lifetime Generic, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg1.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl<'s> Structure<'s, u8>{ [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 161 | fn run(&mut self) -> &Ben{ //// DataAccount default type is u8 but we're saying that we want to pass String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg2.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 150 | impl Callback{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 151 | pub fn run(&self){} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/retbyref.rs:530:46 [INFO] [stdout] | [INFO] [stdout] 530 | ... pub fn ref_to_str_specific_lifetime<'a>(status: u8) -> &'a str{ //// in this case we're good to return the pointer from the functio... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `implement`, `ret_func`, and `implant` are never used [INFO] [stdout] --> src/ltg2.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl<'a, G: Fn() -> Callback, T> Wannet<'a, G, T>{ [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | fn implement(&mut self) -> impl Interface{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn ret_func(f: T) where T: FnMut(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn implant(&mut self, mut imp: impl Interface + Send + Sync + 'static){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/retbyref.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | let num = 23; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ltg2.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 351 | / impl Link<'_, D, F> [INFO] [stdout] 352 | | where F: FnOnce() -> String{ [INFO] [stdout] | |___________________________________- associated items in this implementation [INFO] [stdout] 353 | [INFO] [stdout] 354 | fn run() -> impl FnMut() -> u32{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn start(cmd: impl FnOnce() -> ()){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn another_start_here(cmd: impl Fn(String) -> ()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | async fn create_component(async_block: &mut (impl futures::Future + std::marker::Unpin)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub const FUNC: fn() -> i32 = { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn callmehore(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | async fn create_component_method(async_block: L) where L: Fn() -> std::pin::Pin>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_token` is never used [INFO] [stdout] --> src/ltg2.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 566 | impl Useram{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 567 | pub fn get_token(&self) -> &str{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/retbyref.rs:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | ... pub const fn test(name: &String) -> &str{ // we can return &str in here sicne we're using the lifetime of the passed in param which... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `another_data`, and `third_data` are never read [INFO] [stdout] --> src/ltg2.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 615 | struct Run String> //// T has a default type parameter [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 616 | where F: FnOnce(String) -> String{ [INFO] [stdout] 617 | data: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] 618 | another_data: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 619 | third_data: fn() -> () [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg3.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/ltg3.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 183 | struct Response where T: FnOnce(String) -> (){ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 184 | pub method: T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `is_polled`, and `data_receiver` are never read [INFO] [stdout] --> src/ltg3.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | struct Future<'glifetime, T: Clone>{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 218 | data: Box>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 219 | is_polled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 220 | data_receiver: tokio::sync::oneshot::Receiver<&'glifetime T> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Future` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll` and `ready` are never used [INFO] [stdout] --> src/ltg3.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'glifetime, T: Clone> Future<'glifetime, T>{ [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn poll(&mut self) -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn ready(&self) -> Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `id`, and `pid` are never read [INFO] [stdout] --> src/ltg3.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 287 | struct Config<'lifetime, I, V = fn() -> ()> /* default type parameter doesn't need to be initialized when we're creating the instance... [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 288 | where I: FnMut(u8) -> String{ [INFO] [stdout] 289 | data: V, [INFO] [stdout] | ^^^^ [INFO] [stdout] 290 | id: I, [INFO] [stdout] | ^^ [INFO] [stdout] 291 | pid: &'lifetime str [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg4.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intel` and `M1` are never constructed [INFO] [stdout] --> src/ltg4.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 33 | enum Chip{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 34 | Intel{version: String}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | M1 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Runtime` and `Vm` are never constructed [INFO] [stdout] --> src/ltg4.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | enum Cost{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 58 | Runtime{executor: Executor}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | Vm, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cost` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `run` and `program` are never used [INFO] [stdout] --> src/ltg4.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a, G: AsRef<[G]>> Execute<'a, G>{ [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 108 | fn run(g: G) -> G{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send`, `receive`, and `execute` are never used [INFO] [stdout] --> src/ltg4.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 302 | impl SomeServerActor{ [INFO] [stdout] | ------------------------------------------------- methods in this implementation [INFO] [stdout] 303 | [INFO] [stdout] 304 | pub async fn send(&mut self, m: M) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | async fn receive(&mut self){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | async fn execute(&mut self, f: fn() -> ()){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg5.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg5.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'info, GenericData> Account<'info, GenericData>{ [INFO] [stdout] | ---------------------------------------------------- method in this implementation [INFO] [stdout] 63 | [INFO] [stdout] 64 | pub fn run(&self) -> (&[u8], &str){ /* return pointer to slice types */ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_user`, `add_user`, `add_nft`, and `get_nft` are never used [INFO] [stdout] --> src/ltg5.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 155 | impl Api{ [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub fn get_user(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn add_user(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cls_fn` is never used [INFO] [stdout] --> src/ltg6.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | async fn cls_fn() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_with_callback` is never used [INFO] [stdout] --> src/ltg6.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn function_with_callback(cb: Box i32>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `access` are never read [INFO] [stdout] --> src/ltg6.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 23 | struct Request{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 24 | pub user: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg6.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/prisoners.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/retbyref.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/retbyref.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 93 | impl Ctor{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 94 | pub fn set(&mut self, new_arr: Vec, new_name: String) -> (&Vec, &String){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/retbyref.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 228 | impl Pack{ ////// RETURN BY POINTER EXAMPLE ////// [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn ref_struct(num_thread: &u8) -> &Pack{ //// returning ref from function to a pre allocated data type (not inside the function) ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn ref_str_other_pointer_lifetime(status: &u8) -> &str{ //// in this case we're good to return the pointer from the function ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | fn run_taker(taker: &mut Commander) -> &Commander{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn ref_to_str<'a>() -> &'a str{ //// we can't return &str since we need a lifetime to do so or the &str must be the field of ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | fn ret_taker_mut(taker: &mut Commander) -> &mut Commander{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | fn as_ref(&self) -> &Pack{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | fn as_ref_(&self) -> &Pack{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn ref_to_trait(&self) -> &dyn Interface{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn ref_to_trait__(&self) -> &dyn Interface{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn ref_to_str_other_self_lifetime(&self) -> &str{ //// in this case we're good to return the pointer from the function or sen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn ref_to_str_specific_lifetime<'a>(status: u8) -> &'a str{ //// in this case we're good to return the pointer from the funct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn ref_to_str_static() -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn ref_to_num<'n>() -> &'n i32{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | pub const fn test(name: &String) -> &str{ // we can return &str in here sicne we're using the lifetime of the passed in param whi... [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn closure_are_traits() -> impl FnOnce(String) -> String{ //// returning a closure from the function since closures are trait... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | pub fn run() -> impl std::future::Future{ //// implementing the Future trait for the return type of the function by do... [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | pub async fn unpack_self(&self) -> (){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/retbyref.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 262 | struct FuckMe{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 263 | a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 264 | b: String [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slice` is never read [INFO] [stdout] --> src/retbyref.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 667 | struct Node{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 668 | pub id: u32, [INFO] [stdout] 669 | pub slice: [u32; 1] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id_str_` is never used [INFO] [stdout] --> src/retbyref.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 679 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 680 | fn get_id_str_(&self) -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id_` is never used [INFO] [stdout] --> src/retbyref.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 739 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 740 | fn get_id_(&self) -> &[u32]{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id__` is never used [INFO] [stdout] --> src/retbyref.rs:757:12 [INFO] [stdout] | [INFO] [stdout] 756 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 757 | fn get_id__(&self) -> &'static [u32]{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/retbyref.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 803 | fn get_id(&self) -> &u32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BoxedIp` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut BoxedIp = Box::new(IpData::new("0.0.0.0")); //// Box is a pointer to a heap allocation data of type T [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `boxed_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setIpHosting` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_ip_hosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuckMe` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn fuckMe() -> &'static str{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fuck_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuckMeOneMoreTime` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn fuckMeOneMoreTime<'b>() -> &'b str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuck_me_one_more_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ARR` is never used [INFO] [stdout] --> src/llu.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub static mut ARR: [u8; 3] = [0u8; 3]; //// filling the array with 3 zeros [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/llu.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SEEDS: &[&[u8]; 2] = &["wildonion".as_bytes(), &[233]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafer` is never used [INFO] [stdout] --> src/llu.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn unsafer(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/llu.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | struct Wrapper { member: i32 } [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/llu.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 671 | struct Test{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 672 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 673 | b: *const String, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/llu.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 676 | impl Test{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 677 | fn new(txt: &str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | fn init(&mut self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | fn a(&self) -> &str{ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 694 | fn b(&self) -> &String{ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `me` are never used [INFO] [stdout] --> src/llu.rs:889:16 [INFO] [stdout] | [INFO] [stdout] 887 | impl Gadget{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 888 | [INFO] [stdout] 889 | fn new(ga: Gadget) -> Rc{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 895 | fn me(&self) -> Rc{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg1.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `gettertor` and `settertor` are never used [INFO] [stdout] --> src/ltg1.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl String> Closure{ [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 74 | [INFO] [stdout] 75 | fn gettertor(&self) -> &impl FnOnce(String) -> String{ // return trait in here since closures are traits [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn settertor() -> fn() -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ltg1.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'i> IpData<'i>{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 95 | fn new(ip: &'i str) -> IpData{ //// the lifetime of the passed in ip must be less or equal than the lifetime of the IpData struct... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ltg1.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 150 | struct Structure<'lifetime, Generic> [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 151 | where Generic: Send + Sync + 'lifetime{ [INFO] [stdout] 152 | pub data: &'lifetime Generic, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg1.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl<'s> Structure<'s, u8>{ [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 161 | fn run(&mut self) -> &Ben{ //// DataAccount default type is u8 but we're saying that we want to pass String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg2.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 150 | impl Callback{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 151 | pub fn run(&self){} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `implement`, `ret_func`, and `implant` are never used [INFO] [stdout] --> src/ltg2.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl<'a, G: Fn() -> Callback, T> Wannet<'a, G, T>{ [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | fn implement(&mut self) -> impl Interface{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn ret_func(f: T) where T: FnMut(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn implant(&mut self, mut imp: impl Interface + Send + Sync + 'static){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ltg2.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 351 | / impl Link<'_, D, F> [INFO] [stdout] 352 | | where F: FnOnce() -> String{ [INFO] [stdout] | |___________________________________- associated items in this implementation [INFO] [stdout] 353 | [INFO] [stdout] 354 | fn run() -> impl FnMut() -> u32{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn start(cmd: impl FnOnce() -> ()){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn another_start_here(cmd: impl Fn(String) -> ()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | async fn create_component(async_block: &mut (impl futures::Future + std::marker::Unpin)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub const FUNC: fn() -> i32 = { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn callmehore(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | async fn create_component_method(async_block: L) where L: Fn() -> std::pin::Pin>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_token` is never used [INFO] [stdout] --> src/ltg2.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 566 | impl Useram{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 567 | pub fn get_token(&self) -> &str{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `another_data`, and `third_data` are never read [INFO] [stdout] --> src/ltg2.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 615 | struct Run String> //// T has a default type parameter [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 616 | where F: FnOnce(String) -> String{ [INFO] [stdout] 617 | data: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] 618 | another_data: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 619 | third_data: fn() -> () [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg3.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/ltg3.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 183 | struct Response where T: FnOnce(String) -> (){ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 184 | pub method: T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `is_polled`, and `data_receiver` are never read [INFO] [stdout] --> src/ltg3.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | struct Future<'glifetime, T: Clone>{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 218 | data: Box>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 219 | is_polled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 220 | data_receiver: tokio::sync::oneshot::Receiver<&'glifetime T> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Future` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll` and `ready` are never used [INFO] [stdout] --> src/ltg3.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'glifetime, T: Clone> Future<'glifetime, T>{ [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn poll(&mut self) -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn ready(&self) -> Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `id`, and `pid` are never read [INFO] [stdout] --> src/ltg3.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 287 | struct Config<'lifetime, I, V = fn() -> ()> /* default type parameter doesn't need to be initialized when we're creating the instance... [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 288 | where I: FnMut(u8) -> String{ [INFO] [stdout] 289 | data: V, [INFO] [stdout] | ^^^^ [INFO] [stdout] 290 | id: I, [INFO] [stdout] | ^^ [INFO] [stdout] 291 | pid: &'lifetime str [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg4.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intel` and `M1` are never constructed [INFO] [stdout] --> src/ltg4.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 33 | enum Chip{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 34 | Intel{version: String}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | M1 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Runtime` and `Vm` are never constructed [INFO] [stdout] --> src/ltg4.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | enum Cost{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 58 | Runtime{executor: Executor}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | Vm, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cost` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `run` and `program` are never used [INFO] [stdout] --> src/ltg4.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a, G: AsRef<[G]>> Execute<'a, G>{ [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 108 | fn run(g: G) -> G{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn program<'u, P>(p: P, s: impl Interface) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send`, `receive`, and `execute` are never used [INFO] [stdout] --> src/ltg4.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 302 | impl SomeServerActor{ [INFO] [stdout] | ------------------------------------------------- methods in this implementation [INFO] [stdout] 303 | [INFO] [stdout] 304 | pub async fn send(&mut self, m: M) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | async fn receive(&mut self){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | async fn execute(&mut self, f: fn() -> ()){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg5.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/ltg5.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'info, GenericData> Account<'info, GenericData>{ [INFO] [stdout] | ---------------------------------------------------- method in this implementation [INFO] [stdout] 63 | [INFO] [stdout] 64 | pub fn run(&self) -> (&[u8], &str){ /* return pointer to slice types */ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_user`, `add_user`, `add_nft`, and `get_nft` are never used [INFO] [stdout] --> src/ltg5.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 155 | impl Api{ [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub fn get_user(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn add_user(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_nft(path: String) -> Response{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cls_fn` is never used [INFO] [stdout] --> src/ltg6.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | async fn cls_fn() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_with_callback` is never used [INFO] [stdout] --> src/ltg6.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn function_with_callback(cb: Box i32>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `access` are never read [INFO] [stdout] --> src/ltg6.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 23 | struct Request{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 24 | pub user: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/ltg6.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/prisoners.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/retbyref.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/retbyref.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 93 | impl Ctor{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 94 | pub fn set(&mut self, new_arr: Vec, new_name: String) -> (&Vec, &String){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/retbyref.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 228 | impl Pack{ ////// RETURN BY POINTER EXAMPLE ////// [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn ref_struct(num_thread: &u8) -> &Pack{ //// returning ref from function to a pre allocated data type (not inside the function) ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn ref_str_other_pointer_lifetime(status: &u8) -> &str{ //// in this case we're good to return the pointer from the function ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | fn run_taker(taker: &mut Commander) -> &Commander{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn ref_to_str<'a>() -> &'a str{ //// we can't return &str since we need a lifetime to do so or the &str must be the field of ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | fn ret_taker_mut(taker: &mut Commander) -> &mut Commander{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | fn as_ref(&self) -> &Pack{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | fn as_ref_(&self) -> &Pack{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn ref_to_trait(&self) -> &dyn Interface{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn ref_to_trait__(&self) -> &dyn Interface{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn ref_to_str_other_self_lifetime(&self) -> &str{ //// in this case we're good to return the pointer from the function or sen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn ref_to_str_specific_lifetime<'a>(status: u8) -> &'a str{ //// in this case we're good to return the pointer from the funct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn ref_to_str_static() -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn ref_to_num<'n>() -> &'n i32{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | pub const fn test(name: &String) -> &str{ // we can return &str in here sicne we're using the lifetime of the passed in param whi... [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn closure_are_traits() -> impl FnOnce(String) -> String{ //// returning a closure from the function since closures are trait... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | pub fn run() -> impl std::future::Future{ //// implementing the Future trait for the return type of the function by do... [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | pub async fn unpack_self(&self) -> (){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/retbyref.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 262 | struct FuckMe{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 263 | a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 264 | b: String [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slice` is never read [INFO] [stdout] --> src/retbyref.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 667 | struct Node{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 668 | pub id: u32, [INFO] [stdout] 669 | pub slice: [u32; 1] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id_str_` is never used [INFO] [stdout] --> src/retbyref.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 679 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 680 | fn get_id_str_(&self) -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id_` is never used [INFO] [stdout] --> src/retbyref.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 739 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 740 | fn get_id_(&self) -> &[u32]{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id__` is never used [INFO] [stdout] --> src/retbyref.rs:757:12 [INFO] [stdout] | [INFO] [stdout] 756 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 757 | fn get_id__(&self) -> &'static [u32]{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/retbyref.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Node{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 803 | fn get_id(&self) -> &u32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BoxedIp` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut BoxedIp = Box::new(IpData::new("0.0.0.0")); //// Box is a pointer to a heap allocation data of type T [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `boxed_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setIpHosting` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn setIpHosting<'s, T, F>(input: T, output: Box, ip_addr: Box) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_ip_hosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuckMe` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn fuckMe() -> &'static str{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fuck_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuckMeOneMoreTime` should have a snake case name [INFO] [stdout] --> src/ltg1.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn fuckMeOneMoreTime<'b>() -> &'b str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuck_me_one_more_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnOnce` that must be used [INFO] [stdout] --> src/ltg2.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | run::("src"); /* since ?Sized is implemeneted for the generic thus we can use str unless we have to use &str */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnOnce` that must be used [INFO] [stdout] --> src/ltg2.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | run::(Callback{}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runYours` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 626 | fn runYours() -> impl FnOnce(String) -> String{ //// return closure using -> impl Trait [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `run_yours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runOurs` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 632 | fn runOurs() -> Box String>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `run_ours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runYours_` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 640 | fn runYours_() -> &'static dyn FnOnce(String) -> String{ //// return closure using -> &dy Trait [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `run_yours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ltg3.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | data_sender.send(&&(fut as Func)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = data_sender.send(&&(fut as Func)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime `'Exectuor` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | struct VirtualMachine<'Exectuor, 'b, Runtime: Send + Sync + 'static, const SIZE: usize> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `'exectuor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ltg4.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | self.sender.send(m).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 305 | let _ = self.sender.send(m).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clsMe` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let clsMe = |name: String| { //// we can also put the closure body inside a curly braces [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cls_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clsMe` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let clsMe = |name: String| Box::pin(async{ //// since the return type is a Pin> there is no need to put the Box::pin inside cu... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cls_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sayHelloAgain` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:582:8 [INFO] [stdout] | [INFO] [stdout] 582 | fn sayHelloAgain(call: u8, callback: C) // C is the callback type which is a FnOnce trait [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `say_hello_again` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::iter::Map` that must be used [INFO] [stdout] --> src/ltg4.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | / nfts.into_iter().map(|nft| { [INFO] [stdout] 607 | | for r in nft.royalties{ [INFO] [stdout] 608 | | let who = r.receiver; [INFO] [stdout] 609 | | let much = r.amount; [INFO] [stdout] 610 | | } [INFO] [stdout] 611 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 606 | let _ = nfts.into_iter().map(|nft| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/ltg6.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | function_with_callback(return_cls()); // use .await to suspend the function execution for solving the future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Ankir` should have a snake case name [INFO] [stdout] --> src/ltg6.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn Ankir(name: impl InterfaceMe){ //// implementing the InterfaceMe trait for the passed in type means that we're bounding the passed... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ankir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionToPass` should have a snake case name [INFO] [stdout] --> src/ltg6.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | fn functionToPass() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `function_to_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `instanceFuckMe` should have a snake case name [INFO] [stdout] --> src/retbyref.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let instanceFuckMe = FuckMe{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `instance_fuck_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnOnce` that must be used [INFO] [stdout] --> src/ltg2.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | run::("src"); /* since ?Sized is implemeneted for the generic thus we can use str unless we have to use &str */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `FnOnce` that must be used [INFO] [stdout] --> src/ltg2.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | run::(Callback{}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runYours` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 626 | fn runYours() -> impl FnOnce(String) -> String{ //// return closure using -> impl Trait [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `run_yours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runOurs` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 632 | fn runOurs() -> Box String>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `run_ours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runYours_` should have a snake case name [INFO] [stdout] --> src/ltg2.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 640 | fn runYours_() -> &'static dyn FnOnce(String) -> String{ //// return closure using -> &dy Trait [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `run_yours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ltg3.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | data_sender.send(&&(fut as Func)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = data_sender.send(&&(fut as Func)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime `'Exectuor` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | struct VirtualMachine<'Exectuor, 'b, Runtime: Send + Sync + 'static, const SIZE: usize> [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `'exectuor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ltg4.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | self.sender.send(m).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 305 | let _ = self.sender.send(m).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clsMe` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let clsMe = |name: String| { //// we can also put the closure body inside a curly braces [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cls_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clsMe` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let clsMe = |name: String| Box::pin(async{ //// since the return type is a Pin> there is no need to put the Box::pin inside cu... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cls_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sayHelloAgain` should have a snake case name [INFO] [stdout] --> src/ltg4.rs:582:8 [INFO] [stdout] | [INFO] [stdout] 582 | fn sayHelloAgain(call: u8, callback: C) // C is the callback type which is a FnOnce trait [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `say_hello_again` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::iter::Map` that must be used [INFO] [stdout] --> src/ltg4.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | / nfts.into_iter().map(|nft| { [INFO] [stdout] 607 | | for r in nft.royalties{ [INFO] [stdout] 608 | | let who = r.receiver; [INFO] [stdout] 609 | | let much = r.amount; [INFO] [stdout] 610 | | } [INFO] [stdout] 611 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 606 | let _ = nfts.into_iter().map(|nft| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/ltg6.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | function_with_callback(return_cls()); // use .await to suspend the function execution for solving the future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Ankir` should have a snake case name [INFO] [stdout] --> src/ltg6.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn Ankir(name: impl InterfaceMe){ //// implementing the InterfaceMe trait for the passed in type means that we're bounding the passed... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ankir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functionToPass` should have a snake case name [INFO] [stdout] --> src/ltg6.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | fn functionToPass() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `function_to_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `instanceFuckMe` should have a snake case name [INFO] [stdout] --> src/retbyref.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let instanceFuckMe = FuckMe{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `instance_fuck_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 287 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 287 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4f5bdbb889d104cf5057681c9aef8be88f4245c8b574a95838f15f29b471fb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5bdbb889d104cf5057681c9aef8be88f4245c8b574a95838f15f29b471fb21", kill_on_drop: false }` [INFO] [stdout] 4f5bdbb889d104cf5057681c9aef8be88f4245c8b574a95838f15f29b471fb21