[INFO] cloning repository https://github.com/vivlim/vivcms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivlim/vivcms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a29bf8bb18ebfc46a12b21df1e663df9337be886 [INFO] checking vivlim/vivcms against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vivlim/vivcms on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivlim/vivcms [INFO] finished tweaking git repo https://github.com/vivlim/vivcms [INFO] tweaked toml for git repo https://github.com/vivlim/vivcms written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vivlim/vivcms 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sauron-node-macro v0.40.0 [INFO] [stderr] Downloaded spongedown v0.4.2 [INFO] [stderr] Downloaded sauron-parse v0.40.0 [INFO] [stderr] Downloaded file v1.1.2 [INFO] [stderr] Downloaded syn-rsx v0.8.0 [INFO] [stderr] Downloaded mt-dom v0.10.0 [INFO] [stderr] Downloaded sauron-core v0.40.0 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] [stderr] Downloaded comrak v0.7.0 [INFO] [stderr] Downloaded sauron v0.40.0 [INFO] [stderr] Downloaded svgbob v0.5.5 [INFO] [stderr] Downloaded parry2d v0.6.0 [INFO] [stderr] Downloaded nalgebra v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e478d2e39d23f674aae9ad05b65c70542a85a6f8e6c9b54977cfffad8bb1b649 [INFO] running `Command { std: "docker" "start" "-a" "e478d2e39d23f674aae9ad05b65c70542a85a6f8e6c9b54977cfffad8bb1b649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e478d2e39d23f674aae9ad05b65c70542a85a6f8e6c9b54977cfffad8bb1b649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e478d2e39d23f674aae9ad05b65c70542a85a6f8e6c9b54977cfffad8bb1b649", kill_on_drop: false }` [INFO] [stdout] e478d2e39d23f674aae9ad05b65c70542a85a6f8e6c9b54977cfffad8bb1b649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c86bc527966f47972fc2af30556f8ebe6689bb3bd2efb9beef68d6e6792a8b31 [INFO] running `Command { std: "docker" "start" "-a" "c86bc527966f47972fc2af30556f8ebe6689bb3bd2efb9beef68d6e6792a8b31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling mt-dom v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling syn-rsx v0.8.0 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking nalgebra v0.28.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking sauron-core v0.40.0 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking plist v1.2.1 [INFO] [stderr] Checking sauron-parse v0.40.0 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling sauron-node-macro v0.40.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking sauron v0.40.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking comrak v0.7.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Checking parry2d v0.6.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking file v1.1.2 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking url_path v0.1.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking askama v0.10.5 [INFO] [stderr] Checking svgbob v0.5.5 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking spongedown v0.4.2 [INFO] [stderr] Checking vivzone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> 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: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> 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: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nalgebra v0.28.0, nom v6.2.1, ubyte v0.10.1, wasm-bindgen v0.2.78, xml5ever v0.16.1 [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" "c86bc527966f47972fc2af30556f8ebe6689bb3bd2efb9beef68d6e6792a8b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86bc527966f47972fc2af30556f8ebe6689bb3bd2efb9beef68d6e6792a8b31", kill_on_drop: false }` [INFO] [stdout] c86bc527966f47972fc2af30556f8ebe6689bb3bd2efb9beef68d6e6792a8b31 [INFO] checking vivlim/vivcms against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vivlim/vivcms on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivlim/vivcms [INFO] finished tweaking git repo https://github.com/vivlim/vivcms [INFO] tweaked toml for git repo https://github.com/vivlim/vivcms written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vivlim/vivcms 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a58d6ad71b36215f9bc07666d63b8ab9c48cfd4684229672f80c83fafff76a77 [INFO] running `Command { std: "docker" "start" "-a" "a58d6ad71b36215f9bc07666d63b8ab9c48cfd4684229672f80c83fafff76a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a58d6ad71b36215f9bc07666d63b8ab9c48cfd4684229672f80c83fafff76a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a58d6ad71b36215f9bc07666d63b8ab9c48cfd4684229672f80c83fafff76a77", kill_on_drop: false }` [INFO] [stdout] a58d6ad71b36215f9bc07666d63b8ab9c48cfd4684229672f80c83fafff76a77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a43ec445c0be0eb74d23111de087b7634f6c3a16e143384311b976fc327b77 [INFO] running `Command { std: "docker" "start" "-a" "44a43ec445c0be0eb74d23111de087b7634f6c3a16e143384311b976fc327b77", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling mt-dom v0.10.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling syn-rsx v0.8.0 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling xml5ever v0.16.1 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Checking nalgebra v0.28.0 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Checking plist v1.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking sauron-core v0.40.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking sauron-parse v0.40.0 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Compiling sauron-node-macro v0.40.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking comrak v0.7.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Checking parry2d v0.6.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking sauron v0.40.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking url_path v0.1.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking file v1.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking askama v0.10.5 [INFO] [stderr] Checking svgbob v0.5.5 [INFO] [stderr] Checking spongedown v0.4.2 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking vivzone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> 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: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> 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: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn respond_to(self, _: &'r Request<'_>) -> response::Result<'static> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let error_msg: String = format!("Error: {:?}", self).into(); [INFO] [stdout] 62 | Response::build() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 60 | fn respond_to(self, _: &'r Request<'_>) -> response::Result<'static> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | .header(ContentType::Plain) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | pub body: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 155 | let conn = establish_connection(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | match crud::posts::get_post_by_id(&conn, post_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub username: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub password: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn respond_to(self, _: &'r Request<'_>) -> response::Result<'static> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let error_msg: String = format!("Error: {:?}", self).into(); [INFO] [stdout] 62 | Response::build() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 60 | fn respond_to(self, _: &'r Request<'_>) -> response::Result<'static> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | .header(ContentType::Plain) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | pub body: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 155 | let conn = establish_connection(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | match crud::posts::get_post_by_id(&conn, post_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub username: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub password: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub details: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub id: Option [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/post_editor.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/post_editor.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | body: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub details: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/admin/boards.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub id: Option [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/post_editor.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | title: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pages/post_editor.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | body: String, [INFO] [stdout] | ^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vivzone` (bin "vivzone") due to 13 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vivzone` (bin "vivzone" test) due to 13 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44a43ec445c0be0eb74d23111de087b7634f6c3a16e143384311b976fc327b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a43ec445c0be0eb74d23111de087b7634f6c3a16e143384311b976fc327b77", kill_on_drop: false }` [INFO] [stdout] 44a43ec445c0be0eb74d23111de087b7634f6c3a16e143384311b976fc327b77