[INFO] cloning repository https://github.com/hjklchan/hjkl1-rsyew [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjklchan/hjkl1-rsyew" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rsyew", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rsyew'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d70e02252b8ef62ca00dd02bc43f8b516934d6f9 [INFO] building hjklchan/hjkl1-rsyew against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rsyew" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hjklchan/hjkl1-rsyew [INFO] finished tweaking git repo https://github.com/hjklchan/hjkl1-rsyew [INFO] tweaked toml for git repo https://github.com/hjklchan/hjkl1-rsyew written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hjklchan/hjkl1-rsyew on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hjklchan/hjkl1-rsyew 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a55addb213643b1d69c5fd204a6e09f346596dfc607f61863d02e1038746992 [INFO] running `Command { std: "docker" "start" "-a" "9a55addb213643b1d69c5fd204a6e09f346596dfc607f61863d02e1038746992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a55addb213643b1d69c5fd204a6e09f346596dfc607f61863d02e1038746992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a55addb213643b1d69c5fd204a6e09f346596dfc607f61863d02e1038746992", kill_on_drop: false }` [INFO] [stdout] 9a55addb213643b1d69c5fd204a6e09f346596dfc607f61863d02e1038746992 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40cc4b3988088f01bd61b946fc8b50809f3b11e5a6e1a2f4e11a2ac04acb18ad [INFO] running `Command { std: "docker" "start" "-a" "40cc4b3988088f01bd61b946fc8b50809f3b11e5a6e1a2f4e11a2ac04acb18ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.12.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling yew-macro v0.21.0 (https://github.com/yewstack/yew/#4da12635) [INFO] [stderr] Compiling yew-router-macro v0.18.0 (https://github.com/yewstack/yew/#4da12635) [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling implicit-clone v0.4.9 [INFO] [stderr] Compiling implicit-clone v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling stylist-core v0.13.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling web-sys v0.3.70 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.43 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling stylist-macros v0.13.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stderr] Compiling gloo-worker v0.5.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling gloo v0.11.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling yew v0.21.0 (https://github.com/yewstack/yew/#4da12635) [INFO] [stderr] Compiling yew-router v0.18.0 (https://github.com/yewstack/yew/#4da12635) [INFO] [stderr] Compiling stylist v0.13.0 [INFO] [stderr] Compiling hjkl1-yew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/pages/posts/create.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::IntoPropValue` [INFO] [stdout] --> src/pages/posts/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html::IntoPropValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/components/layouts/footer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_effect` [INFO] [stdout] --> src/components/layouts/footer.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{function_component, html, use_context, use_effect, use_state, Html}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/components/form/markdown_editor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/components/form/markdown_editor.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{wasm_bindgen::JsCast, HtmlInputElement, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_field` [INFO] [stdout] --> src/pages/posts/edit.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let title_field: UseStateHandle = use_state(Default::default); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_editor_input` [INFO] [stdout] --> src/pages/posts/edit.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let on_editor_input = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_editor_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/pages/posts/edit.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn edit_post(props: &EditPostProps) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalReply` is never constructed [INFO] [stdout] --> src/pages/posts/edit.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NormalReply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/index.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CategoryItem { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/detail.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/create.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/create.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ListReply { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub data: Vec, [INFO] [stdout] 30 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_size` and `total` are never read [INFO] [stdout] --> src/pages/posts/index.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PaginationData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 35 | pub items: Vec, [INFO] [stdout] 36 | pub page_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PaginationReply { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 44 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.51s [INFO] running `Command { std: "docker" "inspect" "40cc4b3988088f01bd61b946fc8b50809f3b11e5a6e1a2f4e11a2ac04acb18ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cc4b3988088f01bd61b946fc8b50809f3b11e5a6e1a2f4e11a2ac04acb18ad", kill_on_drop: false }` [INFO] [stdout] 40cc4b3988088f01bd61b946fc8b50809f3b11e5a6e1a2f4e11a2ac04acb18ad [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af71693f4002b76e4fce280788e9bb110dafec0458967d4ac0a8de1aa58cf22e [INFO] running `Command { std: "docker" "start" "-a" "af71693f4002b76e4fce280788e9bb110dafec0458967d4ac0a8de1aa58cf22e", kill_on_drop: false }` [INFO] [stderr] Compiling hjkl1-yew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/pages/posts/create.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::IntoPropValue` [INFO] [stdout] --> src/pages/posts/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html::IntoPropValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/components/layouts/footer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_effect` [INFO] [stdout] --> src/components/layouts/footer.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{function_component, html, use_context, use_effect, use_state, Html}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/components/form/markdown_editor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/components/form/markdown_editor.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{wasm_bindgen::JsCast, HtmlInputElement, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_field` [INFO] [stdout] --> src/pages/posts/edit.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let title_field: UseStateHandle = use_state(Default::default); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_editor_input` [INFO] [stdout] --> src/pages/posts/edit.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let on_editor_input = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_editor_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/pages/posts/edit.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn edit_post(props: &EditPostProps) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalReply` is never constructed [INFO] [stdout] --> src/pages/posts/edit.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NormalReply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/index.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CategoryItem { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/detail.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/create.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/create.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ListReply { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub data: Vec, [INFO] [stdout] 30 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_size` and `total` are never read [INFO] [stdout] --> src/pages/posts/index.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PaginationData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 35 | pub items: Vec, [INFO] [stdout] 36 | pub page_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PaginationReply { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 44 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/pages/posts/create.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::IntoPropValue` [INFO] [stdout] --> src/pages/posts/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html::IntoPropValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/components/layouts/footer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_effect` [INFO] [stdout] --> src/components/layouts/footer.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{function_component, html, use_context, use_effect, use_state, Html}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> src/components/form/markdown_editor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/components/form/markdown_editor.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::{wasm_bindgen::JsCast, HtmlInputElement, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_field` [INFO] [stdout] --> src/pages/posts/edit.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let title_field: UseStateHandle = use_state(Default::default); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_editor_input` [INFO] [stdout] --> src/pages/posts/edit.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let on_editor_input = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_editor_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/pages/posts/edit.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn edit_post(props: &EditPostProps) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/index.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CategoryItem { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/detail.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` 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 `NormalReply` is never constructed [INFO] [stdout] --> src/pages/posts/edit.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NormalReply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/row_form.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/create.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NormalReply { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/pages/posts/create.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Category { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ListReply { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub data: Vec, [INFO] [stdout] 30 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_size` and `total` are never read [INFO] [stdout] --> src/pages/posts/index.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PaginationData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 35 | pub items: Vec, [INFO] [stdout] 36 | pub page_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/pages/posts/index.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PaginationReply { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 44 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginationReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "af71693f4002b76e4fce280788e9bb110dafec0458967d4ac0a8de1aa58cf22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af71693f4002b76e4fce280788e9bb110dafec0458967d4ac0a8de1aa58cf22e", kill_on_drop: false }` [INFO] [stdout] af71693f4002b76e4fce280788e9bb110dafec0458967d4ac0a8de1aa58cf22e