[INFO] cloning repository https://github.com/kodmanyagha/tokio-tutor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodmanyagha/tokio-tutor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Ftokio-tutor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Ftokio-tutor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbc09e3f6a6a9891fd7cad6e886637b39239351e [INFO] checking kodmanyagha/tokio-tutor against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Ftokio-tutor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kodmanyagha/tokio-tutor on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kodmanyagha/tokio-tutor [INFO] finished tweaking git repo https://github.com/kodmanyagha/tokio-tutor [INFO] tweaked toml for git repo https://github.com/kodmanyagha/tokio-tutor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kodmanyagha/tokio-tutor 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded pest_generator v2.7.11 [INFO] [stderr] Downloaded liquid v0.26.8 [INFO] [stderr] Downloaded pest_meta v2.7.11 [INFO] [stderr] Downloaded clap v4.5.11 [INFO] [stderr] Downloaded pest v2.7.11 [INFO] [stderr] Downloaded clap_derive v4.5.11 [INFO] [stderr] Downloaded clap_builder v4.5.11 [INFO] [stderr] Downloaded kstring v2.0.2 [INFO] [stderr] Downloaded reqwest_cookie_store v0.6.0 [INFO] [stderr] Downloaded bellman v0.14.0 [INFO] [stderr] Downloaded pest_derive v2.7.11 [INFO] [stderr] Downloaded tokio-websockets v0.8.3 [INFO] [stderr] Downloaded liquid-core v0.26.8 [INFO] [stderr] Downloaded liquid-lib v0.26.8 [INFO] [stderr] Downloaded httpc-test v0.1.9 [INFO] [stderr] Downloaded liquid-derive v0.26.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 478bef7c141b1bb28280aa2dcb57205a38c3f8b55afbfcd325f0db0749f95932 [INFO] running `Command { std: "docker" "start" "-a" "478bef7c141b1bb28280aa2dcb57205a38c3f8b55afbfcd325f0db0749f95932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "478bef7c141b1bb28280aa2dcb57205a38c3f8b55afbfcd325f0db0749f95932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478bef7c141b1bb28280aa2dcb57205a38c3f8b55afbfcd325f0db0749f95932", kill_on_drop: false }` [INFO] [stdout] 478bef7c141b1bb28280aa2dcb57205a38c3f8b55afbfcd325f0db0749f95932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 963af562e0837853495ea576b9d5bf0343123c97539547addc808532ad9b6c4c [INFO] running `Command { std: "docker" "start" "-a" "963af562e0837853495ea576b9d5bf0343123c97539547addc808532ad9b6c4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling liquid-derive v0.26.7 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Checking ppv-lite86 v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking tokio-websockets v0.8.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking kstring v2.0.2 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking bellman v0.14.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking liquid-core v0.26.8 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Checking liquid-lib v0.26.8 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking liquid v0.26.8 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tokio-tutor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking reqwest_cookie_store v0.6.0 [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bin/howtocodeit/create_user.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/bin/howtocodeit/thread_example.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | sync::{mpsc, Arc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/bin/enc/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, path::PathBuf, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/bin/enc/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use mini_redis::{client, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `anyhow` and `bail` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `client` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use mini_redis::{client, Buffer}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_client::redis_client` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis_client::redis_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/howtocodeit/thread_example.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let x = String::from("test"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bin/railway_example/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doubled` [INFO] [stdout] --> src/bin/howtocodeit/trait_example.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let doubled: Vec<_> = nums.iter().map(|n| n * 2).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doubled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doubled` [INFO] [stdout] --> src/bin/howtocodeit/trait_example.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let doubled = nums.iter().map(|n| n * 2).collect::>(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doubled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `email`, and `password` are never read [INFO] [stdout] --> src/bin/howtocodeit/create_user.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 102 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | username: Username, [INFO] [stdout] 104 | email: EmailAddress, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | password: Password, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/howtocodeit/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | run_trait_example(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = run_trait_example(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_two_numbers` is never used [INFO] [stdout] --> src/bin/railway_example/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calculate_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/enc/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let x = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::MySqlPoolOptions` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{mysql::MySqlPoolOptions, prelude::FromRow}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlColumn` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::mysql::MySqlColumn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlTypeInfo` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::mysql::MySqlTypeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::time::Date` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sqlx::types::time::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Type` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sqlx::Type; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::ValueRef` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlx::ValueRef; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `MySqlPool`, `MySql`, and `Pool` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Error, MySql, MySqlPool, Pool, Row}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::macros::format_description` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use time::macros::format_description; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref3` [INFO] [stdout] --> src/bin/lifetime_example/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let ref3 = lifetime_1(ref1, ref2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/bin/lifetime_example/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct S<'long: 'short, 'short> { [INFO] [stdout] | - field in this struct [INFO] [stdout] 7 | a: &'long str, [INFO] [stdout] 8 | b: &'short str, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attempt_1` is never used [INFO] [stdout] --> src/bin/lifetime_example/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn attempt_1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lifetime_1` is never used [INFO] [stdout] --> src/bin/lifetime_example/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn lifetime_1<'a>(ref1: &'a String, ref2: &'a String) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `walk` and `look` are never used [INFO] [stdout] --> src/bin/enc/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait AnimalMovement { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 30 | fn run(&self); [INFO] [stdout] 31 | fn walk(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | fn talk(&self); [INFO] [stdout] 33 | fn look(&self, x: f32, y: f32, z: f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/axum_todo/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let x = liquid::partials::InMemorySource::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let matches = command!() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let x = single_result.columns(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let id: String = single_result.get(0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|(index, row)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lion` is never constructed [INFO] [stdout] --> src/bin/copy_clone/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Lion; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lion` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking httpc-test v0.1.9 [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/bin/thread_tutor/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | struct User<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 11 | pub id: u64, [INFO] [stdout] 12 | pub username: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_client` is never used [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn redis_client() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_page` is never used [INFO] [stdout] --> src/bin/axum_todo/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn main_page() -> Html { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bin/railway_example/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::MySqlPoolOptions` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{mysql::MySqlPoolOptions, prelude::FromRow}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlColumn` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::mysql::MySqlColumn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlTypeInfo` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::mysql::MySqlTypeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::time::Date` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sqlx::types::time::Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Type` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sqlx::Type; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::ValueRef` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlx::ValueRef; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `MySqlPool`, `MySql`, and `Pool` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Error, MySql, MySqlPool, Pool, Row}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::macros::format_description` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use time::macros::format_description; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buffer` [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use mini_redis::{client, Buffer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `anyhow` and `bail` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, bail}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `client` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use mini_redis::{client, Buffer}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_two_numbers` is never used [INFO] [stdout] --> src/bin/railway_example/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calculate_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_client::redis_client` [INFO] [stdout] --> src/bin/tokio_tutor/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis_client::redis_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let matches = command!() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let x = single_result.columns(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let id: String = single_result.get(0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/bin/sqlx_tutor/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|(index, row)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/bin/enc/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, path::PathBuf, slice}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/bin/enc/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref3` [INFO] [stdout] --> src/bin/lifetime_example/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let ref3 = lifetime_1(ref1, ref2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ref3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/bin/lifetime_example/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct S<'long: 'short, 'short> { [INFO] [stdout] | - field in this struct [INFO] [stdout] 7 | a: &'long str, [INFO] [stdout] 8 | b: &'short str, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attempt_1` is never used [INFO] [stdout] --> src/bin/lifetime_example/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn attempt_1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lifetime_1` is never used [INFO] [stdout] --> src/bin/lifetime_example/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn lifetime_1<'a>(ref1: &'a String, ref2: &'a String) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lion` is never constructed [INFO] [stdout] --> src/bin/copy_clone/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Lion; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lion` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/enc/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let x = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_client` is never used [INFO] [stdout] --> src/bin/tokio_tutor/redis_client.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn redis_client() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `walk` and `look` are never used [INFO] [stdout] --> src/bin/enc/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait AnimalMovement { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 30 | fn run(&self); [INFO] [stdout] 31 | fn walk(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | fn talk(&self); [INFO] [stdout] 33 | fn look(&self, x: f32, y: f32, z: f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bin/howtocodeit/create_user.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/bin/howtocodeit/thread_example.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | sync::{mpsc, Arc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/axum_todo/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let x = liquid::partials::InMemorySource::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/bin/thread_tutor/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | struct User<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 11 | pub id: u64, [INFO] [stdout] 12 | pub username: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_page` is never used [INFO] [stdout] --> src/bin/axum_todo/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn main_page() -> Html { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/howtocodeit/thread_example.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let x = String::from("test"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doubled` [INFO] [stdout] --> src/bin/howtocodeit/trait_example.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let doubled: Vec<_> = nums.iter().map(|n| n * 2).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doubled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doubled` [INFO] [stdout] --> src/bin/howtocodeit/trait_example.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let doubled = nums.iter().map(|n| n * 2).collect::>(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doubled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `email`, and `password` are never read [INFO] [stdout] --> src/bin/howtocodeit/create_user.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 102 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | username: Username, [INFO] [stdout] 104 | email: EmailAddress, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | password: Password, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/howtocodeit/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | run_trait_example(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = run_trait_example(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "963af562e0837853495ea576b9d5bf0343123c97539547addc808532ad9b6c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963af562e0837853495ea576b9d5bf0343123c97539547addc808532ad9b6c4c", kill_on_drop: false }` [INFO] [stdout] 963af562e0837853495ea576b9d5bf0343123c97539547addc808532ad9b6c4c